File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 12
12
13
13
\NeedsTeXFormat {LaTeX2e}
14
14
\RequirePackage {expl3}
15
- \ProvidesExplPackage {codehigh}{2025-02-15}{2025B }
15
+ \ProvidesExplPackage {codehigh}{2025-02-21}{2025C }
16
16
{Highlight codes and demos with l3regex and lpeg}
17
17
18
18
% \RequirePackage{xparse}
Original file line number Diff line number Diff line change 2
2
\documentclass [oneside ]{book }
3
3
\usepackage [a4paper,margin=2cm ]{geometry }
4
4
5
- \newcommand *{\myversion }{2025B }
5
+ \newcommand *{\myversion }{2025C }
6
6
\newcommand *{\mydate }{Version \myversion \ (\the\year -\mylpad\month -\mylpad\day )}
7
7
\newcommand *{\mylpad }[1]{\ifnum #1<10 0\the #1\else \the #1\fi }
8
8
@@ -117,6 +117,8 @@ \subsection*{Suction Name}
117
117
\end {tabular }
118
118
\end {codehigh }
119
119
120
+ There is also a \texttt {codehigh* } environment which shows each space character as \textvisiblespace {} in the code.
121
+
120
122
\section {Highlighting Demo }
121
123
122
124
The followings are typeset by \verb !demohigh ! environment with option \verb !language=latex/table !.
@@ -143,6 +145,8 @@ \section{Highlighting Demo}
143
145
Note that \verb !demohigh ! environment will measure the width of source lines.
144
146
When it is too large, the result will be put below.
145
147
148
+ There is also a \texttt {demohigh* } environment which shows each space character as \textvisiblespace {} in the code.
149
+
146
150
\section {Highlighting File }
147
151
148
152
Using \verb !\dochighinput ! command, you can input and highlight some file.
You can’t perform that action at this time.
0 commit comments