[NTG-context] What's the difference between \dontleavehmode and \leavevmode?

Wolfgang Schuster schuster.wolfgang at gmail.com
Thu Aug 18 17:50:16 CEST 2016


> Henri Menke <mailto:henrimenke at gmail.com>
> 18. August 2016 um 17:23
> Dear list,
>
> could someone please explain what is the difference between 
> \dontleavehmode and \leavevmode?
>
> Internally, I also stumbled upon \quitvmode. Is this a synonym for 
> \leavevmode? It seems to be primitive.
No, \quitvmode is a LuaTeX primitive which adds the \dontleavehmode 
function to the core and \dontleavehmode is now a synonym for \quitvmode.

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160818/840d4d0d/attachment.html>


More information about the ntg-context mailing list