summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/standalone/standalone.tex
blob: 251f6f6e175ea4cad83b4fd7435aaf939b647138 (plain)
1
2
3
4
5
6
7
8
9
% $Id: standalone.dtx 2194 2011-02-28 19:26:29Z martin $
\ProvidesFile{standalone.tex}[2010/02/28 v0.4 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