texlive[50992] Master/texmf-dist: ltxguidex (16apr19)

commits+karl at tug.org commits+karl at tug.org
Sun May 5 00:48:07 CEST 2019


Revision: 50992
          http://tug.org/svn/texlive?view=revision&revision=50992
Author:   karl
Date:     2019-05-05 00:48:07 +0200 (Sun, 05 May 2019)
Log Message:
-----------
ltxguidex (16apr19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/ltxguidex/ltxguidex.pdf
    trunk/Master/texmf-dist/doc/latex/ltxguidex/ltxguidex.tex
    trunk/Master/texmf-dist/tex/latex/ltxguidex/ltxguidex.cls

Modified: trunk/Master/texmf-dist/doc/latex/ltxguidex/ltxguidex.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/ltxguidex/ltxguidex.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ltxguidex/ltxguidex.tex	2019-05-04 22:47:43 UTC (rev 50991)
+++ trunk/Master/texmf-dist/doc/latex/ltxguidex/ltxguidex.tex	2019-05-04 22:48:07 UTC (rev 50992)
@@ -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 at brandeis.edu}}}
-\date{2019/01/13 v0.1.0}
+\date{2019/04/15 0.2.0}
 \begin{document}
 \maketitle
 
@@ -356,9 +357,8 @@
 
 These environments typeset ``notices'' with a hanging indent. Original
 definitions written by Javier Bezos for the \ctan{enumitem} documenation.
-|\ltxguidex at 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 @@
 \end{LTXexample}
 \end{example}
 
+\begin{changelog}[author=Rebecca Turner]
+\begin{version}[v=0.1.1, date=2019-04-15]
+\added
+	\item Renamed \cs{ltxguidex at 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}

Modified: trunk/Master/texmf-dist/tex/latex/ltxguidex/ltxguidex.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ltxguidex/ltxguidex.cls	2019-05-04 22:47:43 UTC (rev 50991)
+++ trunk/Master/texmf-dist/tex/latex/ltxguidex/ltxguidex.cls	2019-05-04 22:48:07 UTC (rev 50992)
@@ -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 at noticestyle}{\sffamily\bfseries\color{notes}}
+\newcommand{\noticestyle}{\sffamily\bfseries\color{notes}}
 \def\@begintheorem#1#2{%
   \list{}{}%
   \global\advance\@listdepth\m at ne
-  \item[{\ltxguidex at 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}}



More information about the tex-live-commits mailing list