Skip to content

Commit e0dfe98

Browse files
committed
version 2025C
1 parent 1740b6a commit e0dfe98

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

codehigh.sty

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
\NeedsTeXFormat{LaTeX2e}
1414
\RequirePackage{expl3}
15-
\ProvidesExplPackage{codehigh}{2025-02-15}{2025B}
15+
\ProvidesExplPackage{codehigh}{2025-02-21}{2025C}
1616
{Highlight codes and demos with l3regex and lpeg}
1717

1818
%\RequirePackage{xparse}

codehigh.tex

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
\documentclass[oneside]{book}
33
\usepackage[a4paper,margin=2cm]{geometry}
44

5-
\newcommand*{\myversion}{2025B}
5+
\newcommand*{\myversion}{2025C}
66
\newcommand*{\mydate}{Version \myversion\ (\the\year-\mylpad\month-\mylpad\day)}
77
\newcommand*{\mylpad}[1]{\ifnum#1<10 0\the#1\else\the#1\fi}
88

@@ -117,6 +117,8 @@ \subsection*{Suction Name}
117117
\end{tabular}
118118
\end{codehigh}
119119

120+
There is also a \texttt{codehigh*} environment which shows each space character as \textvisiblespace{} in the code.
121+
120122
\section{Highlighting Demo}
121123

122124
The followings are typeset by \verb!demohigh! environment with option \verb!language=latex/table!.
@@ -143,6 +145,8 @@ \section{Highlighting Demo}
143145
Note that \verb!demohigh! environment will measure the width of source lines.
144146
When it is too large, the result will be put below.
145147

148+
There is also a \texttt{demohigh*} environment which shows each space character as \textvisiblespace{} in the code.
149+
146150
\section{Highlighting File}
147151

148152
Using \verb!\dochighinput! command, you can input and highlight some file.

0 commit comments

Comments
 (0)