![](https://secure.gravatar.com/avatar/114f07f31e228d83eece631b0937df73.jpg?s=120&d=mm&r=g)
7 Apr
2017
7 Apr
'17
11:15 a.m.
Hello list, I need the lua equivalent of \fontstyle, a function that returns a string like "rm", "ss", etc. A lua equivalent for \doifelse{\fontstyle}{ss}{...}{...} to write lua code like this: local fs = get_current_font_style() if fs == "ss" then ... else ... end Thanks, best greetings MF