forked from tforgione/md2pdf
Indentation
This commit is contained in:
parent
4da5713689
commit
9955be2107
46
src/main.rs
46
src/main.rs
|
@ -23,29 +23,29 @@ fn main() {
|
|||
tex_output.push_str("\\definecolor{colBackground}{rgb}{0.95,0.95,1}\n");
|
||||
tex_output.push_str("\\lstset{%configuration de listings\n");
|
||||
tex_output.push_str(" float=hbp,%\n");
|
||||
tex_output.push_str(" basicstyle=\\ttfamily\\small,%\n");
|
||||
tex_output.push_str(" %\n");
|
||||
tex_output.push_str(" identifierstyle=\\color{colIdentifier}, %\n");
|
||||
tex_output.push_str(" keywordstyle=\\color{colKeys}, %\n");
|
||||
tex_output.push_str(" stringstyle=\\color{colString}, %\n");
|
||||
tex_output.push_str(" commentstyle=\\color{colComments}\textit, %\n");
|
||||
tex_output.push_str(" %\n");
|
||||
tex_output.push_str(" backgroundcolor=\\color{colBackground},%\n");
|
||||
tex_output.push_str(" %\n");
|
||||
tex_output.push_str(" columns=flexible, %\n");
|
||||
tex_output.push_str(" tabsize=2, %\n");
|
||||
tex_output.push_str(" frame=trbl, %\n");
|
||||
tex_output.push_str(" %frameround=tttt,%\n");
|
||||
tex_output.push_str(" extendedchars=true, %\n");
|
||||
tex_output.push_str(" showspaces=false, %\n");
|
||||
tex_output.push_str(" showstringspaces=false, %\n");
|
||||
tex_output.push_str(" numbers=left, %\n");
|
||||
tex_output.push_str(" numberstyle=\\tiny, %\n");
|
||||
tex_output.push_str(" breaklines=true, %\n");
|
||||
tex_output.push_str(" breakautoindent=true, %\n");
|
||||
tex_output.push_str(" captionpos=b,%\n");
|
||||
tex_output.push_str(" xrightmargin=0.2cm, %\n");
|
||||
tex_output.push_str(" xleftmargin=0.2cm\n");
|
||||
tex_output.push_str(" basicstyle=\\ttfamily\\small,%\n");
|
||||
tex_output.push_str(" %\n");
|
||||
tex_output.push_str(" identifierstyle=\\color{colIdentifier}, %\n");
|
||||
tex_output.push_str(" keywordstyle=\\color{colKeys}, %\n");
|
||||
tex_output.push_str(" stringstyle=\\color{colString}, %\n");
|
||||
tex_output.push_str(" commentstyle=\\color{colComments}\textit, %\n");
|
||||
tex_output.push_str(" %\n");
|
||||
tex_output.push_str(" backgroundcolor=\\color{colBackground},%\n");
|
||||
tex_output.push_str(" %\n");
|
||||
tex_output.push_str(" columns=flexible, %\n");
|
||||
tex_output.push_str(" tabsize=2, %\n");
|
||||
tex_output.push_str(" frame=trbl, %\n");
|
||||
tex_output.push_str(" %frameround=tttt,%\n");
|
||||
tex_output.push_str(" extendedchars=true, %\n");
|
||||
tex_output.push_str(" showspaces=false, %\n");
|
||||
tex_output.push_str(" showstringspaces=false, %\n");
|
||||
tex_output.push_str(" numbers=left, %\n");
|
||||
tex_output.push_str(" numberstyle=\\tiny, %\n");
|
||||
tex_output.push_str(" breaklines=true, %\n");
|
||||
tex_output.push_str(" breakautoindent=true, %\n");
|
||||
tex_output.push_str(" captionpos=b,%\n");
|
||||
tex_output.push_str(" xrightmargin=0.2cm, %\n");
|
||||
tex_output.push_str(" xleftmargin=0.2cm\n");
|
||||
tex_output.push_str("}\n");
|
||||
tex_output.push_str("\\begin{document}\n");
|
||||
|
||||
|
|
Loading…
Reference in New Issue