From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BAD7A13888F for ; Thu, 29 Oct 2015 19:42:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AA06E07E8; Thu, 29 Oct 2015 19:42:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9A68EE07E8 for ; Thu, 29 Oct 2015 19:42:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B2501340BFD for ; Thu, 29 Oct 2015 19:42:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B97131A28 for ; Thu, 29 Oct 2015 19:42:42 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1446147647.1a9358d09378ebf75fd5b7342ce736cb3c3aff21.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: eapi-differences.tex ebuild-env-vars.tex pms.cls X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 1a9358d09378ebf75fd5b7342ce736cb3c3aff21 X-VCS-Branch: master Date: Thu, 29 Oct 2015 19:42:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 89dfdc11-4fbb-419f-868c-7741bf652cb2 X-Archives-Hash: 0d3ab3b0c029ab53bf8df5cd0fd7da1a commit: 1a9358d09378ebf75fd5b7342ce736cb3c3aff21 Author: Ulrich Müller gentoo org> AuthorDate: Thu Oct 29 19:40:47 2015 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Thu Oct 29 19:40:47 2015 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=1a9358d0 pms.cls: Move newcolumntype definition to class. eapi-differences.tex | 1 - ebuild-env-vars.tex | 1 - pms.cls | 3 +++ 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index 04e5f83..3cf311f 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -4,7 +4,6 @@ \ChangeWhenAddingAnEAPI{5} \begin{landscape} -\newcolumntype{P}[1]{>{\setlength{\rightskip}{0pt plus 1fil}}p{#1}} \begin{longtable}{llP{5em}P{5em}P{6em}P{6em}P{6em}P{6em}} \caption{Features in EAPIs}\\ \toprule diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex index 0120bfd..4623d52 100644 --- a/ebuild-env-vars.tex +++ b/ebuild-env-vars.tex @@ -18,7 +18,6 @@ variable. \addtolength{\marginparsep}{-\textwidth} % FIXME \setlength{\LTleft}{25mm plus 1fil} \setlength{\LTright}{0pt plus 1fil} -\newcolumntype{P}[1]{>{\setlength{\rightskip}{0pt plus 1fil}}p{#1}} \begin{longtable}{!{\extracolsep{\fill}} l P{7.5em} l p{0.5\linewidth}} \caption{Defined variables\label{tab:defined_vars}}\\ \toprule 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