- #1
Metazeno
- 2
- 0
I would like to divide the body of my document into two columns. In the left column go the section headings and in the right column go the section text.
My attempt is to make a new command:
\newdimen\sectionwidth
\newdimen\resumewidth
\sectionwidth=0.25 \textwidth
\resumewidth=0.75 \textwidth
\newcommand{\ressection}[1]
{
\hbox to 0pt
{
\hss
\vtop to 0pt
{
\leftskip=0pt
\hsize=\sectionwidth
\textwidth=\sectionwidth
\raggedright
\bf
#1
\vss
}
}
\vskip-\baselineskip
}
Unfortunately this puts the section text where it would be normally and the section headings far off to the left outside the document body.
Does anyone know how to fix this?
My attempt is to make a new command:
\newdimen\sectionwidth
\newdimen\resumewidth
\sectionwidth=0.25 \textwidth
\resumewidth=0.75 \textwidth
\newcommand{\ressection}[1]
{
\hbox to 0pt
{
\hss
\vtop to 0pt
{
\leftskip=0pt
\hsize=\sectionwidth
\textwidth=\sectionwidth
\raggedright
\bf
#1
\vss
}
}
\vskip-\baselineskip
}
Unfortunately this puts the section text where it would be normally and the section headings far off to the left outside the document body.
Does anyone know how to fix this?