-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathstandalone.cfg
More file actions
56 lines (50 loc) · 1.6 KB
/
standalone.cfg
File metadata and controls
56 lines (50 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
%
% \subsection{Config File}
% Default content of the configuration file. Users can override this by placing an own
% |standalone.cfg| file somewhere where \TeX\ can find it (user |texmf| directory or local directory).
% This user file can load the default config file using
% using |\InputIfFileExists{standalone/standalone.cfg}{}{}|.
% Be default only the |preview| package option are set and
% the navigation symbols of beamer standalones are disabled.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{standalone.cfg}[%
%<!DATE>
%<!VERSION>
%<*DRIVER>
2099/01/01 develop
%</DRIVER>
Default configuration file for 'standalone' class]%
% \begin{macrocode}
% \end{macrocode}
%
% \begin{macrocode}
%% Enabled the "varwidth" option if the "varwidth" package is available:
%%\IfFileExists{varwidth.sty}{%
%% \standaloneconfig{varwidth}%
%%}{}%
%% Default options:
\standaloneconfig{crop}
%% Option which 'preview' should be loaded with
%% (will be ignored outside preamble)
\expandafter\ifx\csname @notprerr\endcsname\PassOptionsToPackage\else
\PassOptionsToPackage{active,tightpage}{preview}%
\fi
%% Enable 'preview' option by default:
%%\standaloneconfig{preview}
%% Remove the border:
\standaloneconfig{border=0pt}
%% Default preview border (used by standalone v0.x):
%%\standaloneconfig{border=0.50001bp}
%% Disable navigation symbols in beamer.
%% This must be done AtEndOfClass because the options are not processed yet,
%% so "beamer" mode is not enabled yet.
\AtEndOfClass{%
\ifstandalonebeamer
\setbeamertemplate{navigation symbols}{}%
\fi
}
% \end{macrocode}
% \iffalse
%% vim: ft=tex
% \fi