diff options
author | Norbert Preining <norbert@preining.info> | 2024-02-25 03:01:04 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-02-25 03:01:04 +0000 |
commit | 7520174d338ca031769f8e67d69b9a6a00f1626b (patch) | |
tree | c3ce399ddf764721ad511253a501353457239811 /macros/unicodetex | |
parent | f325bd88d1d4db13f51277bc59c8ff8814e937bc (diff) |
CTAN sync 202402250301
Diffstat (limited to 'macros/unicodetex')
-rw-r--r-- | macros/unicodetex/latex/bithesis/bithesis.dtx | 17 | ||||
-rw-r--r-- | macros/unicodetex/latex/bithesis/bithesis.pdf | bin | 731548 -> 731709 bytes | |||
-rw-r--r-- | macros/unicodetex/latex/fontsetup/README | 2 | ||||
-rw-r--r-- | macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.pdf | bin | 565890 -> 566412 bytes | |||
-rw-r--r-- | macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex | 6 | ||||
-rw-r--r-- | macros/unicodetex/latex/fontsetup/tex/fontsetup.sty | 55 |
6 files changed, 48 insertions, 32 deletions
diff --git a/macros/unicodetex/latex/bithesis/bithesis.dtx b/macros/unicodetex/latex/bithesis/bithesis.dtx index 10374a0ad4..4aabfac1cc 100644 --- a/macros/unicodetex/latex/bithesis/bithesis.dtx +++ b/macros/unicodetex/latex/bithesis/bithesis.dtx @@ -21,10 +21,10 @@ %<thesis>\ProvidesExplClass{bithesis} %<report>\ProvidesExplClass{bitreport} %<beamer>\ProvidesExplClass{bitbeamer} -%<cls>{2023-10-24}{3.6.1}{BIT Thesis Templates} +%<cls>{2024-02-24}{3.6.2}{BIT Thesis Templates} % %<*driver> -\ProvidesFile{bithesis.dtx}[2023/10/24 3.6.1 BIT Thesis Templates] +\ProvidesFile{bithesis.dtx}[2024/02/24 3.6.2 BIT Thesis Templates] \documentclass[letterpaper]{l3doc} \usepackage{dtx-style} @@ -2159,7 +2159,8 @@ \zihao{2}\textbf{\songti{\l_@@_style_headline_tl}} - \vspace{10mm} + % 外文翻译封面有两组中英文标题,行数变化范围大,因此采用 fill 比例布局 + \vspace{\stretch{1}} { @@ -2171,8 +2172,8 @@ \dim_set:Nn \l_@@_cover_value_max_width_dim {115mm} \clist_set:Nn \l_@@_input_clist { - {\zihao{4}\textbf{外文原文题目}} {\l_@@_value_trans_origin_title_tl}, - {\zihao{4}\textbf{中文翻译题目}} {\l_@@_value_trans_title_tl}, + {\songti\zihao{4}\textbf{外文原文题目}} {\l_@@_value_trans_origin_title_tl}, + {\songti\zihao{4}\textbf{中文翻译题目}} {\l_@@_value_trans_title_tl}, } \zihao{-3} @@ -2184,7 +2185,7 @@ } - \vspace{19mm} + \vspace{\stretch{1}} \zihao{2}\textbf{\xihei:n \l_@@_value_title_tl}\par @@ -2194,7 +2195,7 @@ \zihao{3}\selectfont{\textbf{\l_@@_value_title_en_tl}}\par \end{spacing} - \vspace{19mm} + \vspace{\stretch{0.67}} \begin{spacing}{1.8} \tl_if_empty:NT \l_@@_cover_dilimiter_tl { @@ -2229,7 +2230,7 @@ \end{spacing} - \vspace*{\fill} + \vspace{\stretch{0.67}} \end{titlepage} } {3} { diff --git a/macros/unicodetex/latex/bithesis/bithesis.pdf b/macros/unicodetex/latex/bithesis/bithesis.pdf Binary files differindex 30446bfc25..eb6f548778 100644 --- a/macros/unicodetex/latex/bithesis/bithesis.pdf +++ b/macros/unicodetex/latex/bithesis/bithesis.pdf diff --git a/macros/unicodetex/latex/fontsetup/README b/macros/unicodetex/latex/fontsetup/README index 1c180e21c1..3c2ec51ef0 100644 --- a/macros/unicodetex/latex/fontsetup/README +++ b/macros/unicodetex/latex/fontsetup/README @@ -1,5 +1,5 @@ The fontsetup package - (Version 2.1.0, GPL3) + (Version 2.1.1, GPL3) This simple package makes it trivial to switch quickly between different quality fonts supporting Mathematics. diff --git a/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.pdf b/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.pdf Binary files differindex 5cedc1ae3b..68d519c607 100644 --- a/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.pdf +++ b/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.pdf diff --git a/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex b/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex index d33b8d0084..d8ec1bd337 100644 --- a/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex +++ b/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex @@ -1,6 +1,8 @@ \documentclass{book} \synctex=1 \usepackage[default]{fontsetup} +%\usepackage[fira]{fontsetup} +%\usepackage{fontsetup} \newfontfamily\newcmgreekguillemots[CharacterVariant=4]{NewCM10-Book.otf} \newfontfamily\devfont[Script=Devanagari,Language=Marathi]{NewCM10Devanagari-Book.otf} \newcommand\leftgrquotes{\char"201C} @@ -15,8 +17,8 @@ \textit{by}\\[1ex] {\large Antonis Tsolomitis}\\ University of the Aegean\\ Department of Mathematics\\[1ex] - \textsc{26} December \textsc{2023}\\[1ex] - Version 2.1.0, \textsc{gpl3} + \textsc{24} February \textsc{2024}\\[1ex] + Version 2.1.1, \textsc{gpl3} \end{center} This package is a simple wrapper-type package that makes the setup of fonts easy and diff --git a/macros/unicodetex/latex/fontsetup/tex/fontsetup.sty b/macros/unicodetex/latex/fontsetup/tex/fontsetup.sty index 84b374b795..6656d2a95f 100644 --- a/macros/unicodetex/latex/fontsetup/tex/fontsetup.sty +++ b/macros/unicodetex/latex/fontsetup/tex/fontsetup.sty @@ -1,4 +1,4 @@ -\ProvidesPackage{fontsetup}[2024/1/11 v2.1.0 For easily using font families with mathematics] +\ProvidesPackage{fontsetup}[2024/2/24 v2.1.1 For easily using font families with mathematics] \RequirePackage{iflang} \RequirePackage{iftex} % Provide a test to know if a 16bits TeX is used. @@ -27,6 +27,7 @@ \newif\if@palatino \newif\if@msgaramond \newif\if@minion +\newif\if@packagewithoptions \newcommand*\greeksetup{% \newcommand*\leftgrquotes{\char"201C}% \newcommand*\rightgrquotes{\char"201E}% @@ -80,6 +81,7 @@ \newcommand*{\regularorbook}{Book}% \ncmsetup \endgroup + \@packagewithoptionstrue } \DeclareOption{olddefault}{% \input{fspolddefault}% @@ -87,49 +89,60 @@ \newcommand*{\regularorbook}{Regular}% \ncmsetup \endgroup + \@packagewithoptionstrue } % Install Cambria as a system font. % cambria.ttc, cambriai.ttf, cambriab.ttf, cambriaz.ttf -\DeclareOption{cambria}{\input{fspcambria}} -\DeclareOption{concrete}{\input{fspconcrete}} -\DeclareOption{ebgaramond}{\input{fspebgaramondot}} -\DeclareOption{erewhon}{\input{fsperewhon}\@erewhontrue} -\DeclareOption{euler}{\input{fspeulerot}} -\DeclareOption{fira}{\input{fspfiraot}} -\DeclareOption{gfsartemisia}{\input{fspgfsartemisiaot}} -\DeclareOption{gfsdidot}{\input{fspgfsdidotot}} -\DeclareOption{gfsdidotclassic}{\input{fspgfsdidotclassicot}\@gfstrue} -\DeclareOption{gfsneohellenic}{\input{fspgfsneohellenicot}} -\DeclareOption{kerkis}{\input{fspkerkisot}} -\DeclareOption{libertinus}{\@libertinustrue} +\DeclareOption{cambria}{\input{fspcambria}\@packagewithoptionstrue} +\DeclareOption{concrete}{\input{fspconcrete}\@packagewithoptionstrue} +\DeclareOption{ebgaramond}{\input{fspebgaramondot}\@packagewithoptionstrue} +\DeclareOption{erewhon}{\input{fsperewhon}\@erewhontrue\@packagewithoptionstrue} +\DeclareOption{euler}{\input{fspeulerot}\@packagewithoptionstrue} +\DeclareOption{fira}{\input{fspfiraot}\@packagewithoptionstrue} +\DeclareOption{gfsartemisia}{\input{fspgfsartemisiaot}\@packagewithoptionstrue} +\DeclareOption{gfsdidot}{\input{fspgfsdidotot}\@packagewithoptionstrue} +\DeclareOption{gfsdidotclassic}{\input{fspgfsdidotclassicot}\@gfstrue\@packagewithoptionstrue} +\DeclareOption{gfsneohellenic}{\input{fspgfsneohellenicot}\@packagewithoptionstrue} +\DeclareOption{kerkis}{\input{fspkerkisot}\@packagewithoptionstrue} +\DeclareOption{libertinus}{\@libertinustrue\@packagewithoptionstrue} % Install Lucida in TeX tree -\DeclareOption{lucida}{\input{fsplucidaot}} +\DeclareOption{lucida}{\input{fsplucidaot}\@packagewithoptionstrue} % Install MinionPro and provided fspMinionGreekSmallCaps as system fonts. -\DeclareOption{minion}{\input{fspminion}\@miniontrue} +\DeclareOption{minion}{\input{fspminion}\@miniontrue\@packagewithoptionstrue} % Install Microsoft Garamond as a system font. % Gara.ttf, Garai, Garabd -\DeclareOption{msgaramond}{\input{fspmsgaramondot}\@msgaramondtrue} -\DeclareOption{neoeuler}{\input{fspeulerot}}% compatibility +\DeclareOption{msgaramond}{\input{fspmsgaramondot}\@msgaramondtrue\@packagewithoptionstrue} +\DeclareOption{neoeuler}{\input{fspeulerot}\@packagewithoptionstrue}% compatibility % Not released yet % \DeclareOption{neokadmus}{\input{neokadmus}} \DeclareOption{oldstandard}{\input{fspoldstandard}% \if@upint \setmathfont[StylisticSet=2]{OldStandard-Math.otf}% \fi + \@packagewithoptionstrue } % Install Linotype Palatino as a system font. % pala.ttf palai, palab, palabi. % Install fspPalatinoGreekSmallCaps as a System font. -\DeclareOption{palatino}{\input{fsppalatinoot}\@palatinotrue} -\DeclareOption{stixtwo}{\input{fspstixtwoot}} -\DeclareOption{talos}{\input{fsptalos}} -\DeclareOption{times}{\input{fsptimesot}} +\DeclareOption{palatino}{\input{fsppalatinoot}\@palatinotrue\@packagewithoptionstrue} +\DeclareOption{stixtwo}{\input{fspstixtwoot}\@packagewithoptionstrue} +\DeclareOption{talos}{\input{fsptalos}\@packagewithoptionstrue} +\DeclareOption{times}{\input{fsptimesot}\@packagewithoptionstrue} \DeclareOption{xcharter}{% \input{fspxcharter}% \@xchartertrue + \@packagewithoptionstrue } \DeclareOption*{\PackageWarning{fontsetup}{Unknown ‘\CurrentOption’}} \ProcessOptions +\if@packagewithoptions +\else + \input{fspdefault}% + \begingroup + \newcommand*{\regularorbook}{Book}% + \ncmsetup + \endgroup +\fi \AtBeginDocument{% \if@erewhon \RequirePackage{fourier-otf} |