mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
Break lines in code Latex output
This commit is contained in:
parent
f9768c1813
commit
7971cb7651
@ -220,7 +220,7 @@ let code_block ~meta lang fmt (code, pos) =
|
||||
Re.replace_string env_rex ~by:"" output
|
||||
in
|
||||
Format.fprintf fmt
|
||||
{latex|\begin{Verbatim}[commandchars=\\\{\},numbers=left,firstnumber=%d,stepnumber=1,label={\hspace*{\fill}\texttt{%s}}%s]|latex}
|
||||
{latex|\begin{Verbatim}[commandchars=\\\{\},numbers=left,firstnumber=%d,stepnumber=1,breaklines=true,label={\hspace*{\fill}\texttt{%s}}%s]|latex}
|
||||
(Pos.get_start_line pos + 1)
|
||||
(pre_latexify (Filename.basename (Pos.get_file pos)))
|
||||
(if meta then ",numbersep=9mm" else "");
|
||||
|
Loading…
Reference in New Issue
Block a user