summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2015-10-29 20:40:47 +0100
committerUlrich Müller <ulm@gentoo.org>2015-10-29 20:40:47 +0100
commit1a9358d09378ebf75fd5b7342ce736cb3c3aff21 (patch)
tree84054d1f4ca8a3af6a7dacdf3643a0adce602533 /pms.cls
parentSpelling fixes in "defined variables" table. (diff)
downloadpms-1a9358d09378ebf75fd5b7342ce736cb3c3aff21.tar.gz
pms-1a9358d09378ebf75fd5b7342ce736cb3c3aff21.tar.bz2
pms-1a9358d09378ebf75fd5b7342ce736cb3c3aff21.zip
pms.cls: Move newcolumntype definition to class.
Diffstat (limited to 'pms.cls')
-rw-r--r--pms.cls3
1 files changed, 3 insertions, 0 deletions
diff --git a/pms.cls b/pms.cls
index 80ba8e8..72d0b9a 100644
--- a/pms.cls
+++ b/pms.cls
@@ -123,6 +123,9 @@
\end{table}
}
+% Define a new column type P for tables, like p but with ragged-right text
+\newcolumntype{P}[1]{>{\setlength\rightskip{0pt plus 1fil}}p{#1}}
+
% Prevent numbers in list of tables from overrunning into the table captions
\renewcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.8em}} % was 2.3em
\let\l@table\l@figure