Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm desperately trying to get a linebreak in a CV at the end of my dissertation. When I do this:

\begin{tabbing}
\hspace*{4.5cm}\=\kill
09/2004 -- 11/2010 \> \textbf{Study of Biology at TU Darmstadt} \+ \\ Blablabla
\end{tabbing}

It works perfectly.

When I add another line:

\begin{tabbing}
\hspace*{4.5cm}\=\kill
09/2004 -- 11/2010 \> \textbf{Study of Biology at TU Darmstadt} \+ \\ Blablabla
09/2004 -- 11/2010 \> \textbf{Study of Biology at TU Darmstadt} \+ \\ Blablabla
\end{tabbing}

I get ! LaTeX Error: Undefined tab position.

What the hell am I doing wrong? I don't get it.

share|improve this question
    
Welcome to TeX.sx! You don't have to sign with your name since it automatically appears in the lower right corner of your post. –  lockstep May 21 '12 at 15:57
add comment

2 Answers

up vote 5 down vote accepted

\+ "causes the left margin of subsequent lines to be indented one tab stop to the right" (Lamport, LaTeX: A document preparation system, p. 202), so your second "Study of Biology" entry is placed at the third tab stop -- which doesn't exist, which in turn throws an error. The error may be avoided by adding \- (the complement to \+) plus a line break after the first "Blablabla".

\documentclass{article}

\begin{document}

\begin{tabbing}
\hspace*{4.5cm}\=\kill
09/2004 -- 11/2010 \> \textbf{Study of Biology at TU Darmstadt} \+ \\ Blablabla \- \\
09/2004 -- 11/2010 \> \textbf{Study of Biology at TU Darmstadt} \+ \\ Blablabla
\end{tabbing}

\end{document}

Another option is to do without \+ and \- and simply add \> at the start of lines 2 and 4.

\documentclass{article}

\begin{document}

\begin{tabbing}
\hspace*{4.5cm}\=\kill
09/2004 -- 11/2010 \> \textbf{Study of Biology at TU Darmstadt} \\ 
\> Blablabla \\
09/2004 -- 11/2010 \> \textbf{Study of Biology at TU Darmstadt} \\ 
\> Blablabla
\end{tabbing}

\end{document}
share|improve this answer
add comment

Your first Blablabla together with the start of the next input line moves beyond the first tab position, so the \> in the second line looks for another tab position. But there is none.

What is the point of those Blablabla sequences? They don't belong in the line they appear in.

share|improve this answer
    
Exchange the Blablablas for something like "Emphasis on Microbiology, Genetics and Biochemistry", some additional information which should appear below \textbf{Study of Biology at TU Darmstadt} –  biologue May 21 '12 at 16:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.