[XeTeX] Decorative border around page
Kamal Abdali
k.abdali at acm.org
Tue Feb 9 23:12:09 CET 2010
On Tue, Feb 9, 2010 at 13:20, Fr. Michael Gilmary <
FrMichaelGilmary at maronitemonks.org> wrote:
>
>
> <snip>
>
>
> \RandBox{\usebox{\ornamentBox}} font {\webomints} [0.0em]
>
> (a) ([f\\g]f) (b)
> ([\hspace{.03ex}\rotatebox{-180}{j}\\\rotatebox{-180}{k}])
> ([\rotatebox{-180}{i}\\\hspace{.03ex}\rotatebox{-180}{l}]) (a)
> ([f\\g]f) (b)
>
>
> \end{document}
>
>
> This generates warnings from varwidth, and then:
>
> Runaway argument?
> 0.0em]
> ! Paragraph ended before \RandBox was complete.
> <to be read again>
> \par
> l.69
>
> ?
>
>
>
>
> That's because there's a blank line after [0.0em] instead of a simple line
> break ... you can avoid this by using the percent sign % so the engine will
> ignore the linebreak, then it will work.
>
> For example:
>
>
> \RandBox{\usebox{\ornamentBox}} font {\webomints} [0.0em]%
>
> (a) ([f\\g]f) (b)
> ([\hspace{.03ex}\rotatebox{-180}{j}\\\rotatebox{-180}{k}])
> ([\rotatebox{-180}{i}\\\hspace{.03ex}\rotatebox{-180}{l}]) (a)
> ([f\\g]f) (b)
>
>
>
> Or, just delete the empty line, which I think is what was included in my
> last email.
>
> I'm glad it works for you. It's rather a pain to set it up, but it does
> make for a lovely addition to a card or some types of documents.
>
>
> Thanks again. You have been very helpful.
Kamal Abdali
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
> http://tug.org/mailman/listinfo/xetex
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20100209/20967f73/attachment.html>
More information about the XeTeX
mailing list