summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/standalone/standalone.tex
blob: 4d1617fbe91077e715102367b98befd7494c1a49 (plain)
1
2
3
4
5
6
7
8
9
% $Id: standalone.dtx 2451 2011-04-07 11:40:38Z martin $
\ProvidesFile{standalone.tex}[2011/04/07 v0.4a 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