summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/standalone/standalone.tex
blob: ebc55aa08538529a07513a22f7515b500bf5f2b7 (plain)
1
2
3
4
5
6
7
8
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