# [XeTeX] aligning section- and subsection etc. titles

Diederick C. Niehorster dcnieho at gmail.com
Mon Aug 9 10:05:44 CEST 2010

Hi Jens,

I know very little of this issue, but can't you simply put it in a table?

Best,
Dee

On Mon, Aug 9, 2010 at 15:50, Jens Bakker <jbakker at uni-bonn.de> wrote:
>
> I would like to ask if there is a possibility to achieve the alignment of the titles of the sections, subjections, and so forth, after the numbers, so that the following picture is achieved if they appear one immediately before the other:
>
> 1               Introduction
> 1.1             Preliminaries
> 1.1.1   The Project
>
>
> I did not find any solution to that problem, and it seems, that it is not possible to put the sectionnumbers into the \makebox[1cm]{} order, as for example is possible with \fbox as is explained in Mittelbach - Goossens: Latex-Begleiter (2.2.1, p.29).
>
> The following:
>
> \makeatletter
> \renewcommand\@seccntformat[1]{\makebox[5ex]{\csname the#1\endcsname}\hspace{0.5ex}}
> \makeatother
>
> does not work.
>
> With many thanks and best regards,
> Jens Bakker
>
>
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
>