%% %% This is file `minimalist/minimalist-classical.sty', %% generated with the docstrip utility. %% Copyright (C) 2021-2022 by Jinwen XU %% %% This is part of the minimalist class series. %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at %% your option) any later version. The latest version of this license is in %% %% http://www.latex-project.org/lppl.txt %% %% and version 1.3c or later is part of all distributions of LaTeX version %% 2005/12/01 or later. %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \RequirePackage{l3keys2e} \ProvidesExplPackage {minimalist-classical} {2022/04/03} {} {The classical style of minimalist} \@ifpackageloaded { minimalist } {} { \msg_new:nnn { \@currname } { minimalist-not-loaded } { "#1"~is~an~internal~style~of~"minimalist".~To~use~it,~you~must~load~the~package~"minimalist"~first. } \msg_warning:nnx { \@currname } { minimalist-not-loaded } { \@currname } \endinput } %%================================ %% Title fonts %%================================ \RequirePackage { anyfontsize } \bool_if:NTF \l__minimalist_use_boldface_bool { \cs_new:Nn \minimalist_bfseries: { \bfseries \colorlet{minimalist-temp-color}{.} \color{minimalist-temp-color!70!paper} } } { \cs_new:Nn \minimalist_bfseries: {} } \tl_new:N \g_minimalist_title_font_common_tl \tl_new:N \g_minimalist_title_font_part_tl \tl_new:N \g_minimalist_title_font_chapter_tl \tl_new:N \g_minimalist_title_font_section_tl \tl_new:N \g_minimalist_title_font_subsection_tl \tl_new:N \g_minimalist_title_font_subsubsection_tl \tl_new:N \g_minimalist_title_font_paragraph_tl \tl_gset:Nn \g_minimalist_title_font_part_tl { \minimalist_bfseries: \g_minimalist_title_font_common_tl } \tl_gset:Nn \g_minimalist_title_font_chapter_tl { \minimalist_bfseries: \g_minimalist_title_font_common_tl } \tl_gset:Nn \g_minimalist_title_font_section_tl { \minimalist_bfseries: } \tl_gset:Nn \g_minimalist_title_font_subsection_tl { \minimalist_bfseries: } \tl_gset:Nn \g_minimalist_title_font_subsubsection_tl { \minimalist_bfseries: \itshape } \tl_gset:Nn \g_minimalist_title_font_paragraph_tl { \minimalist_bfseries: \scshape } \bool_if:NF \l__minimalist_fast_bool { \RequirePackage { tikz } \ExplSyntaxOff \usetikzlibrary{calc,shadings} \ExplSyntaxOn \RequirePackage { tikzpagenodes } % For `current page text area` } \bool_if:NTF \l__minimalist_fast_bool { \tl_const:Nn \l_minimalist_sep_bar { $|$ } } { \tl_const:Nn \l_minimalist_sep_bar { \skip_horizontal:n { .1em } \tikz[baseline=.125em] \draw[line~width=.9pt] (0,0) -- (0,.9em); \skip_horizontal:n { .1em } } } %%================================ %% Footer %%================================ \RequirePackage { geometry } \RequirePackage { fancyhdr } \RequirePackage { extramarks } \hook_gput_code:nnn { begindocument/before } { minimalist } { \fancyhfoffset { 0pt } } \tl_new:N \l_minimalist_leftmark_tl \tl_new:N \l_minimalist_rightmark_tl \tl_set:Nn \l_minimalist_leftmark_tl { \begin{minipage}[t]{.833\textwidth} \lastleftmark \end{minipage} } \tl_set:Nn \l_minimalist_rightmark_tl { \begin{minipage}[t]{.833\textwidth} \filleft \lastrightmark \end{minipage} } \fancypagestyle { fancy } { \fancyhf { } \if@twoside \fancyfoot[RO] { \small \textcolor { main-text!30!paper } { \l_minimalist_rightmark_tl } \nobreakspace \nobreakspace \rlap { \textcolor { main-text!27!paper } { \l_minimalist_sep_bar } \nobreakspace \nobreakspace \thepage } } \fancyfoot[LE] { \small \leavevmode \llap { \thepage \nobreakspace \nobreakspace \textcolor { main-text!27!paper } { \l_minimalist_sep_bar } } \nobreakspace \nobreakspace \textcolor { main-text!30!paper } { \l_minimalist_leftmark_tl } } \else \fancyfoot[R] { \small \textcolor { main-text!30!paper } { \l_minimalist_rightmark_tl } \nobreakspace \nobreakspace \rlap { \textcolor { main-text!27!paper } { \l_minimalist_sep_bar } \nobreakspace \nobreakspace \thepage } } \fi \renewcommand { \headrulewidth } { 0pt } } \pagestyle { fancy } \fancypagestyle { plain } { \fancyhf { } \if@twoside \fancyfoot[RO] { \small \nobreakspace \rlap { \textcolor { main-text!27!paper } { \l_minimalist_sep_bar } \nobreakspace \nobreakspace \thepage } } \fancyfoot[LE] { \small \leavevmode \llap { \thepage \nobreakspace \nobreakspace \textcolor { main-text!27!paper } { \l_minimalist_sep_bar } } } \else \fancyfoot[R] { \small \nobreakspace \rlap { \textcolor { main-text!27!paper } { \l_minimalist_sep_bar } \nobreakspace \nobreakspace \thepage } } \fi \renewcommand { \headrulewidth } { 0pt } } \bool_if:NTF \l__minimalist_is_book_bool { \bool_if:NTF \l__minimalist_fast_bool { \newcommand{ \minimalist_draw_help_line: }{} } { \newcommand{ \minimalist_draw_help_line: } { \begin{tikzpicture}[remember~picture,overlay] \foreach\i in {0,1,...,5}{ \fill[opacity=0.12-0.02*\i] ($(current~page~text~area.north~east)+(-\i*0.5em-.025em,-10pt+\i*1.1pt)$) rectangle ($(current~page~text~area.south~east)+(-\i*0.5em+.025em,10pt-\i*1.1pt)$); \shade[top~color=paper,bottom~color=main-text,opacity=0.12-0.02*\i] ($(current~page~text~area.north~east)+(-\i*0.5em-.025em,2pt)$) rectangle ($(current~page~text~area.north~east)+(-\i*0.5em+.025em,-10pt+\i*1.1pt)$); \shade[top~color=main-text,bottom~color=paper,opacity=0.12-0.02*\i] ($(current~page~text~area.south~east)+(-\i*0.5em-.025em,-2pt)$) rectangle ($(current~page~text~area.south~east)+(-\i*0.5em+.025em,10pt-\i*1.1pt)$); } \end{tikzpicture} } } \fancypagestyle { part } { \fancyhf { } \renewcommand { \headrulewidth } { 0pt } \fancyhead[C] { \minimalist_draw_help_line: } } \addtolength { \headheight } { 20pt } \addtolength { \topmargin } { -20pt } \if@twoside \renewcommand{\chaptermark}[1]{\markboth{\textsc{#1}}{}} \else \renewcommand{\chaptermark}[1]{\markboth{\textsc{#1}}{\textsc{#1}}} \fi \renewcommand*{\sectionmark}[1]{ \markright{\protect\g_minimalist_section_decoration_char_tl\nobreakspace\arabic{section}\nobreakspace\protect\g_minimalist_section_decoration_char_tl\nobreakspace\nobreakspace\nobreakspace#1}} } { \if@twoside \renewcommand*{\sectionmark}[1]{\markboth{\textsc{#1}}{}} \else \renewcommand*{\sectionmark}[1]{\markboth{\textsc{#1}}{\textsc{#1}}} \fi } %%================================ %% Title format %%================================ \RequirePackage [ explicit, newparttoc ] { titlesec } \PassOptionsToPackage { normalem } { ulem } \RequirePackage { ulem } \cs_generate_variant:Nn \seq_set_split:Nnn { Nnx } \cs_new:Nn \minimalist_apply_title_numbering_style:n { #1 } \newcommand{\partstring}{\MakeUppercase{{\partname\nobreakspace\protect\thepart}}} \AddLanguageSetting { \renewcommand{\partstring}{\MakeUppercase{{\partname\nobreakspace\protect\thepart}}} } \AddLanguageSetting [ schinese ] { \renewcommand{\partstring}{第 \zhnumber{\arabic{part}} 部分} } \AddLanguageSetting [ tchinese ] { \renewcommand{\partstring}{第 \zhnumber{\arabic{part}} 部分} } \AddLanguageSetting [ japanese ] { \renewcommand{\partstring}{第 \nobreakspace\thepart\nobreakspace 部} } \bool_if:NTF \l__minimalist_is_book_bool { \setcounter{secnumdepth}{3} %% Part \titleclass{\part}{top} % make part like a chapter \titleformat{\part}[display] {\thispagestyle{part} \LocallyStopLineNumbers \g_minimalist_title_font_part_tl\filleft} {\partstring} {1em} {\fontsize{20}{0}\selectfont\MakeUppercase{#1}} [\ResumeLineNumbers] \titleformat{name=\part,numberless}[display] {\thispagestyle{part} \LocallyStopLineNumbers % \phantomsection\addcontentsline{toc}{part}{#1} \g_minimalist_title_font_part_tl\filleft} {\phantom{\MakeUppercase{\partname}}} {1em} {\fontsize{20}{0}\selectfont\MakeUppercase{#1}} [\ResumeLineNumbers] \titlespacing*{\part}{0pt}{5em}{6em} %% Text after part \newcommand{\parttext}[1]{ \vfill \LocallyStopLineNumbers \begin{flushright} \begin{minipage}{0.833\textwidth} \color{main-text!80!paper}\raggedleft#1 \end{minipage} \end{flushright} \ResumeLineNumbers \vfill\vfill \cleardoublepage } %% Chapter \titleformat{\chapter} {\thispagestyle{fancy} \LocallyStopLineNumbers \color{main-text!80!paper}\g_minimalist_title_font_chapter_tl\fontsize{16}{0}\selectfont}{}{0em} {\rlap{\hspace*{-.5em}{\color{main-text!12!paper} \fontsize{80}{0}\selectfont\raisebox{-7pt}{\thechapter}}}#1} [\ResumeLineNumbers] \titleformat{name=\chapter,numberless} {\thispagestyle{fancy} \LocallyStopLineNumbers % \phantomsection\addcontentsline{toc}{chapter}{#1} \color{main-text!80!paper}\g_minimalist_title_font_chapter_tl\fontsize{16}{0}\selectfont}{}{0em} {\rlap{\hspace*{-.5em}{\color{main-text!12!paper} \fontsize{80}{0}\selectfont\normalfont\raisebox{-7pt}{*}}}#1} [\ResumeLineNumbers] } { %% Part \titleformat{\part}[display] {\LocallyStopLineNumbers \g_minimalist_title_font_part_tl\filleft} {\partstring} {.3em} {\fontsize{16}{0}\selectfont\MakeUppercase{#1}} [\ResumeLineNumbers] \titleformat{name=\part,numberless}[display] {\LocallyStopLineNumbers % \phantomsection\addcontentsline{toc}{part}{#1} \g_minimalist_title_font_part_tl\filleft} {\phantom{\MakeUppercase{\partname}}} {.3em} {\fontsize{16}{0}\selectfont\MakeUppercase{#1}} [\ResumeLineNumbers] %% Text after part \newcommand{\parttext}[1]{ \LocallyStopLineNumbers \begin{flushright} \begin{minipage}{0.833\textwidth} \color{main-text!80!paper}\raggedleft#1 \end{minipage} \end{flushright} \ResumeLineNumbers } } %% Section \renewcommand\thesection{\arabic{section}} \newcommand\seculine{\bgroup\markoverwith{\color{main-text!27!paper} \rule[-0.9ex]{2pt}{.6pt}\hspace{-2pt}\rule[-1.2ex]{2pt}{.6pt}}\ULon} \bool_if:NTF \l__minimalist_fast_bool { \tl_gset:Nn \g_minimalist_section_decoration_char_tl { \raisebox{.03em}{\normalfont/} } } { \tl_gset:Nn \g_minimalist_section_decoration_char_tl { \tikz[baseline=.125em] \draw[line~width=.9pt] (-.12em,0) -- (.12em,.9em); } } \titleformat{\section} {\LocallyStopLineNumbers \g_minimalist_title_font_section_tl\centering}{}{0em} {{\small\textcolor{main-text!27!paper}{\footnotesize \g_minimalist_section_decoration_char_tl } \,\,\textcolor{main-text!90!paper}{\minimalist_bfseries:\arabic{section}} \,\,\textcolor{main-text!27!paper}{\footnotesize \g_minimalist_section_decoration_char_tl }}\\ \seculine{#1}} [\ResumeLineNumbers] \titleformat{name=\section,numberless} {\LocallyStopLineNumbers % \phantomsection\addcontentsline{toc}{section}{#1} \g_minimalist_title_font_section_tl\centering}{}{0em} {\seculine{#1}} [\ResumeLineNumbers] %% Subsection \renewcommand\thesubsection{ \ifnum\c@section=0\else\arabic{section}.\fi\arabic{subsection}} \newcommand\subseculine{\bgroup\markoverwith{\color{main-text!27!paper} \rule[-1ex]{2pt}{.75pt}}\ULon} \titleformat{\subsection} {\LocallyStopLineNumbers \g_minimalist_title_font_subsection_tl}{}{0em} {\subseculine{\thesubsection\nobreakspace\textcolor{main-text!27!paper}{ \l_minimalist_sep_bar }\nobreakspace #1}} [\ResumeLineNumbers] \titleformat{name=\subsection,numberless} {\LocallyStopLineNumbers \g_minimalist_title_font_subsection_tl}{}{0em} {\subseculine{#1}} [\ResumeLineNumbers] %% Subsubsection \bool_if:NTF \l__minimalist_runin_bool { \titleformat{\subsubsection}[runin] {\color{main-text!70!paper}\g_minimalist_title_font_subsubsection_tl} {\scalebox{0.9}{\thesubsubsection}}{.33em} {#1.}[\hspace*{.3em}] } { \titleformat{\subsubsection} {\LocallyStopLineNumbers \color{main-text!70!paper}\g_minimalist_title_font_subsubsection_tl} {\scalebox{0.9}{\thesubsubsection}}{.33em} {#1} [\ResumeLineNumbers] } %% Paragraph \titleformat{\paragraph}[runin] { \g_minimalist_title_font_paragraph_tl }{\theparagraph}{1em}{#1} \titlespacing{\section}{0pt}{\baselineskip}{.6\baselineskip} \titlespacing{\subsection}{0pt}{.75\baselineskip}{.4\baselineskip} \titlespacing{\subsubsection}{0pt}{.5\baselineskip}{.3\baselineskip} %%================================ %% ToC format %%================================ \RequirePackage { titletoc } \titlecontents{part} [0em] {\addvspace{1.5pc}\filcenter\normalfont} { \minimalist_apply_title_numbering_style:n { \thecontentslabel } \nopagebreak\\\nopagebreak\uppercase} {} {} % without page number [\addvspace{.5pc}] \bool_if:NTF \l__minimalist_is_book_bool { \titlecontents{chapter} [2em] % i.e., 0em (part) + 2em {\addvspace{.5pc}\normalfont} {\contentslabel[ \minimalist_apply_title_numbering_style:n { \thecontentslabel } ]{2em}} {\hspace*{-2em}} {\titlerule*[1em]{\textcolor{main-text!15!paper}{.}}\contentspage} \titlecontents{section} [4em] % i.e., 2em (chapter) + 2em {\normalfont} {\contentslabel[\textcolor{main-text!27!paper}{\small\g_minimalist_section_decoration_char_tl}\,\textcolor{main-text!90!paper}{ \minimalist_apply_title_numbering_style:n { \thecontentslabel } }\,\textcolor{main-text!27!paper}{\small\g_minimalist_section_decoration_char_tl}]{2em}} {\hspace*{-2em}} {\titlerule*[1em]{\textcolor{main-text!15!paper}{.}}\contentspage} \titlecontents{subsection} [7em] % i.e., 4em (section) + 3em {\normalfont} {\contentslabel[ \minimalist_apply_title_numbering_style:n { \thecontentslabel } ]{2.75em}} {\hspace*{-2.75em}} {\titlerule*[1em]{\textcolor{main-text!15!paper}{.}}\contentspage} \titlecontents{subsubsection} [9.5em] % i.e., 7em (subsection) + 3.5em {\normalfont} {\contentslabel[ \minimalist_apply_title_numbering_style:n { \thecontentslabel } ]{3.25em}} {\hspace*{-3.25em}} {\titlerule*[1em]{\textcolor{main-text!15!paper}{.}}\contentspage} } { \titlecontents{section} [2em] % i.e., 0em (part) + 2em {\normalfont} {\contentslabel[ \minimalist_apply_title_numbering_style:n { \thecontentslabel } ]{1.75em}} {\hspace*{-1.75em}} {\titlerule*[1em]{\textcolor{main-text!15!paper}{.}}\contentspage} \titlecontents{subsection} [4.5em] % i.e., 2em (section) + 2.5em {\normalfont} {\contentslabel[ \minimalist_apply_title_numbering_style:n { \thecontentslabel } ]{2.25em}} {\hspace*{-2.25em}} {\titlerule*[1em]{\textcolor{main-text!15!paper}{.}}\contentspage} \titlecontents{subsubsection} [7.5em] % i.e., 4.5em (subsection) + 3em {\normalfont} {\contentslabel[ \minimalist_apply_title_numbering_style:n { \thecontentslabel } ]{2.75em}} {\hspace*{-2.75em}} {\titlerule*[1em]{\textcolor{main-text!15!paper}{.}}\contentspage} } %%================================ %% Lists %%================================ \RequirePackage { enumitem } \setlist{noitemsep} \setlist[enumerate]{labelsep=*, leftmargin=*} \setlist[enumerate,1]{label=\arabic*$)$, ref = \arabic*$)$} \setlist[enumerate,2]{label=\emph{\roman*}$)$, ref = \arabic{enumi}.\emph{\roman*}$)$} \setlist[enumerate,3]{label=\emph{\alph*}$)$, ref = \arabic{enumi}.\emph{\roman{enumii}}.\emph{\alph*}$)$} \setlist[description]{font=\normalfont\minimalist_bfseries:} \newcommand\desculine{\colorlet{currentcolor}{.}\bgroup\markoverwith{\color{currentcolor!55!paper} \rule[-.45ex]{2pt}{.75pt}}\ULon} \renewcommand{\descriptionlabel}[1]{ \hspace{\labelsep}\normalfont\desculine{#1} } \setlist[itemize]{leftmargin=*} \AddLanguageSetting { \setlist[itemize,1]{label=\colorlet{currentcolor}{.}\textcolor{currentcolor!27!paper}{$\bullet$}} } \AddLanguageSetting [french] { \setlist[itemize,1]{label=\colorlet{currentcolor}{.}\textcolor{currentcolor!55!paper}{---}} } \setlist[itemize,2]{label=\colorlet{currentcolor}{.}\textcolor{currentcolor!27!paper}{--}} \setlist[itemize,3]{label=\colorlet{currentcolor}{.}\textcolor{currentcolor!27!paper}{\texttt{*}}} %%================================ %% Blank page %%================================ \projlib_langauge_define_multilingual_text:Nn \bl@nkpagetext { , EN = This~page~is~intentionally~left~blank , FR = Cette~page~a~été~intentionellement~laissée~vide , DE = Diese~Seite~wurde~absichtlich~leer~gelassen , IT = Questa~pagina~è~stata~lasciata~vuota~intenzionalmente , PT = Esta~página~foi~intencionalmente~deixada~em~branco , BR = Esta~página~foi~intencionalmente~deixada~em~branco , ES = Esta~página~se~ha~dejado~intencionadamente~en~blanco , CN = \ziju{0.2} 此页为有意留为空白 , TC = \ziju{0.2} 此頁為有意留為空白 , JP = このページは意図的に空白にしてあります , RU = Эта~страница~намеренно~оставлена~пустой } \renewcommand{\cleardoublepage}{ \relax \clearpage \if@twoside\ifodd\c@page\relax\else \thispagestyle{empty} \hook_gput_next_code:nn { shipout/background } { \put(0.5\paperwidth,-0.5\paperheight){ \makebox[0pt]{\large\color{main-text!10!paper}\g_minimalist_title_font_common_tl\bl@nkpagetext}} } \null\newpage\fi\fi } %%================================ %% Index %%================================ \RequirePackage { imakeidx } \makeindex[intoc] \RequirePackage { silence } \ExplSyntaxOff \WarningFilter{latex}{Writing or overwriting file} \begin{filecontents*}[overwrite]{\jobname.mst} delim_0 "\\IndexDotfill " % Filler between section heading and page number delim_1 "\\IndexDotfill " % Filler between subsection heading and page number headings_flag 1 heading_prefix "\\IndexHeading{" heading_suffix "}\n" \end{filecontents*} \ExplSyntaxOn \projlib_langauge_define_multilingual_text:Nn \index_symbols_name { , EN = Symbols , FR = Symboles , DE = Symbole , IT = Simboli , PT = Símbolos , BR = Símbolos , ES = Símbolos , CN = 符号 , TC = 符號 , JP = 記号 , RU = Символы } \newcommand*{\IndexDotfill} { \nobreakspace\nobreakspace \titlerule*[.67em]{\textcolor{main-text!15!paper}{.}} \nobreakspace\nobreakspace } \newcommand*{\IndexHeading}[1] { \str_if_eq:nnTF { #1 } { Symbols } { \tl_set:Nn \l_tmpa_tl { \index_symbols_name } } { \tl_set:Nn \l_tmpa_tl { #1 } } \centerline{ \g_minimalist_title_font_common_tl \minimalist_apply_title_numbering_style:n { \l_tmpa_tl } } \nopagebreak \par \vspace{.3\baselineskip} } \renewcommand*{\indexspace} { \par \vspace{2pc~plus~.5pc~minus~.3pc} } \hook_gput_code:nnn { begindocument/before } { minimalist } { \hook_gput_code:nnn { cmd/printindex/before } { minimalist } { \LocallyStopLineNumbers } \hook_gput_code:nnn { cmd/printindex/after } { minimalist } { \ResumeLineNumbers } } %%================================ %% Draft mark %%================================ \RequirePackage { projlib-draft } %%================================ %% Theorems %%================================ \RequirePackage { mathtools } \RequirePackage { amsthm } \def\simpleqedsymbol{ \makebox[1em]{\rlap{\textcolor{main-text!12!paper}{\rule[-0.1em]{.95em}{.95em}}}{\kern.07em\raisebox{.07em}{\textcolor{paper}{\rule[-0.1em]{.81em}{.81em}}}\kern.07em}}} \bool_if:NTF \l__minimalist_theorem_in_new_line_bool { \newtheoremstyle{simple} {.5\baselineskip}{.5\baselineskip} {\normalfont}{} {\normalfont}{} {\newline} { \global\let\qedsymbol\simpleqedsymbol {\thmname{#1}\nobreakspace\thmnumber{#2}} \thmnote{\hspace{.4em}\textcolor{main-text!27!paper}{ \l_minimalist_sep_bar }\hspace{.4em}\color{main-text!50!paper}\ensuremath{(\text{#3})}} \smallskip \pushQED{\qed} } } { \newtheoremstyle{simple} {.5\baselineskip}{.5\baselineskip} {\normalfont}{} {\normalfont}{} {0pt} { \global\let\qedsymbol\simpleqedsymbol {\thmname{#1}\nobreakspace\thmnumber{#2}}\hspace{.4em} \textcolor{main-text!27!paper}{ \l_minimalist_sep_bar }\hspace{.4em} \color{main-text!50!paper}\thmnote{\ensuremath{(\text{#3})}\nobreakspace\nobreakspace} \pushQED{\qed} } } \def\@endtheorem{\global\let\qedsymbol\simpleqedsymbol \popQED\endtrivlist\@endpefalse \global\let\qedsymbol\qedsymbolOriginal} \theoremstyle{simple} \renewcommand{\qedsymbol}{ \makebox[1em]{\color{main-text!27!paper}\rule[-0.1em]{.95em}{.95em}}} \let\qedsymbolOriginal\qedsymbol \bool_if:NTF \l__minimalist_fast_bool { \providecommand{\phantomsection}{} \RequirePackage { url } \providecommand{\href}[2]{#2} \providecommand{\texorpdfstring}[2]{#1} } { \RequirePackage { hyperref } \RequirePackage { bookmark } \hypersetup{ hidelinks, linktoc = all } \bookmarksetup{ numbered } \renewcommand\Hy@numberline[1]{#1.~} } \RequirePackage { projlib-theorem } \exp_args:No \SetTheorem { \c_projlib_theorem_supported_clist } { name style = { , heading style = { , english = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , french = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , ngerman = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , italian = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , portuguese = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , brazilian = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , spanish = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , schinese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , tchinese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , japanese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , russian = \minimalist_bfseries:\g_minimalist_title_font_common_tl } } } \SetTheorem { remark } { name style = { , heading style = { , english = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , french = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , ngerman = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , italian = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , portuguese = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , brazilian = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , spanish = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , russian = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , schinese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , tchinese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , japanese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , russian = \minimalist_bfseries:\g_minimalist_title_font_common_tl } } } \bool_if:NF \l__projlib_theorem_complexname_bool { \exp_args:No \SetTheorem { \c_projlib_theorem_supported_clist } { name style = { , crefname style = { , english = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , french = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , ngerman = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , italian = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , portuguese = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , brazilian = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , spanish = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , schinese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , tchinese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , japanese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , russian = \minimalist_bfseries:\g_minimalist_title_font_common_tl } , Crefname style = { , english = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , french = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , ngerman = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , italian = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , portuguese = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , brazilian = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , spanish = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textsc , schinese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , tchinese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , japanese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , russian = \minimalist_bfseries:\g_minimalist_title_font_common_tl } , numbering style = { , english = \minimalist_bfseries:\g_minimalist_title_font_common_tl , french = \minimalist_bfseries:\g_minimalist_title_font_common_tl , ngerman = \minimalist_bfseries:\g_minimalist_title_font_common_tl , italian = \minimalist_bfseries:\g_minimalist_title_font_common_tl , portuguese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , brazilian = \minimalist_bfseries:\g_minimalist_title_font_common_tl , spanish = \minimalist_bfseries:\g_minimalist_title_font_common_tl , schinese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , tchinese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , japanese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , russian = \minimalist_bfseries:\g_minimalist_title_font_common_tl } } } \SetTheorem { remark } { name style = { , crefname style = { , english = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , french = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , ngerman = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , italian = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , portuguese = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , brazilian = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , spanish = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , russian = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , schinese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , tchinese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , japanese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , russian = \minimalist_bfseries:\g_minimalist_title_font_common_tl } , Crefname style = { , english = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , french = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , ngerman = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , italian = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , portuguese = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , brazilian = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , spanish = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , russian = \minimalist_bfseries:\g_minimalist_title_font_common_tl\textit , schinese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , tchinese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , japanese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , russian = \minimalist_bfseries:\g_minimalist_title_font_common_tl } , numbering style = { , english = \minimalist_bfseries:\g_minimalist_title_font_common_tl , french = \minimalist_bfseries:\g_minimalist_title_font_common_tl , ngerman = \minimalist_bfseries:\g_minimalist_title_font_common_tl , italian = \minimalist_bfseries:\g_minimalist_title_font_common_tl , portuguese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , brazilian = \minimalist_bfseries:\g_minimalist_title_font_common_tl , spanish = \minimalist_bfseries:\g_minimalist_title_font_common_tl , schinese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , tchinese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , japanese = \minimalist_bfseries:\g_minimalist_title_font_common_tl , russian = \minimalist_bfseries:\g_minimalist_title_font_common_tl } } } } \bool_if:NF \l__minimalist_fast_bool { \bool_if:NT \l__minimalist_theorem_in_new_line_bool { \PassOptionsToPackage { many } { tcolorbox } \RequirePackage { tcolorbox } \cs_new_protected:Nn \minimclass_box_environment:n { \hook_gput_code:nnn { env/#1/before } { minimalist } { \LocallyStopLineNumbers \begin { tcolorbox } [ enhanced~jigsaw, frame~hidden, interior~hidden, top = 0pt, bottom = 0pt, left = 0pt, right = 0pt, boxrule = 0pt, boxsep = 0pt, before~skip = \parskip+\topsep+.25\baselineskip, after~skip = \parskip+\topsep+.25\baselineskip, breakable, lines~before~break=3, ] } \hook_gput_code:nnn { env/#1/after } { minimalist } { \end { tcolorbox } \ResumeLineNumbers } } \exp_args:No \clist_map_inline:nn { \c_projlib_theorem_supported_clist } { \minimclass_box_environment:n { #1 } \minimclass_box_environment:n { #1 * } } } } %%================================ %% Title block style %%================================ \bool_if:NTF \l__minimalist_is_book_bool { \hook_gput_code:nnn { package/projlib-author/after } { minimalist } { \tl_gset:Nn \g__projlib_author_font_author_tl { \normalfont \scshape } \tl_gset:Nn \g__projlib_author_font_institute_tl { \large \normalfont } \tl_gset:Nn \g__projlib_author_font_address_tl { \large \normalfont \itshape } \tl_gset:Nn \g__projlib_author_font_curraddr_tl { \large \normalfont \itshape } \tl_gset:Nn \g__projlib_author_font_email_tl { \large \normalfont \ttfamily } } \RequirePackage { projlib-titlepage } \renewcommand{\maketitle}{ \LocallyStopLineNumbers \ProjLibTitlePage [ style = simple ] { , title = \@title , author = \@author , date = \@date } \ResumeLineNumbers } } { \renewcommand{\@maketitle} { \LocallyStopLineNumbers \noindent {\textcolor{main-text!27!paper}{\rule{\textwidth}{0.75pt}}} % \vspace{-\parskip} \vspace{-.5\baselineskip} \begin{flushright} \let\footnote\thanks {\minimalist_bfseries:\@title}\\\medskip \color{main-text!80!paper} {\small\scshape\@author} \par\vspace{-\parskip}\vspace{2pt} {\small\@date} \end{flushright} % \vspace{-\parskip} \vspace{-.5\baselineskip} \ifx\@date\@empty \vspace{\baselineskip} \vspace{1.2\parskip} \else \vspace{-.5\baselineskip} \fi {\textcolor{main-text!27!paper}{\rule{\textwidth}{0.75pt}}\par} \ResumeLineNumbers } \hook_gput_code:nnn { cmd/maketitle/after } { minimalist } { \thispagestyle{fancy} } %%================================ %% Abstract style %%================================ \renewenvironment{abstract} { \LocallyStopLineNumbers \begin{flushright} { \g_minimalist_title_font_section_tl \scshape \small\abstractname}\par \vspace{-\parskip} \vspace{-.25\baselineskip} \begin{minipage}[t]{.833\textwidth} \vspace{0pt} \color{main-text!80!paper} \footnotesize \parindent=2em } { \end{minipage} \end{flushright} \bigskip \ResumeLineNumbers } %%================================ %% Keyword environment %%================================ \DefineMultilingualText { \keywordname } { EN = Keywords , FR = Mots~clés , DE = Schlüsselwörter , IT = Parole~chiave , PT = Palavras~chave , BR = Palavras~chave , ES = Palabras~clave , CN = 关键词 , TC = 關鍵詞 , JP = キーワード , RU = Ключевые~слова , } \newenvironment{keyword}{ \LocallyStopLineNumbers \vspace{-.5\baselineskip} \begin{flushright} {\minimalist_bfseries:\scshape\small\keywordname}\par \vspace{-\parskip} \vspace{-.30\baselineskip} \begin{minipage}[t]{.833\textwidth} \vspace{0pt} \color{main-text!80!paper} \footnotesize \parindent=2em \raggedleft }{ \end{minipage} \end{flushright} \bigskip \ResumeLineNumbers } } % end of \bool_if:NTF \l__minimalist_is_book_bool %%================================ %% Simulate features of amsart %%================================ \PassOptionsToPackage { amsfashion } { projlib-author } \RequirePackage { projlib-author } \endinput %% %% End of file `minimalist/minimalist-classical.sty'.