Skip to content
Snippets Groups Projects
Commit 27d89343 authored by mirabilos's avatar mirabilos
Browse files

[verein.git] partial sync with new features from VerA.web documentation:

• fix the ‘0’ shape for \texttt{}, too
• allow escaping from lstlistings
parent a74f88e9
No related branches found
No related tags found
No related merge requests found
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
%- %-
% Copyright © 2013, 2015 % Copyright © 2013, 2015
% Dominik George <dominik.george@teckids.org> % Dominik George <dominik.george@teckids.org>
%
% Copyright © 2014, 2015 % Copyright © 2014, 2015
% Thorsten “mirabilos” Glaser <thorsten.glaser@teckids.org> % Thorsten “mirabilos” Glaser <thorsten.glaser@teckids.org>
%
% Copyright © 2015 % Copyright © 2015
% Niklas Bildhauer <niklas.bildhauer@teckids.org> % Niklas Bildhauer <niklas.bildhauer@teckids.org>
% with contributions by (among others)
% Steven B. Segletes <http://tex.stackexchange.com/users/25858>
% %
% Provided that these terms and disclaimer and all copyright notices % Provided that these terms and disclaimer and all copyright notices
% are retained or reproduced in an accompanying document, permission % are retained or reproduced in an accompanying document, permission
...@@ -50,6 +50,14 @@ ...@@ -50,6 +50,14 @@
\renewcommand{\familydefault}{\sfdefault} \renewcommand{\familydefault}{\sfdefault}
\newcommand\0{\scalebox{-1}[1]{0}} \newcommand\0{\scalebox{-1}[1]{0}}
\let\svttfamily\ttfamily
\let\svtexttt\texttt
\catcode`0=\active
\def0{\0}
\renewcommand\ttfamily{\svttfamily\catcode`0=\active }
\renewcommand\texttt{\bgroup\ttfamily\texttthelp}
\def\texttthelp#1{#1\egroup}
\catcode`0=12
\DeclareGraphicsExtensions{.pdf,.eps,.png,.jpg} \DeclareGraphicsExtensions{.pdf,.eps,.png,.jpg}
...@@ -311,6 +319,7 @@ ...@@ -311,6 +319,7 @@
commentstyle=\color[rgb]{0.133,0.545,0.133}, commentstyle=\color[rgb]{0.133,0.545,0.133},
stringstyle=\color[rgb]{0.627,0.126,0.941}, stringstyle=\color[rgb]{0.627,0.126,0.941},
literate={0}{\0}1{0\ }{\0\ }2, literate={0}{\0}1{0\ }{\0\ }2,
escapeinside={}{},
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment