Page LayoutLine alignments in twocolumn layout?

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
demon
Posts: 26
Joined: Thu Nov 27, 2008 3:45 pm

Line alignments in twocolumn layout?

Post by demon »

Hi folks,

I just started a small document to write some notes:

Code: Select all

\documentclass[11pt,twocolumn]{article}

\usepackage{url}
\usepackage[english]{babel}

\begin{document}
\title{Notes: Research Seminar 2010}
\author{\small{me}}
\date{\today}
\maketitle

\section{blubb}
blubb
\end{document}
There's quite some text for section 1 and apparently the line height for the section header is too high, so the text on column two is not aligned with column one until there's a new paragraph to correct this. Easiest way is to lower the header a bit, but I couldn't find info on that. :(

Any help?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Line alignments in twocolumn layout?

Post by localghost »

The problem description is very cloudy. I can't see any header. Give a concrete and compilable example.


Best regards
Thorsten¹
demon
Posts: 26
Joined: Thu Nov 27, 2008 3:45 pm

Re: Line alignments in twocolumn layout?

Post by demon »

Sorry. If you fill in the text below the section with a lipsum to fill a whole page, the second column is not aligned with the first column text because \section{} uses about 3.5 lines, and not 3 or 4. After a paragraph in the second column half a line is added by LaTeX automatically, but before that it just looks crap.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Line alignments in twocolumn layout?

Post by frabjous »

You could try fiddling with the \titlespacing*{\section}... command from the titlesec package, but in my experience, it's usually not possible to have your columns always have aligned lines of text, at least not if you're also doing things like widow/orphan control, consisting spacing for section titles, etc.-- throw in an equation or diagram or two and all hope is lost.
demon
Posts: 26
Joined: Thu Nov 27, 2008 3:45 pm

Re: Line alignments in twocolumn layout?

Post by demon »

Hm, I'm just wondering why it aligns everything perfectly after a paragraph and not just directly in the beginning. Thanks anyway.
Post Reply