[OS X TeX] \hfill confusion

Claus Gerhardt claus.gerhardt at uni-heidelberg.de
Mon Aug 8 11:00:03 EDT 2011


Don't load parskip.

Claus


On Aug 8, 2011, at 16:37, Vic Norton wrote:

> I am confused about \hfill. On my system it won't push a minipage all the way to the right. Here is an illustrative script.
> 
>   \documentclass{article} 
>   \usepackage[parfill]{parskip}
>   \thispagestyle{empty}
> 
>   \begin{document}
>   xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx
>   xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx
> 
>   \begin{minipage}{2.0in}
>   xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx
>   \end{minipage}
>   \hfill
>   \begin{minipage}{2.0in}
>   xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx
>   \end{minipage}
> 
>   \end{document}
> 
> The second minipage does not get pushed to the right-hand border. So how do I push a minipage to the right-hand border of a page?
> 
> I'm attaching a picture of the output of the above script.
> 
> Regards,
> 
> Vic
> 
> <hfill-minpage.png>
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> 




More information about the MacOSX-TeX mailing list