Re: [Qgis-user] Labeling with subscript

2023-01-06 Thread Andrew Harfoot via QGIS-User
Hi Christian, If the subscript data is just numbers you can have a look at this post: https://gis.stackexchange.com/questions/181287/achieving-super-or-subscript-graticule-labels-in-qgis-composer-windows As this is a custom expression function it is applicable to labels as well. Cheers, Andy

Re: [Qgis-user] Labeling with subscript

2023-01-05 Thread Andreas Neumann via QGIS-User
Very nice! Andreas On 2023-01-05 16:51, Andrea Giudiceandrea via QGIS-User wrote: Bodamer, Christian _Thu Jan 5 05:32:24 PST 2023_ - I like to label with two columns. The secound column sholud be subscript. Hi Christian, AFAIK the super and subscript support for

Re: [Qgis-user] Labeling with subscript

2023-01-05 Thread Andrea Giudiceandrea via QGIS-User
*Bodamer, Christian* /Thu Jan 5 05:32:24 PST 2023/ I like to label with two columns. The secound column sholud be subscript. Hi Christian, AFAIK the super and subscript support for text renderer has been already added to

Re: [Qgis-user] Labeling with subscript

2023-01-05 Thread Andreas Neumann via QGIS-User
Hi Christian, You probably don't do anything wrong. It is just not supported (yet). Here is the subset of HTML that should work: * font-color (https://www.qgis.org/en/site/forusers/visualchangelog314/index.html#feature-respect-html-colors-in-labels) * font-familiy

[Qgis-user] Labeling with subscript

2023-01-05 Thread Bodamer, Christian via QGIS-User
Hello list, wish you a happy NEW YEAR! I like to label with two columns. The secound column sholud be subscript. I activate HTML Formating and use the following code in the Value field: format( '%1 Sub%2', "column1" , "column2" ) The text of column2 is displayed but not subscript.