What is the difference between flushright and raggedleft?
Tell me more
×
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.
|
|
|
\documentclass[twocolumn]{article}
\usepackage{lipsum}
\listfiles\begin{document}
\lipsum[1]
\begin{flushright}\lipsum[2]\end{flushright}
\lipsum[3]
\newpage
\lipsum[4]
{\raggedleft\lipsum[5]\par}
\lipsum[6]
\end{document}
In particular, note the extra space around |
|||
|
|
|
The environments internally are based on a list (exactly a »trivlist«) with fixed list parameters. That's why they cause the extra vertical space before and behind that Will mentioned. The amount of this space is determined by the length |
|||||||
|