forked from XimeraProject/ximeraFirstSteps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreamble.tex
24 lines (22 loc) · 956 Bytes
/
preamble.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
\typeout{Start loading main preamble.tex}%
% Use preamble e.g. to load extra packages
% NOTE: in the medium-containers, NOT ALL PACKAGES ARE PRESENT!!!
\usepackage{xstring}
%
% This is a rather advanced example of using TeX-functionality
% First-time users should just skip reading this.
%
% With this code fragment, one gets BY DEFAULT OSU-style hints.
% BUT: if the filename contains the string Variant,
% then one gets the newer expandable hints
% Once the OSU server gets updated, all this will become obsolete.
\IfSubStr{\jobname}{\detokenize{Variant}}{
\typeout{Compiling NEW version for \jobname\ (with hint as expandable)}%
}{
\typeout{Compiling OSU version of hints for \jobname}%
% These variables give the OLD types of hints.
% In the (near) future, this should no longer be needed.
% Only for use with OSU server, and xake > v2.1.3
\def\xmNotHintAsExpandable{1}
\def\xmNotExpandableAsAccordion{1}
}