Gentoo Archives: gentoo-pms

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: [gentoo-pms] [PATCH] Prevent numbers in list of tables from overrunning into the table captions.
Date: Sat, 15 Sep 2012 07:34:30
Message-Id: 20564.12151.87181.235647@a1i15.kph.uni-mainz.de
1 Numbers like 11.10 are too wide for the standard format, so increase
2 width by 0.5 em.
3 ---
4 pms.cls | 4 ++++
5 1 file changed, 4 insertions(+)
6
7 diff --git a/pms.cls b/pms.cls
8 index ed16f6b..80487bf 100644
9 --- a/pms.cls
10 +++ b/pms.cls
11 @@ -105,6 +105,10 @@
12 \end{table}
13 }
14
15 +% Prevent numbers in list of tables from overrunning into the table captions
16 +\renewcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.8em}} % was 2.3em
17 +\let\l@table\l@figure
18 +
19 % Define some PDF meta-data.
20 % tex4ht workaround: this needs to happen after loading hyperref
21 \g@addto@macro\@documentclasshook{
22 --
23 1.7.12