I want to create a label expression with two lines of text, this should be simple but I'm having a lot of trouble. Basically, I need the top line to be 10 pt font, and the next line to be 8pt font that is italicized.
This is what I have:
def FindLabel ( [LABEL1], [LABEL2] ): return "<FNT size = '10'>" + [LABEL1] + "</FNT>" + "\n" + "<FNT size = '8'><ITA>" + [LABEL2] + "</FNT><ITA>"
This is interpreting the formatting as a string, so it's just spitting out exactly what I put in.
The piece of code below will work fine, but as soon as I add the new line everything is messed up.
"<FNT size = '10'>" + [LABEL1] + "</FNT>"
I would like to do this using Python.