summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/TeXemplar/readme
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/TeXemplar/readme
Initial commit
Diffstat (limited to 'macros/latex/contrib/TeXemplar/readme')
-rw-r--r--macros/latex/contrib/TeXemplar/readme60
1 files changed, 60 insertions, 0 deletions
diff --git a/macros/latex/contrib/TeXemplar/readme b/macros/latex/contrib/TeXemplar/readme
new file mode 100644
index 0000000000..70287653a8
--- /dev/null
+++ b/macros/latex/contrib/TeXemplar/readme
@@ -0,0 +1,60 @@
+TeXemplar.cls
+~~~~~~~~
+
+This is the style file for "TeXemplares", the journal of CervanTeX,
+the Spanish TeX User's Group.
+
+There is nothing new in it except a few new commands and a new
+implemetations of the verbatim environment.
+
+It is far from finished and is very likely to change.
+
+New commands
+~~~~~~~~~~~~
+- \issue{<issue>}{<from>}{<to>}
+
+ The issue number and the page range
+
+- \articlemark{<Title>}
+
+ The title to be used un headers
+
+- |<verb>|
+
+ The text enclosed is typeset verbatim, with line breaking allowed.
+
+Verbatim
+~~~~~~~
+
+This environment is reimplemented to overcome the problems of the
+standard verbatim or the reimplemetation in the verbatim package:
+- the space before \end{verbatim} which could produced unwanted
+ blank lines is ignored,
+- the text is typeset as read, and not first read in full
+ (or line by line) and then typeset,
+- the text following \end{verbatim} is not removed,
+- spaces and even a line-feed are allowed between \end and {verbatim}.
+
+You may introduce changes inside the verbatim environment with
+one-letter commands defined with \verbcommand{letter}{definition}.
+The changes introduced are in effect immediatly and these commands are
+independent from the `standard' definitions. Spaces following them
+are not ignored. The letter `e' is not allowed!
+
+Examples:
+
+\verbcommand{1}{\bgroup\itshape}
+\verbcommand{0}{\egroup}
+
+\begin{verbatim}
+Type answer (y/n): \1y\0
+\end{verbatim}
+
+---
+
+\verbcommand{1}{\bgroup\rmfamily\itshape\catcode`\ =12}
+\verbcommand{0}{\egroup}
+
+\begin{verbatim}
+\def\hello{hello} % \1A silly assignment\0
+\end{verbatim}