[XeTeX] horizontal alignment

Lucio Crusca lucio at sulweb.org
Mon Nov 19 15:07:21 CET 2012


Hello *,

I'm quite new here, I've been using LaTeX and XeTeX for a while but I'm no 
expert. I use texlive 2011 for linux/i386. I'm trying to obtain horizontal 
alignment of some words. Let's make an example (look at the following with a 
monospaced font):

TITLE1            WORD1
                  text in a minipage environment
          that spans exactly
          three rows 

TITLE2            WORD2
                  text in a minipage environment
          that spans exactly
          three rows

                  WORD3
                  text in a minipage environment
          that spans exactly
          three rows

 and so on...

Please note that the xetex code is being automatically generated and for this 
reason I need three distinct commands, one for the titles, one for the 
horizontally aligned words and one for the horizontally aligned minipages. In 
the attached xetex source the three commands are: \sessoentry, \classeentry 
and \dogentrytrerighe (sorry for the mixup of italian and english word in the 
command names, but those are legacy names). In those commands I'm using 
\makebox[0pt] to make WORD1 and WORD2 alignment independent of the TITLEs on 
the left, but that does not seem to completely work: WORD1 and WORD2 are a few 
millimeters off their expected position.

I've tried \tabto, but it strangely makes the minipage slide up a bit and 
overlap WORDx. 

Any suggestion welcome, thanks in advance.

Lucio.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20121119/df8d9fe8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prova.tex
Type: text/x-tex
Size: 1630 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20121119/df8d9fe8/attachment-0001.bin>


More information about the XeTeX mailing list