[OS X TeX] A non-OS X question

William Adams will.adams at frycomm.com
Fri Apr 6 15:33:58 CEST 2007


On Apr 5, 2007, at 5:13 PM, André Bellaïche wrote:

> Excuse me for asking a TeX/LaTEX question, not related to Mac OS X.
>
> Does there exist a version of \leftskip\rightskip which works in  
> reverse ways on odd and even pages.
>
> Say you have a paragraph running on two different pages or more. I  
> would need a macro, call it \outerskip, such that
>
> {\outerskip 50 pt ..... \par}
>
> would amount to \rightskip 50pt for the parts of the paragraph  
> laying on odd pages, and to \leftskip 50pt for the parts of the  
> paragraph laying on even pages.

Just use \ifodd to test for which page you're on (\ifodd\value{page})  
--- however there can be errors in this check. See this usenet post  
for lots more information:

http://groups.google.com/group/comp.text.tex/browse_frm/thread/ 
be06b86eb581c2f7/5b34f9ffee1306cf?lnk=st&q=&rnum=1#5b34f9ffee1306cf

William

-- 
William Adams
senior graphic designer
Fry Communications



This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list