commit: 95a25d4a05fedb72c5ed36fcc22cd29e578d5193
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat May 20 06:12:07 2017 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat May 20 06:12:07 2017 +0000
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=95a25d4a
pms.cls: More uniform formatting of captions.
Use bold face for the label and a colon as separator throughout,
i.e., in tables, algorithms and listings.
pms.cls | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pms.cls b/pms.cls
index 2bd86d8..35e969d 100644
--- a/pms.cls
+++ b/pms.cls
@@ -13,7 +13,7 @@
\PassOptionsToPackage{T1}{fontenc}
\PassOptionsToPackage{orig,english}{isodate}
% Position caption of float environments at the top
-\PassOptionsToPackage{position=top}{caption}
+\PassOptionsToPackage{position=top,labelfont=bf}{caption}
% Enable UTF-8 input encoding
\PassOptionsToPackage{utf8}{inputenc}
\PassOptionsToPackage{quiet}{marginnote}
@@ -72,6 +72,7 @@
% tex4ht workaround: these need to happen after loading the float package
\g@addto@macro\@documentclasshook{
\floatstyle{ruled}
+ \captionsetup[ruled]{labelsep=default,labelfont=bf}
\newfloat{listing}{tbp}{lol}[chapter]
\floatname{listing}{Listing}
}