[OS X TeX] \hfill confusion

Alan Munn amunn at gmx.com
Mon Aug 8 11:16:22 EDT 2011


On Aug 8, 2011, at 11:00 AM, Claus Gerhardt wrote:

> Don't load parskip.

This is a bit extreme, assuming Vic needs parskip :-)

Just don't use the  [parfill] option of parskip.

Alan

> 
> 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
>> 
> 
> ----------- 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
> 

-- 
Alan Munn
amunn at gmx.com







More information about the MacOSX-TeX mailing list