[texhax] Orphan section heads

Philip TAYLOR P.Taylor at Rhul.Ac.Uk
Wed Sep 21 17:43:08 CEST 2005


Well, I know next to nothing about LaTeX, William
('though I know a little about TeX), but surely
any attempt to place a \caption or a \label
/within/ a verbatim environment will be doomed
to failure as it will be displayed rather
than interpreted ?  Of course, I could use
a nestable verbatim environment [1] but
I'm trying to use standard LaTeX markup to
help the editors ...

If you can illustrate how I might use your
idea in practice, I'd be delighted to try
it : here is a fragment of my existing code --

	\subsection {explanation.letters}
	\begin{verbatim}
	04101224483246
	0410122448324638
	04101224485428
	041236
	041236
	044820123654441636203228
	0448363210204416485438483236323850042422...
	\end{verbatim}

Philip Taylor

[1] http://www.tug.org/TUGboat/Articles/tb11-2/tb28taylor.pdf
--------
William F. Adams wrote:

> On Sep 21, 2005, at 10:50 AM, Philip TAYLOR wrote:
> 
>> It wasn't nonsensical, William : I have of the
>> order of 12 such subsections, each introducing
>> a different fragment of code.  The paper is
>> already 10pp long, and the editors would like
>> it shorter rather than longer ...
> 
> 
> Then why not just provide a caption / label in with the code display?
> 
> That way it can't be split.
> 
> William
> 



More information about the texhax mailing list