dragonfly-science / dragonfly-latex-templates

Dragonfly Latex Templates
MIT License
1 stars 0 forks source link

Trouble with nobreakspace in some contexts #34

Open finlay opened 6 years ago

finlay commented 6 years ago

This is a weird one, because I can't recreate the exact context when it happens.

In any case, a fix is to add this line to your preamble:

\DeclareTextCommandDefault{\nobreakspace}{\leavevmode\nobreak\ }

My guess is that this should go into the dragonfly-latex-template too, but I don't really understand why.

finlay commented 6 years ago

https://tex.stackexchange.com/questions/66949/command-nobreakspace-unavailable-when-switching-to-t1-encoding-under-xelatex