text/article_preamble.tex
changeset 570 3a128dbe02fa
parent 561 77a80f91e214
child 875 85cebbd771b5
equal deleted inserted replaced
569:caa0a78ca860 570:3a128dbe02fa
     1 %auto-ignore
     1 %auto-ignore
     2 %this ensures the arxiv doesn't try to start TeXing here.
     2 %this ensures the arxiv doesn't try to start TeXing here.
     3 
     3 
     4 %!TEX root = ../blob1.tex
     4 %!TEX root = ../blob1.tex
     5 
     5 
     6 \input{\pathtotrunk preamble.tex}
     6 \ifpdf
     7 
     7 	\usepackage[pdftex,plainpages=false,hypertexnames=false,pdfpagelabels]{hyperref}
     8 \newtheorem{lemma}[prop]{Lemma}
     8 	\usepackage[pdftex]{graphicx}
     9 
     9 \else
    10 \usepackage[pdftex,plainpages=false,hypertexnames=false,pdfpagelabels]{hyperref}
    10 	\usepackage[plainpages=false,hypertexnames=false,pdfpagelabels]{hyperref}
    11 
    11 	\usepackage{graphicx}
    12 \usepackage{breakurl}
    12 \fi
    13 
       
    14 \usepackage[pdftex]{graphicx}
       
    15 
    13 
    16 %must load tikz after graphicx
    14 %must load tikz after graphicx
    17 \usepackage{tikz}
    15 \usepackage{tikz}
    18 \usetikzlibrary{shapes}
    16 \usetikzlibrary{shapes}
    19 \usetikzlibrary{backgrounds}
    17 \usetikzlibrary{backgrounds}
    20 \usetikzlibrary{decorations,decorations.pathreplacing}
    18 \usetikzlibrary{decorations,decorations.pathreplacing}
    21 \usetikzlibrary{fit,calc,through}
    19 \usetikzlibrary{fit,calc,through}
    22 
    20 
    23 \pgfrealjobname{blob1}
    21 \pgfrealjobname{blob1}
    24 
    22 
    25 \newtheorem{example}[prop]{Example}
    23 \makeatletter
       
    24 \@ifclassloaded{beamer}{}{%
       
    25 	\newtheorem{example}[prop]{Example}	% for compatibility with beamer
       
    26   }%
       
    27 \@ifclassloaded{pnastwo}
       
    28   {}
       
    29   {
       
    30 	\newtheorem{claim}[prop]{Claim}
       
    31 	\newtheorem{remark}[prop]{Remark}
       
    32 	\newtheorem{lemma}[prop]{Lemma}
       
    33   }%
       
    34 \makeatother
       
    35 
       
    36 
    26 
    37 
    27 \usepackage{color}
    38 \usepackage{color}
    28 
    39 
    29 % idea from tex-overflow
    40 % idea from tex-overflow
    30 \usepackage{xcolor}
    41 \usepackage{xcolor}