[texhax] stretch section title in twocolumn

Paul Tremblay phthenry at iglou.com
Tue May 16 23:41:49 CEST 2006


On Tue, May 16, 2006 at 12:23:45PM -0400, tom sgouros wrote:
> From: tom sgouros <tomfool at as220.org>
> I don't know how you feel about cheating, but I'm lazy, so tend to think
> about solutions like the one below, and I wonder if something like this
> would work for you.  This requires that you always have a \ssection
> command inside your ssectcols environment, but you're generating the
> latex, so you can enforce that.  Outside the environment, you can let
> \ssection equal \section.
> 
> I think somewhere there is a class that allows you to append commands to
> existing macros, but I can't think of it.  Probably someone here can.
> That would allow a cleaner solution, in that you could modify \section.
> 

That's a clever solution. I do like cheating. When converting from XML
I usually can do lots of cheating, since you can do all sorts of
tricks (like creating your own line numbers of title numbers).

However, I have come across another problem that can't really be fixed
by any tricks. The output looks ugly because there are long titles and
epigraphs that are fit into narrow columns. I've come to the
conclusion there is no template that will allow automatic conversion
into multi-columns. You have to tinker with the layout to get it to
look decently. Specifically, I have to use the multicols environment
repeatedly and make sure certain element are outside.

\section{title}

% epigraph
<em>The blah blah bah</em>\par
<em>author</em>
\vspace{12pt}
\begin{multicols}{2}
text...
\end{multicols}

\section{title}

\begin{multicols}{2}
text...
\end{multicols}

Paul

-- 

************************
*Paul Tremblay         *
*phthenry at iglou.com    *
************************


More information about the texhax mailing list