# [XeTeX] horizontal alignment

Lucio Crusca lucio at sulweb.org
Tue Nov 20 09:21:06 CET 2012

In data martedì 20 novembre 2012 00:45:34, Andy Lin ha scritto:
> I'm not sure I understand the desired layout,

To understand it you can simply compile the code I attached in the first
message. It's nearly what I need, except you can see WORDs after TITLEs a bit
off (about 1mm) their expected placement.

> but why not:
>
> \newcommand{\sessoentry}[1]{\noindent\makebox[4cm][l]{\textbf{#1}}}
>
> \newcommand{\classeentry}[1]{\textbf{#1}}

because I need \classeentry to align at 4cm even when there's no title (e.g.
no \sessoentry before it), and I can't put a dummy \sessoentry with an empty
string in such cases because the code is being automatically generated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20121120/8e787814/attachment.html>