<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>it seems to be a problem in TikZ. Anyway, if you just want vertical lines, you need no package at all. you can do it just by \vrule in your footer:<br><br></div>\makeatletter % allow @ in the macro names<br></div>\def\ps@mystyle{% definition of the page style<br></div>  \def\@oddhead{\normalfont \normalsize \hfill \thepage}%<br></div>  \def\@evenhead{\normalfont \normalsize \thepage \hfill}%<br></div>  \def\@oddfoot{\vbox to 0pt{% zero height vertical box<br></div>      \hskip -20mm % negative, to make it wider that the text width<br></div>      \color{red}\VR \hskip 2pt \VR \hfill \VR \hskip 2pt \VR \hskip -20mm}%<br></div>  \let\@evenfoot\@oddfoot}<br></div>\makeatother % @ no longer allowed<br><br></div>% Define the vertical rule (in order to have the dimensions at one place)<br></div>\def\VR{\vrule width 2pt height 200mm depth 0mm}<br><br></div>% Set the page style<br></div>\pagestyle{mystyle}<br><br></div>If you need more complex graphics, you can use PDF primitives. You can see this article:<br><a href="http://bulletin.cstug.cz/doi.php/10.5300/2013-1/13">http://bulletin.cstug.cz/doi.php/10.5300/2013-1/13</a><br></div>It is written in Czech but you can see what can be done.<br><br></div>I have not tried my solution, I just typed it but I hope I have not made a mistake. You should only modify the dimensions.<br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">Zdeněk Wagner<br><a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br><div class="gmail_quote">2018-02-13 8:51 GMT+01:00 RD Holkar <span dir="ltr"><<a href="mailto:rohit.d.holkar@gmail.com" target="_blank">rohit.d.holkar@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear all,<div><br></div><div>I am typesetting a memoir in Marathi using package Polyglossia. I found that the package Background behaves strangely when used with XeLaTeX.</div><div><br></div><div>I am attaching an example in English which is clearly a (La)TeX file (I can send the file that uses Polyglossia if needed). I want two vertical lines on the left and right side of the page (attachment- Background-LaTeX). When I use the package background and run LaTeX, I get the desired output. However, when I run XeLaTeX on the same file, I get a displaced lines.</div><div>Moreover, I tried to place the lines by trial and error method, but, it seems that the distortion is not linear.</div><div><br></div><div>Could some please explain how to use this package to get what I want, or some other way to achieve my goal?</div><div><br></div><div>Thank you in advance.</div><div><br></div><div>With best regards,</div><div>-Rohit.</div></div>
<br><br>
<br>
------------------------------<wbr>--------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
  <a href="http://tug.org/mailman/listinfo/xetex" rel="noreferrer" target="_blank">http://tug.org/mailman/<wbr>listinfo/xetex</a><br>
<br></blockquote></div><br></div>