Skip to content

Commit

Permalink
version 2023A
Browse files Browse the repository at this point in the history
  • Loading branch information
lvjr committed Feb 11, 2023
1 parent b20da13 commit a907116
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion codehigh.sty
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplPackage{codehigh}{2023-01-29}{2023@}
\ProvidesExplPackage{codehigh}{2023-02-11}{2023A}
{Highlight codes and demos with l3regex and lpeg}

%\RequirePackage{xparse}
Expand Down
16 changes: 8 additions & 8 deletions codehigh.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
\documentclass[oneside]{book}
\usepackage[a4paper,margin=2cm]{geometry}

\newcommand*{\myversion}{2023@}
\newcommand*{\myversion}{2023A}
\newcommand*{\mydate}{Version \myversion\ (\the\year-\mylpad\month-\mylpad\day)}
\newcommand*{\mylpad}[1]{\ifnum#1<10 0\the#1\else\the#1\fi}

Expand Down Expand Up @@ -196,19 +196,19 @@ \section{Fake Verbatim Command}
Input & Result & Remark \\
\midrule
\fakeverb{\\\\} & \fakeverb{\\} &
Only needed to be escaped when typesetting other control symbols in this table \\
Need to be escaped only when typesetting other control symbols in this table \\
\fakeverb{\\\{} & \fakeverb{\{} &
Only needed to be escaped when left and right curly braces are unmatched \\
Need to be escaped only when left and right curly braces are unmatched \\
\fakeverb{\\\}} & \fakeverb{\}} &
Only needed to be escaped when left and right curly braces are unmatched \\
Need to be escaped only when left and right curly braces are unmatched \\
\fakeverb{\\\#} & \fakeverb{\#} &
Always needed to be escaped \\
Always need to be escaped \\
\fakeverb{\\\^} & \fakeverb{\^} &
Only needed to be escaped when there are more than one in a row \\
Need to be escaped only when there are more than one in a row \\
\texttt{\textbackslash\textvisiblespace} & \texttt{\textvisiblespace} &
Only needed to be escaped when more than one in a row or after control words \\
Need to be escaped only when more than one in a row or after control words \\
\fakeverb{\\\%} & \fakeverb{\%} &
Always needed to be escaped \\
Always need to be escaped \\
\bottomrule
\end{tabularx}
\end{center}
Expand Down

0 comments on commit a907116

Please sign in to comment.