summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/minimalist/minimart.cls
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-10-25 03:03:38 +0000
committerNorbert Preining <norbert@preining.info>2021-10-25 03:03:38 +0000
commitce07680b939eecc96f42a3ee4e777c5c183503de (patch)
tree7128b5cbde1df1ccd06fd06c861b799ae335f835 /macros/latex/contrib/minimalist/minimart.cls
parent40f406b1e0017bdecc0890738274fc8e88c08486 (diff)
CTAN sync 202110250303
Diffstat (limited to 'macros/latex/contrib/minimalist/minimart.cls')
-rw-r--r--macros/latex/contrib/minimalist/minimart.cls25
1 files changed, 21 insertions, 4 deletions
diff --git a/macros/latex/contrib/minimalist/minimart.cls b/macros/latex/contrib/minimalist/minimart.cls
index b35e37468c..11e5e07d42 100644
--- a/macros/latex/contrib/minimalist/minimart.cls
+++ b/macros/latex/contrib/minimalist/minimart.cls
@@ -17,7 +17,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2020-10-01]
\ProvidesClass{minimart}
- [2021/08/11 A simple and clear article style]
+ [2021/10/23 A simple and clear article style]
\def\minimclass@baseclass{article}
\RequirePackage{kvoptions}
\RequirePackage{etoolbox}
@@ -30,6 +30,7 @@
\DeclareBoolOption[false]{classical}
\DeclareBoolOption[false]{useindent}
\DeclareBoolOption[false]{useosf}
+\DeclareBoolOption[false]{lmodern}
\DeclareBoolOption[false]{palatino}
\DeclareBoolOption[false]{times}
\DeclareBoolOption[false]{garamond}
@@ -53,6 +54,9 @@
\if@minimclass@classical\else
\@minimclass@useindenttrue
\fi
+\if@minimclass@lmodern
+ \@minimclass@customfonttrue
+\fi
\if@minimclass@palatino
\@minimclass@customfonttrue
\fi
@@ -77,7 +81,8 @@
\RequirePackage[heightrounded]{geometry}
\geometry{
papersize={7in,10in},
- total={40em,60em},
+ % total={40em,60em},
+ total={5.535in,8.300in},
hmarginratio=1:1,
vmarginratio=1:1,
footnotesep=2em plus 2pt minus 2pt,
@@ -85,7 +90,8 @@
\if@minimclass@bfivepaper
\geometry{
b5paper,
- total={40em,59em},
+ % total={40em,59em},
+ total={5.535in,8.160in},
hmarginratio=1:1,
vmarginratio=1:1,
footnotesep=2em plus 2pt minus 2pt,
@@ -94,7 +100,8 @@
\if@minimclass@afourpaper
\geometry{
a4paper,
- total={47em,70em},
+ % total={47em,70em},
+ total={6.500in,9.685in},
hmarginratio=1:1,
vmarginratio=1:1,
footnotesep=2em plus 2pt minus 2pt,
@@ -127,6 +134,16 @@
\fi
\RequirePackage{amssymb}
+\if@minimclass@lmodern
+ \RequirePackage{amssymb}
+ \if@minimclass@useosf
+ \RequirePackage{cfr-lm}
+ \else
+ \RequirePackage{lmodern}
+ \fi
+ \PJLsetlinespacing{\setstretch{1.00}}
+\fi
+
\if@minimclass@palatino
\RequirePackage{amssymb}
\RequirePackage{mathpazo}