conditional compilation ! use package ifthen

This commit is contained in:
Robin Clark 2010-06-07 09:30:08 +01:00
parent 31b4422e9d
commit f26d9336a1
3 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,9 @@
\abstract{
This paper discusses a two stage algorithm designed to greatly
This
\ifthenelse {\boolean{paper}}
{paper}
{chapter}
discusses a two stage algorithm designed to greatly
reduce the number of Area compare operations required to determine which zones are `available' in an Euler
diagram.

View File

@ -6,7 +6,9 @@
\usepackage{amsfonts,amsmath,amsthm}
\usepackage{algorithm}
\usepackage{algorithmic}
%\input{../style}
\usepackage{ifthen}
\newboolean{paper}
\setboolean{paper}{true} % boolvar=true or false
%\newtheorem{definition}{Definition:}

View File

@ -6,7 +6,9 @@
\usepackage{amsfonts,amsmath,amsthm}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{ifthen}
\newboolean{paper}
\setboolean{paper}{false} % boolvar=true or false
\input{style}
%\usepackage{hyperref}