Skip to content

Commit

Permalink
[latex] Prevent line breaks within syntactic units in code
Browse files Browse the repository at this point in the history
  • Loading branch information
cpitclaudel authored and Casteran committed Sep 20, 2021
1 parent 022e7cb commit bf2af82
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/hydras.tex
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
\usepackage{movies/snippets/assets/alectryon}
\usepackage{movies/snippets/assets/pygments}

% Prevent breaks in the middle of syntactic units
\let\OldPY\PY
\def\PY#1#2{\OldPY{#1}{\mbox{#2}}}

\setcounter{tocdepth}{1}
\input{coqmacros}

Expand Down

0 comments on commit bf2af82

Please sign in to comment.