From c0bef3346513bd933c0e451415a1cbf6120264d2 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 4 May 2019 22:48:07 +0000 Subject: ltxguidex (16apr19) git-svn-id: svn://tug.org/texlive/trunk@50992 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/ltxguidex/ltxguidex.cls | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/latex/ltxguidex') 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}} -- cgit v1.2.3