summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/memoir/memsty.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-07-03 23:29:05 +0000
committerKarl Berry <karl@freefriends.org>2010-07-03 23:29:05 +0000
commitb01586837ca3abfe2028b61c24b2b7c0a048f358 (patch)
tree7e4125b14cfeebc91f9df5bbdb92b0808e8f32a6 /Master/texmf-dist/doc/latex/memoir/memsty.sty
parentb4c1a1eed2c9c758ec934a2085344fa9e5bcc9d3 (diff)
memoir update (1jul10)
git-svn-id: svn://tug.org/texlive/trunk@19217 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/memoir/memsty.sty')
-rw-r--r--Master/texmf-dist/doc/latex/memoir/memsty.sty14
1 files changed, 11 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/memoir/memsty.sty b/Master/texmf-dist/doc/latex/memoir/memsty.sty
index c94e073fb39..ac6ce2a46b2 100644
--- a/Master/texmf-dist/doc/latex/memoir/memsty.sty
+++ b/Master/texmf-dist/doc/latex/memoir/memsty.sty
@@ -475,12 +475,18 @@ official r\^ole in fluffy souffl\'es?' }
\setlength{\parskip}{\z@}}
\newlength{\gparindent} \setlength{\gparindent}{\parindent}
\setlength{\gparindent}{0.5\parindent}
-% now we can do the new environment. This has no extra before/after spacing.
+% now we can do the new environment. This has no extra before/after
+% spacing.
+% \LMnote{2010/06/09}{Experimenting with a bit of space before and
+% after, looks a bit better}
\newenvironment{lcode}{\@zeroseps
+ \nopagebreak
+ \vskip0.2em plus 0.1em minus 0.2em
\renewcommand{\verbatim@startline}{\verbatim@line{\hskip\gparindent}}
\small\setlength{\baselineskip}{\onelineskip}\verbatim}%
{\endverbatim
- \vspace{-\baselineskip}%
+ \vspace{-\baselineskip}
+ \vskip0.3em plus 0.1em minus 0.2em
\noindent}
%%%%% LaTeX syntax
@@ -488,9 +494,11 @@ official r\^ole in fluffy souffl\'es?' }
\newcommand*{\tightcenter}{%
\topsep=0.25\onelineskip\trivlist \centering\item\relax}
\def\endtightcenter{\endtrivlist}
+\LMnote{2010/06/25}{Added a \cs{crcr} here, a bit of a tric, but now
+ the last line in syntax does not longer need to end with \\}
\newenvironment{syntax}{\begin{tightcenter}
\begin{tabular}{|p{0.9\linewidth}|} \hline}%
- {\hline
+ {\crcr\hline
\end{tabular}
\end{tightcenter}}