% cr-formatting-setup.tex  
% CircuitousRoot LaTeX Formatting, 2023 Reworking, 
% House style "setup" macros
% Revision 1, 2023-01-03
%
% Copyright 2023 by Dr. David M. MacMillan.
% License:  LaTeX Project Public License Version 1.3c.
%           This work has the LPPL maintenance status 'unmaintained'.
%           This work consists of the files:
%           "cr-formatting-preamble-local.texfrag",
%           "cr-formatting-preamble.texfrag",
%           "cr-formatting-setup.texfrag", and
%           "cr-formatting-setup.texfrag".
%           See:  http://www.latex-project.org/lppl/
%           Note:  This work is described in a document,
%                  "cr-formatting-guide.tex" (CircuitousRoot LaTeX Formatting),
%                  which is licensed under the 
%                  Creative Commons Attribution 4.0 International license.

% Encoding:  UTF-8, Unicode
% Requires:  XeLaTeX (xelatex)

% Usage:
% This is a fragment of a TeX/LaTeX file.  It is intended to provide
% the setup for the CircuitousRoot LaTeX formatting (2023 reworking).
% To use it, \input it as the first thing after your document begins:
%
% \begin{document}
% \input{cr-formatting-setup.texfrag}
% \input{cr-formatting-setup-mylocaldocument.texfrag}
%
% You should also have copied and modified 
% "cr-formatting-preamble-local.texfrag" and \input it and
% "cr-formatting-preamble.texfrag" as the
% first non-comment statements of your LaTeX document:
%
%    \input{cr-formatting-preamble-mylocaldocument.texfrag}
%    \input{cr-formatting-preamble.texfrag}
%
% For complete usage notes, see the document "CircuitousRoot LaTeX Formatting,"
% which should have accompanied these macros.
%------------------------------------------------------------------------------

% Font Setup
%-----------
% (But xeCJK requires that CJK fonts must be set up in preamble.)

% Uncomment the %\iffalse ... %\fi to select a schme
% TeX Gyre Schola scheme
%\iffalse
\setmainfont{TeX Gyre Schola}    % based on URW Century Schoolbook; rm it bf
                                 % MF Benton, 1919.
\setsansfont{Gillius ADF No2}     % Arkandis
\setmonofont{TeX Gyre Cursor}
%\fi

% Libertinus Scheme
% Arch Linux:  libertinus-font
\iffalse
\setmainfont{Libertinus Serif}  % formerly Linux Libertine
\setsansfont{Libertinus Sans}   % formerly Linux Biolinum
\setmonofont[Scale=MatchLowercase]{Libertinus Mono}
                                % formerly Linux Libertine Mono
                                % Without the scaling, it is too large.
\fi

% Visual Structure (Sections, etc.)
%----------------------------------
\setcounter{secnumdepth}{5}


% Misc.
%------
\VerbatimFootnotes  % from fancyvrb; allows verb/verbatim in footnotes

