|
@ -1,35 +1,35 @@ |
|
|
%% |
|
|
%% |
|
|
% Copyright (c) 2017 - 2019, Pascal Wagler; |
|
|
% Copyright (c) 2017 - 2019, Pascal Wagler; |
|
|
% Copyright (c) 2014 - 2019, John MacFarlane |
|
|
% Copyright (c) 2014 - 2019, John MacFarlane |
|
|
% |
|
|
% |
|
|
% All rights reserved. |
|
|
% All rights reserved. |
|
|
% |
|
|
% |
|
|
% Redistribution and use in source and binary forms, with or without |
|
|
% Redistribution and use in source and binary forms, with or without |
|
|
% modification, are permitted provided that the following conditions |
|
|
% modification, are permitted provided that the following conditions |
|
|
% are met: |
|
|
% are met: |
|
|
% |
|
|
% |
|
|
% - Redistributions of source code must retain the above copyright |
|
|
% - Redistributions of source code must retain the above copyright |
|
|
% notice, this list of conditions and the following disclaimer. |
|
|
% notice, this list of conditions and the following disclaimer. |
|
|
% |
|
|
% |
|
|
% - Redistributions in binary form must reproduce the above copyright |
|
|
% - Redistributions in binary form must reproduce the above copyright |
|
|
% notice, this list of conditions and the following disclaimer in the |
|
|
% notice, this list of conditions and the following disclaimer in the |
|
|
% documentation and/or other materials provided with the distribution. |
|
|
% documentation and/or other materials provided with the distribution. |
|
|
% |
|
|
% |
|
|
% - Neither the name of John MacFarlane nor the names of other |
|
|
% - Neither the name of John MacFarlane nor the names of other |
|
|
% contributors may be used to endorse or promote products derived |
|
|
% contributors may be used to endorse or promote products derived |
|
|
% from this software without specific prior written permission. |
|
|
% from this software without specific prior written permission. |
|
|
% |
|
|
% |
|
|
% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
|
% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
|
% "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
|
% "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
|
% LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
|
|
% LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
|
|
% FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
|
|
% FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
|
|
% COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
|
% COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
|
% INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
|
|
% INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
|
|
% BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
|
|
% BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
|
|
% LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
|
|
% LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
|
|
% CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
|
% CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
|
% LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
|
% LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
|
% ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
|
% ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
|
% POSSIBILITY OF SUCH DAMAGE. |
|
|
% POSSIBILITY OF SUCH DAMAGE. |
|
|
%% |
|
|
%% |
|
|
|
|
|
|
|
@ -462,8 +462,6 @@ $endif$ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%% |
|
|
%% |
|
|
%% added |
|
|
%% added |
|
|
%% |
|
|
%% |
|
@ -511,7 +509,7 @@ $endif$ |
|
|
\PassOptionsToPackage{hyphens}{url} |
|
|
\PassOptionsToPackage{hyphens}{url} |
|
|
|
|
|
|
|
|
% |
|
|
% |
|
|
% When using babel or polyglossia with biblatex, loading csquotes is recommended |
|
|
% When using babel or polyglossia with biblatex, loading csquotes is recommended |
|
|
% to ensure that quoted texts are typeset according to the rules of your main language. |
|
|
% to ensure that quoted texts are typeset according to the rules of your main language. |
|
|
% |
|
|
% |
|
|
\usepackage{csquotes} |
|
|
\usepackage{csquotes} |
|
@ -540,7 +538,7 @@ $endif$ |
|
|
% Source Sans Pro as the default font family |
|
|
% Source Sans Pro as the default font family |
|
|
% Source Code Pro for monospace text |
|
|
% Source Code Pro for monospace text |
|
|
% |
|
|
% |
|
|
% 'default' option sets the default |
|
|
% 'default' option sets the default |
|
|
% font family to Source Sans Pro, not \sfdefault. |
|
|
% font family to Source Sans Pro, not \sfdefault. |
|
|
% |
|
|
% |
|
|
$if(mainfont)$ |
|
|
$if(mainfont)$ |
|
@ -549,7 +547,7 @@ $else$ |
|
|
\usepackage{sourcecodepro} |
|
|
\usepackage{sourcecodepro} |
|
|
|
|
|
|
|
|
% XeLaTeX specific adjustments for straight quotes: https://tex.stackexchange.com/a/354887 |
|
|
% XeLaTeX specific adjustments for straight quotes: https://tex.stackexchange.com/a/354887 |
|
|
% This issue is already fixed (see https://github.com/silkeh/latex-sourcecodepro/pull/5) but the |
|
|
% This issue is already fixed (see https://github.com/silkeh/latex-sourcecodepro/pull/5) but the |
|
|
% fix is still unreleased. |
|
|
% fix is still unreleased. |
|
|
% TODO: Remove this workaround when the new version of sourcecodepro is released on CTAN. |
|
|
% TODO: Remove this workaround when the new version of sourcecodepro is released on CTAN. |
|
|
\ifxetex |
|
|
\ifxetex |
|
@ -576,7 +574,7 @@ $if(beamer)$ |
|
|
$else$ |
|
|
$else$ |
|
|
\addtokomafont{section}{\color{heading-color}} |
|
|
\addtokomafont{section}{\color{heading-color}} |
|
|
$endif$ |
|
|
$endif$ |
|
|
% When using the classes report, scrreprt, book, |
|
|
% When using the classes report, scrreprt, book, |
|
|
% scrbook or memoir, uncomment the following line. |
|
|
% scrbook or memoir, uncomment the following line. |
|
|
%\addtokomafont{chapter}{\color{heading-color}} |
|
|
%\addtokomafont{chapter}{\color{heading-color}} |
|
|
|
|
|
|
|
@ -614,8 +612,8 @@ $if(tables)$ |
|
|
\endoldlongtable |
|
|
\endoldlongtable |
|
|
\global\rownum=0\relax} |
|
|
\global\rownum=0\relax} |
|
|
|
|
|
|
|
|
% Unfortunately the colored cells extend beyond the edge of the |
|
|
% Unfortunately the colored cells extend beyond the edge of the |
|
|
% table because pandoc uses @-expressions (@{}) like so: |
|
|
% table because pandoc uses @-expressions (@{}) like so: |
|
|
% |
|
|
% |
|
|
% \begin{longtable}[]{@{}ll@{}} |
|
|
% \begin{longtable}[]{@{}ll@{}} |
|
|
% \end{longtable} |
|
|
% \end{longtable} |
|
|