From fc2a32592923aea79fcf06130dd9695ad051cacd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 31 Oct 2021 21:10:36 +0000 Subject: jxu (31oct21) git-svn-id: svn://tug.org/texlive/trunk@60915 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/beaulivre/beaulivre.cls | 39 +++++++++++++++++++--- 1 file changed, 35 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/tex/latex/beaulivre') diff --git a/Master/texmf-dist/tex/latex/beaulivre/beaulivre.cls b/Master/texmf-dist/tex/latex/beaulivre/beaulivre.cls index b7dcdc06fb3..3317cdce0c1 100644 --- a/Master/texmf-dist/tex/latex/beaulivre/beaulivre.cls +++ b/Master/texmf-dist/tex/latex/beaulivre/beaulivre.cls @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesClass{beaulivre} - [2021/08/11 A colorful book style] + [2021/10/30 A colorful book style] \def\colorclass@baseclass{book} \RequirePackage{kvoptions} \RequirePackage{etoolbox} @@ -28,6 +28,7 @@ \DeclareBoolOption[false]{draft} \DeclareBoolOption[false]{fast} \DeclareBoolOption[false]{useosf} +\DeclareBoolOption[false]{lmodern} \DeclareBoolOption[false]{palatino} \DeclareBoolOption[false]{times} \DeclareBoolOption[false]{garamond} @@ -48,6 +49,9 @@ \if@colorclass@draft \@colorclass@fasttrue \fi +\if@colorclass@lmodern + \@colorclass@customfonttrue +\fi \if@colorclass@palatino \@colorclass@customfonttrue \fi @@ -72,7 +76,8 @@ \RequirePackage[heightrounded]{geometry} \geometry{ papersize={8.5in,11in}, - total={47em,66em}, + % total={47em,66em}, + total={6.500in,9.130in}, hmarginratio=1:1, vmarginratio=1:1, footnotesep=2em plus 2pt minus 2pt, @@ -80,7 +85,8 @@ \if@colorclass@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, @@ -89,7 +95,8 @@ \if@colorclass@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, @@ -373,6 +380,19 @@ \renewcommand{\mid}{\hspace{-.2em}\mid@original\hspace{-.2em}} \let\nmid@original\nmid \renewcommand{\nmid}{\hspace{-.2em}\nmid@original\hspace{-.2em}} +\renewcommand{\frac}[2]{\genfrac{}{}{}{}{ + \mathchoice + {\raisebox{-.15em}{$\displaystyle #1$}} + {\raisebox{-.15em}{$\textstyle #1$}} + {\raisebox{-.08em}{$\scriptstyle #1$}} + {\scriptscriptstyle #1} +}{ + \mathchoice + {\raisebox{.08em}{$\displaystyle #2$}} + {\raisebox{.08em}{$\textstyle #2$}} + {\raisebox{.05em}{$\scriptstyle #2$}} + {\scriptscriptstyle #2} +}} } \RequirePackage{tikz-cd} @@ -447,6 +467,16 @@ \fi \fi +\if@colorclass@lmodern + \RequirePackage{amssymb} + \if@colorclass@useosf + \RequirePackage{cfr-lm} + \else + \RequirePackage{lmodern} + \fi + \PJLsetlinespacing{\setstretch{1.00}} +\fi + \if@colorclass@palatino \RequirePackage{amssymb} \RequirePackage{mathpazo} @@ -518,6 +548,7 @@ \PassOptionsToPackage{verbose=silent}{microtype} \RequirePackage{microtype} +\AtEndPreamble{\AtBeginDocument{\microtypesetup{disable}{\scshape}\microtypesetup{enable}}} \PassOptionsToPackage{all}{nowidow} \RequirePackage{nowidow} \RequirePackage{embrac} -- cgit v1.2.3