diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/memoir/memsty.sty')
-rw-r--r-- | Master/texmf-dist/doc/latex/memoir/memsty.sty | 38 |
1 files changed, 32 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/memoir/memsty.sty b/Master/texmf-dist/doc/latex/memoir/memsty.sty index d0b64f00809..bf2c27748cd 100644 --- a/Master/texmf-dist/doc/latex/memoir/memsty.sty +++ b/Master/texmf-dist/doc/latex/memoir/memsty.sty @@ -161,7 +161,7 @@ pdfpagelabels, %%% hyperfootnotes=false, bookmarksnumbered, -% colorlinks, + colorlinks, % ocgcolorlinks, % this only works for pdflatex ]{hyperref} \DeclareGraphicsRule{*}{mps}{*}{} @@ -190,7 +190,7 @@ % \definecolor{filecolor}{rgb}{0,0.2,0.6} \definecolor{urlcolour} {rgb}{0.8,0,0.8} }{% - typeout{Asked for black links, so that is what you are going to get} + \typeout{Asked for black links, so that is what you are going to get} \definecolor{linkcolour}{rgb}{0,0,0} \definecolor{citecolour}{rgb}{0,0,0} % \definecolor{filecolor}{rgb}{0,0,0} @@ -199,7 +199,7 @@ } \hypersetup{ pdftitle={The memoir class}, - pdfauthor={Peter Wilson}, + pdfauthor={Peter Wilson, maintained by Lars Madsen}, linkcolor=linkcolour,citecolor=citecolour, filecolor=urlcolour,urlcolor=urlcolour, } @@ -218,6 +218,8 @@ \providecommand*{\ixetx}{\index{etex?\etx}} \providecommand*{\pixetx}{\etx\ixetx} % print & index etex \providecommand*{\xetx}{Xe\tx} +\providecommand*{\luatx}{Lua\tx} + \providecommand*{\ixxetx}{\index{XeTeX?\xetx}} \providecommand*{\pixxetx}{\xetx\ixxetx} % print & index XeTeX \providecommand*{\TeXUG}{\tx{} Users Group} @@ -558,9 +560,9 @@ chapterstyle. It is one of several styles that come as part of the \fi \c@chapter=\savechapcnt \advance\c@chapter\m@ne - \renewcommand{\theHchapter}{\thepage.\thechapter-\the\demochapcnt} + \renewcommand{\theHchapter}{\thepage.\thechapter-\the\demochapcnt.\thesheetsequence} \refstepcounter{chapter}% -%% \stepcounter{chapter} +% \stepcounter{chapter} \begin{center} \caption{The #2 chapterstyle}\label{dc#2} \end{center} @@ -1065,7 +1067,7 @@ it to use the new width for the margin par} \newcommand*\snipletref[1]{\snipletname~\ref{#1} on~\pref{#1}} \newenvironment{sniplet}[1][]{ \refstepcounter{sniplet} - \edef\mem@e{\@ifnotmtarg{#1}{~(#1)}} + \edef\mem@e{\@ifnotmtarg{#1}{\space(#1)}} \section*{\snipletname~\thesniplet\mem@e} \phantomsection \addcontentsline{toc}{section}{\snipletname\ \thesniplet\mem@e} @@ -1122,6 +1124,30 @@ it to use the new width for the margin par} +\newenvironment{recommended}{% + \@zeroseps% + \parskip\z@ \topsep\z@% + \definecolor{shadecolor}{gray}{0.9}% + \fboxsep0pt% + \shaded% + \list{}{% + \labelwidth\z@ + \itemindent\z@ + \addtolength\itemindent{\labelsep} + \parsep\z@ + \listparindent1.5em + \leftmargin\z@ + \rightmargin\leftmargin} + \item[\textbf{Recommended alternative}]\mbox{}\par\smallskip + \nobreak%\ignorespaces + \noindent\ignorespaces}% + { \endlist + \endshaded} + + + + + \typeout{End memsty.sty} \endinput |