2
2
\documentclass [oneside ]{book }
3
3
\usepackage [a4paper,margin=2cm ]{geometry }
4
4
5
+ \setlength {\parindent }{0pt}
6
+ \setlength {\parskip }{4pt plus 1pt minus 1pt}
7
+
5
8
\usepackage {codehigh }
6
9
\usepackage {hyperref }
7
10
\hypersetup {
23
26
24
27
\tableofcontents
25
28
26
- \chapter {Package Interface }
29
+ \chapter {Package Interfaces }
27
30
28
31
\section {Introduction }
29
32
@@ -35,9 +38,9 @@ \section{Introduction}
35
38
\footnote {\url {http://www.inf.puc-rio.br/~roberto/lpeg/}}.
36
39
\verb !LPeg ! is much more powerful and faster than \verb !l3regex !.
37
40
38
- At present, this package is in \underline {\color {red3}\textbf {experimental }} status.
39
- Don’t use it in important documents, unless you have time
40
- to update them for the newer versions of \verb !codehigh ! package in the future.
41
+ % At present, this package is in \underline{\color{red3}\textbf{experimental}} status.
42
+ % Don’t use it in important documents, unless you have time
43
+ % to update them for the newer versions of \verb!codehigh! package in the future.
41
44
42
45
\section {Highlighting Code }
43
46
@@ -76,7 +79,7 @@ \subsection*{Suction Name}
76
79
}
77
80
\end {codehigh }
78
81
This language is for highlighting LaTeX2 classes and packages.
79
- Note that private commands and public commands are highlighted with different colors.
82
+ It highlights private commands and public commands with different colors.
80
83
81
84
The following example is typeset by \verb !codehigh ! environment with option \verb !language=latex/latex3 !.
82
85
\begin {codehigh }[language=latex/latex3]
@@ -91,7 +94,7 @@ \subsection*{Suction Name}
91
94
}
92
95
\end {codehigh }
93
96
This language is for highlighting LaTeX3 classes and packages.
94
- Note that private commands/variables and public commands/variables are highlighted with different colors.
97
+ It highlights private commands/variables and public commands/variables with different colors.
95
98
96
99
The following example is typeset by \verb !codehigh ! environment with option \verb !language=latex/math !.
97
100
\begin {codehigh }[language=latex/math]
@@ -147,6 +150,9 @@ \section{Highlighting File}
147
150
\dochighinput [language=latex/latex3]{codehigh.sty}
148
151
\end {codehigh }
149
152
153
+ In reading an input file, lines starting wtih \verb !%%% ! will be omitted,
154
+ and lines starting with \verb !%%> ! will be extracted and typeset as normal text.
155
+
150
156
\section {Customization }
151
157
152
158
The following example changes default background colors with \verb !\CodeHigh ! command:
@@ -171,7 +177,7 @@ \section{Customization}
171
177
To modify or add languages and themes, please read the source files
172
178
\verb !codehigh.sty ! and \verb !codehigh.lua ! for reference.
173
179
174
- \chapter {Source Code }
180
+ \chapter {The Source Code }
175
181
176
182
\dochighinput [language=latex/latex3]{codehigh.sty}
177
183
0 commit comments