latextemplates / LNCS

Improved Lecture Notes in Computer Science (LNCS) template
https://latextemplates.github.io/LNCS/
BSD Zero Clause License
260 stars 63 forks source link

Loosing italics in math mode for LuaLaTeX #24

Closed TimSoethout closed 4 years ago

TimSoethout commented 4 years ago

Thanks for you effects with this tex.

I seem to be loosing italics in my math formula's when using lualatex. When commenting out \usepackage{fontspec} they return, but I can't use the sharper fonts then.

Is this a know issue? Or some other clashing if packages?

TimSoethout commented 4 years ago

It seems to be something else. It also occurs when excluding your code. Will dig deeper. Sorry for blaming your packages.

TimSoethout commented 4 years ago

It seems to be that I do need fontenc and/or inputenc for italics in math mode in lualatex.

\usepackage[T1]{fontenc}

\usepackage[utf8]{inputenc} 
TimSoethout commented 4 years ago

Hmm although it also seems to remove small caps and other formatting when enabled. argh