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.

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

I am currently writing a CV on LaTeX. I want to have a quote on the head of my modernCV, but latex puts ONE word into a second line. Can I make LaTeX put all the quote into one line?

\title{\textcolor{red}{\textsc{Curriculum Vit\ae}}} 

\quote{\glqq quote \grqq \begin{flushright} -authorname- \end{flushright}}

And I don't mean that the authorname is in a second line (as a matter of fact of \flushright) but that the quote is one word too long to fit into one line.

share|improve this question
flushright is a new environment that always starts a new line. if the author name is only one line, just use \hfill between the quote and the name. – barbara beeton Aug 5 '12 at 12:08
The problem is, that the quote itself is split up into 2 lines. I want to have the author in a different line, that is why I put \flushright – maad Aug 5 '12 at 12:28
up vote 3 down vote accepted

This TeX code should do the trick (meant to replace quote in your code above):

\hbox to 0pt{\hss quote\hss}

FYI, it puts your quote in a zero-width horizontal box, with infinitely stretchable and shrinkable glue on both sides.

share|improve this answer
Worked! Thank you Xavier. – maad Aug 5 '12 at 17:16

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.