From 1a9358d09378ebf75fd5b7342ce736cb3c3aff21 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Thu, 29 Oct 2015 20:40:47 +0100 Subject: pms.cls: Move newcolumntype definition to class. --- pms.cls | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pms.cls') 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 -- cgit v1.2.3-65-gdbad