European Union food labeling legislation (European Regulation No. 1169/2011) defines not only what information to display on a label, but also how to present that specific information. The regulation goes into detail about font size, but leaves the exact way to indicate allergens up to the user. The allergens should all clearly distinguishable be different from the rest of the ingredients, for example, by printing their names in bold, capital letters or a different color so that they stand out.

The NiceLabel software by default supports the formatting of allergens using custom functions. These are predefined functions that allow you to mark the allergens in the ingredient list. To mark them you can use bold, italic, underlined, capital letters or a combination of them. The result of the function is RTF-formatted data that you can use with the Rich Text Box object.

It sometimes happens that an allergenic word appears in a particular ingredient that does not fall under the category of allergen. In that case, you may find in NiceLabel Use the "WithExceptions" functions. These functions accept another input parameter, a list of exceptions. In other words, these are words or phrases that should not be formatted, even if they contain the allergen word.
For example: if you define the word "milk" as an allergen, it will also be marked in the ingredient "coconut milk," which is incorrect. You can define "coconut milk" as an exception, making NiceLabel Designer will not mark the word "milk" when used in the combination "coconut milk."