TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Here is my modern cv latex code

\cvline{Nov 2012-Jan 2013}{\Large Heading} \hfill {\em Client Name}

I'm trying to build a resume and want the above Data in a single line but the last portion Client Name drop down to the next line.

How to get this in one horizontal line

share|improve this question
up vote 3 down vote accepted

I think you simply messed up your braces:

\cvline{Nov 2012-Jan 2013}{{\Large Heading} \hfill {\em Client Name}}

gives everything on one line.

When you don't include the extra / missing set of braces, there is no space left on the line with \cvline (due to how it is constructed internally), and the following \hfill and text block get pushed on a new line.

share|improve this answer

Your Answer


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.