You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install some \nopagebreak commands such that langsci-gb4e handles page breaking in a smart way, i.e. does not break after the first line of a (sub-)example env.
The text was updated successfully, but these errors were encountered:
It is actually pretty easy to do this using the newline command that prevents page breaks, or \\*.
Observe how the following leads to a page break:
\documentclass{article}
\usepackage{langsci-gb4e}
\usepackage{kantlipsum}
\begin{document}
\kant[7-9]
\ea Kantian Philosophese\\\gll As is evident upon close examination\\
As is evident upon close examination\\\glt `As is evident upon close examination'
\z\end{document}
But using \\* in the \ea line prevents that:
\documentclass{article}
\usepackage{langsci-gb4e}
\usepackage{kantlipsum}
\begin{document}
\kant[7-9]
\ea Kantian Philosophese\\*
\gll As is evident upon close examination\\
As is evident upon close examination\\\glt `As is evident upon close examination'
\z\end{document}
Install some
\nopagebreak
commands such that langsci-gb4e handles page breaking in a smart way, i.e. does not break after the first line of a (sub-)example env.The text was updated successfully, but these errors were encountered: