ltxdoc, vertical gap between macrocode-environments
- From: "Ulrich Diez" <eu_angelion@xxxxxxxxxxxxxx>
- Date: Mon, 10 Jul 2006 21:48:43 +0200
Hello!
I use the ltxdoc-package for documenting my LaTeX2e-macros.
In the minimal example below I have divided the macro-code
for \mymacro into two macrocode-environments.
The material between these environments is not intended to
produce any visible/printed material at all.
Therefore I would like to avoid/compensate the small vertical
gap which results from ending the first and starting the next
macrocode-environment. How to achieve this?
Thanks in advance.
Ulrich
----------<main.tex>----------
% \iffalse
\documentclass{ltxdoc}
\let\PrintIndex\relax
\begin{document}
\DocInput{main.tex}
\end{document}
% \fi
% \catcode`\&=14\relax
% \begin{macro}{\mymacro}
% \begin{macrocode}
\newcommand\mymacro{%
This is
% \end{macrocode}
% \label{test}&
% \begin{macrocode}
mymacro}%
% \end{macrocode}
% \end{macro}
% Code was divided for some (obscure) reason at
% page \pageref{test}
\endinput
---------<eof main.tex>--------
Version-infos from log-file:
- e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
- preloaded format=latex 2005.2.7 10 JUL 2006 21:35
LaTeX2e <2003/12/01>
Babel <v3.8a>
- Document Class: ltxdoc 1999/08/08 v2.0u Standard LaTeX documentation class
- Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
- File: size10.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
- Package: doc 2004/02/09 v2.1b Standard LaTeX documentation package (FMi)
- Package: multicol 2004/02/14 v1.6e multicolumn formatting (FMi)
.
- Follow-Ups:
- Re: ltxdoc, vertical gap between macrocode-environments
- From: Ulrich Diez
- Re: ltxdoc, vertical gap between macrocode-environments
- Prev by Date: Re: square backet in item list: error
- Next by Date: Re: Math mode wackiness in memoir class.
- Previous by thread: square backet in item list: error
- Next by thread: Re: ltxdoc, vertical gap between macrocode-environments
- Index(es):