> On 06.10.16, at 10:32, Otared Kavian wrote: > > Hi, > > Maybe you should use rather > > $\underbar{F_C=\unit{1e2 newton}}$ or \underbar{\unit{1e2 newton}} > > since otherwise \underbar considers each character in the math formula as a word, which should be underlined separately. > > Best regards: OK > > >> On 5 Oct 2016, at 22:01, Florian Leupold wrote: >> >> Dear list, >> >> underbar behaves weirdly when it comes to indexes, exponents, and units: >> >> \starttext >> \underbar{$F_C=\unit{1e2 newton}$} or \underbar{\unit{1e2 newton}} >> \stoptext >> >> Am I doing something wrong? Is there maybe a setting to correct for this? >> >> Thanks, >> Florian >> ___________________________________________________________________________________ >> If your question is of interest to others as well, please add an entry to the Wiki! >> >> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context >> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net >> archive : http://foundry.supelec.fr/projects/contextrev/ >> wiki : http://contextgarden.net >> ___________________________________________________________________________________ > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ I see. Thanks for the hint! But is there a way to mix text and math mode in the argument for \underbar? I would like to create my own macro where I would pass a single argument with text and/or math expressions, and all of that should be underlined...