[OS X TeX] Background images

Tim Brophy timbrophy at mac.com
Fri Feb 17 02:29:54 CET 2017


Hi All,

This is the zipped contents of what I was attempting. Should work as it works for me!

Tim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: IMTA.zip
Type: application/zip
Size: 852453 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20170217/ced35e5d/attachment-0001.zip>
-------------- next part --------------


> On 17 Feb 2017, at 01:16, Alain Schremmer <schremmer.alain at gmail.com> wrote:
> 
> I was curious and tried to run your code but got an error:
> 
> Runaway argument?
> {\tikz [remember picture,overlay]{
> ./MarginRules.tex:10: Paragraph ended before \AddEverypageHook was complete.
> <to be read again> 
>                    \par 
> l.10 
>      
> ? 
> Process aborted
> 
> Now I am even more curious! 
> 
> Regards
> --schremmer
> 
> 
> 
> On , at 2017 Feb 16,9:54 AM, Tim Brophy wrote:
> 
>> I received the following on Stack Exchange and it does what I want with a little tweaking. Thanks for the suggestions.
>> 
>> Tim
>> 
>> \documentclass{report}
>> \usepackage{everypage}
>> \usepackage{tikzpagenodes}
>> \usetikzlibrary{calc}
>> \usepackage{lipsum}% MWE only
>> 
>> 
>> 
>> \AddEverypageHook{\tikz[remember picture,overlay]{%
>> 
>> 
>> \ifodd\value{page}\draw ($(current page text area.north west)+(-0.5\marginparsep,0pt)$)
>> 
>>    -- 
>> ($(current page text area.south west)+(-0.5\marginparsep,0pt)$)
>> ;
>> 
>> \else\draw ($(current page text area.north east)+(0.5\marginparsep,0pt)$)
>> 
>>    -- 
>> ($(current page text area.south east)+(0.5\marginparsep,0pt)$)
>> ;
>> 
>> \fi}}
>> 
>> 
>> 
>> \begin{document}
>> \lipsum [1-16]
>> \end{document}
>>> On 16 Feb 2017, at 14:36, b.a.lee at rocketmail.com wrote:
>>> 
>>> Sorry, I mean \vrule. 
>>> 
>>> Sent from Yahoo Mail on Android
>>> 
>>> On Thu, 16 Feb 2017 at 0:16, Alain Schremmer
>>> <schremmer.alain at gmail.com> wrote:
>>> Just a thought: have you looked at tcolorbox? (e.g. Border Line Option Keys)
>>> --schremmer
>>> 
>>> 
>>> On , at 2017 Feb 15,10:45 AM, Tim Brophy wrote:
>>> 
>>>> I want to have a vertical line to the left of every odd numbered page and to the right of every even numbered page. Is it possible to do this?
>>>> 
>>>> Thanks in advance,
>>>> 
>>>> Tim Brophy
>>>> ----------- Please Consult the Following Before Posting -----------
>>>> TeX FAQ: http://www.tex.ac.uk/faq
>>>> List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
>>>> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>>>>               https://email.esm.psu.edu/pipermail/macosx-tex/
>>>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>>>> List Info: https://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: https://www.esm.psu.edu/~gray/tex/
>>> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>>>                https://email.esm.psu.edu/pipermail/macosx-tex/
>>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>>> List Info: https://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: https://www.esm.psu.edu/~gray/tex/
>>> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>>>               https://email.esm.psu.edu/pipermail/macosx-tex/
>>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>>> List Info: https://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: https://www.esm.psu.edu/~gray/tex/
>> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>>                https://email.esm.psu.edu/pipermail/macosx-tex/
>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>> List Info: https://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: https://www.esm.psu.edu/~gray/tex/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>                https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex


More information about the macostex-archives mailing list