summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/ltxguidex/ltxguidex.pdfbin62875 -> 64027 bytes
-rw-r--r--Master/texmf-dist/doc/latex/ltxguidex/ltxguidex.tex17
-rw-r--r--Master/texmf-dist/tex/latex/ltxguidex/ltxguidex.cls8
3 files changed, 18 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/ltxguidex/ltxguidex.pdf b/Master/texmf-dist/doc/latex/ltxguidex/ltxguidex.pdf
index a82c88ae71a..af739b268a3 100644
--- a/Master/texmf-dist/doc/latex/ltxguidex/ltxguidex.pdf
+++ b/Master/texmf-dist/doc/latex/ltxguidex/ltxguidex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/ltxguidex/ltxguidex.tex b/Master/texmf-dist/doc/latex/ltxguidex/ltxguidex.tex
index cf2795589d8..3d5df6cff54 100644
--- a/Master/texmf-dist/doc/latex/ltxguidex/ltxguidex.tex
+++ b/Master/texmf-dist/doc/latex/ltxguidex/ltxguidex.tex
@@ -1,4 +1,5 @@
\documentclass{ltxguidex}
+\usepackage{changelog}
\usepackage{fontspec}
\setmainfont{Tiempos Text}
\usepackage{FiraSans}
@@ -10,7 +11,7 @@
\title{Towards Better \LaTeX\ Documentation With the \ltx\ Document Class}
\author{Rebecca Turner\thanks{Brandeis University;
\email{rebeccaturner@brandeis.edu}}}
-\date{2019/01/13 v0.1.0}
+\date{2019/04/15 0.2.0}
\begin{document}
\maketitle
@@ -356,9 +357,8 @@ Typesets a \LaTeX\ package, option, file extension, etc.\ in |\texttt|.
These environments typeset ``notices'' with a hanging indent. Original
definitions written by Javier Bezos for the \ctan{enumitem} documenation.
-|\ltxguidex@noticestyle| is executed before the marker text (``warning,''
-``note,'' etc.) in a separate group. New notice environments can be created
-with |\newnotice|.
+|\noticestyle| is executed before the marker text (``warning,'' ``note,''
+etc.). New notice environments can be created with |\newnotice|.
\begin{bug}
If the first content in a notice environment is vertical, the marker
@@ -597,4 +597,13 @@ environment with a more elegant interface.
\end{LTXexample}
\end{example}
+\begin{changelog}[author=Rebecca Turner]
+\begin{version}[v=0.1.1, date=2019-04-15]
+\added
+ \item Renamed \cs{ltxguidex@noticestyle} to \cs{noticestyle} and committed
+ it to the public \textsc{api}.
+ \item The \cs{cs} and \cs{command} commands.
+\end{version}
+\end{changelog}
+
\end{document}
diff --git a/Master/texmf-dist/tex/latex/ltxguidex/ltxguidex.cls b/Master/texmf-dist/tex/latex/ltxguidex/ltxguidex.cls
index eeab047a898..2ce25fa8baa 100644
--- a/Master/texmf-dist/tex/latex/ltxguidex/ltxguidex.cls
+++ b/Master/texmf-dist/tex/latex/ltxguidex/ltxguidex.cls
@@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesClass{ltxguidex}[2019/01/13 v0.1.0 Extended LaTeX documentation class]
+\ProvidesClass{ltxguidex}[2019/04/15 0.2.0 Extended LaTeX documentation class]
% Description: An improved document class for writing LaTeX documentation
% with extra tools for authors.
% Homepage: https://github.com/9999years/ltxguidex
@@ -81,11 +81,11 @@
\decl}
{\enddecl}
-\newcommand{\ltxguidex@noticestyle}{\sffamily\bfseries\color{notes}}
+\newcommand{\noticestyle}{\sffamily\bfseries\color{notes}}
\def\@begintheorem#1#2{%
\list{}{}%
\global\advance\@listdepth\m@ne
- \item[{\ltxguidex@noticestyle\MakeUppercase{#1}}]}
+ \item[{\noticestyle\MakeUppercase{#1}}]}
\newcommand{\newnotice}[2]{\newtheorem{#1}{#2}}
\newnotice{warning}{Warning}
@@ -208,6 +208,8 @@
\let\ctanlogo\ctan
\newcommand{\pipe}{\char"7C}
\newcommand{\bs}{\char"5C}
+\newcommand{\command}[1]{\texttt{\bs#1}}
+\let\cs\command
\newcommand{\email}[1]{\href{mailto:#1}{#1}}
\newcommand{\http}[1]{\href{http://#1}{#1}}