[XeTeX] Help in Tex and PDF Positions
Francisco Chaves
pachopepe at gmail.com
Wed Jan 7 23:31:34 CET 2009
Hi Pete
Thank you for your response. Actually I need not only the dimensions but
the position of the box in the page, in order to put the signature field in
the pdf file. is it possible to know and print the box position in a page
using LaTeX?
Thanks in advance
Francisco
> > or I can add a signature PDF field with a LaTeX command?
>
> When you look at the code that builds such a box, you can see
> dimensions used. These can be printed to the LOG file as this example
> shows:
>
> \newsavebox{\rulebox}
> \newlength{\ruledimen}
> \begin{document}
> \sbox{\rulebox}{\makebox[1cm]{\hrulefill}}%
> \settoheight{\ruledimen}{\usebox{\rulebox}}%
> \typeout{\the\ruledimen}%
> Default rule height is \the\ruledimen.
> \settodepth{\ruledimen}{\usebox{\rulebox}}%
> \typeout{\the\ruledimen}%
> Default rule depth is \the\ruledimen.
> \end{document}
>
> With
>
> \immediate\write16{\jobname: some text}
>
> you could send information to the shell/console window. LaTeXiT also
> shows how this can be done.
>
> --
> Greetings
>
> Pete
>
> "We need a president who's fluent in at least one language."
> – Buck Henry
>
>
>
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20090107/bfd7a7e2/attachment.html
More information about the XeTeX
mailing list