summaryrefslogtreecommitdiffstats
path: root/DemoMode.sty
blob: 7c10f0b00039c31e5a2a427eac02a1fd5b792c84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
\ProvidesPackage{DemoMode}[2015/08/19 v0.8 Demo mode]

% define a condition
\newif\ifdemo

\demofalse
% define demo as false

% \myconditionfalse
% define mycondition as false
\newcommand\conditionalinput[2]{
	\ifdemo
		\input{#1}
	\else
		\input{#2}
	\fi
}