summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/standalone/standalone.tex
blob: 550f483bde46f26b2b7f72a62baf72baedc71564 (plain)
1
2
3
4
5
6
7
8
9
% $Id: standalone.dtx 1772 2010-03-27 13:50:59Z martin $
\ProvidesFile{standalone.tex}[2010/03/27 v0.3a 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