more scripts
This commit is contained in:
24
listings-setup.tex
Normal file
24
listings-setup.tex
Normal file
@@ -0,0 +1,24 @@
|
||||
\usepackage{xpatch,realboxes}
|
||||
\usepackage{xcolor}
|
||||
\definecolor{Light}{HTML}{F4F4F4}
|
||||
|
||||
\lstset{
|
||||
basicstyle=\ttfamily,
|
||||
extendedchars=true
|
||||
numbers=left,
|
||||
numberstyle=\tiny\ttfamily,
|
||||
backgroundcolor=\color[RGB]{248,197,196},
|
||||
showstringspaces=false,
|
||||
tabsize=2,
|
||||
columns=fixed,
|
||||
frame=trbl,
|
||||
frameround=tttt,
|
||||
framesep=7pt,
|
||||
breaklines=true, postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{red}\hookrightarrow\space}}
|
||||
}
|
||||
|
||||
|
||||
\makeatletter
|
||||
\xpretocmd\lstinline{\Colorbox{Light}\bgroup\appto\lst@DeInit{\egroup}}{}{}
|
||||
\makeatother
|
||||
|
Reference in New Issue
Block a user