Skip to content

Commit

Permalink
version 2022D
Browse files Browse the repository at this point in the history
  • Loading branch information
lvjr committed Feb 7, 2022
1 parent 638af2c commit f37f8c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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}{2021-05-12}{2021C}
\ProvidesExplPackage{codehigh}{2022-02-07}{2022D}
{Highlight codes and demos with l3regex and lpeg}

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

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

\setlength{\parindent}{0pt}
\setlength{\parskip}{4pt plus 1pt minus 1pt}

Expand All @@ -13,10 +17,6 @@
linkcolor=green3,
}

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

\begin{document}

\title{\textsf{\color{green3}Codehigh: Highlight Codes and Demos with l3RegEx and LPeg}}
Expand Down

0 comments on commit f37f8c5

Please sign in to comment.