summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/standalone/standalone.tex
blob: 5ce9193eb93f0c975f8612f037255034e695d910 (plain)
1
2
3
4
5
6
7
8
9
% $Id: standalone.dtx 1704 2010-03-21 19:25:13Z martin $
\ProvidesFile{standalone.tex}[2010/03/21 v0.1 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