diff --git a/tex/style.tex b/tex/style.tex index 970f73f..ddd62fb 100644 --- a/tex/style.tex +++ b/tex/style.tex @@ -45,7 +45,7 @@ \newcommand{\scproperty}[1]{\textcolor{code_property}{#1}} % color code string. \newcommand{\sckeyword} [1]{\textcolor{code_keyword}{#1}} % color code string. \newcommand{\sccomment} [1]{\textcolor{code_comment}{#1}} % color code string. -\newenvironment{scode}{\begin{scodebox}\catcode32=12}{\end{scodebox}} % code block. +\newenvironment{scode}{\begin{scodebox}\catcode32=12\obeylines}{\end{scodebox}} % code block. % settings. \linespread{1.5} % height between non-breaking lines.