summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/standalone/standalone.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/standalone/standalone.tex')
-rw-r--r--Master/texmf-dist/tex/latex/standalone/standalone.tex9
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/standalone/standalone.tex b/Master/texmf-dist/tex/latex/standalone/standalone.tex
new file mode 100644
index 00000000000..ebc55aa0853
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/standalone/standalone.tex
@@ -0,0 +1,9 @@
+% $Id: standalone.dtx 1714 2010-03-22 14:44:37Z martin $
+\ProvidesFile{standalone.tex}[2010/03/22 v0.2 Provides if-switch to show if file is compiled standalone]%
+\expandafter\ifx\csname ifstandalone\endcsname\relax
+\expandafter\newif\csname ifstandalone\endcsname
+\expandafter\ifx\csname @twoclasseserror\endcsname\documentclass
+\else
+ \standalonetrue
+\fi
+\fi