%\ProvidesPackage{RAFv4_PreambleV1}[2009-5-15 %This is to be the preamble for RAFv4] %As of 2009-08-08, this is the same as for RBAv3_PreambleV1-1 2009-5-15 %Begin ======================== PACKAGES ========================= %The following are absolutely for sure: \usepackage{lmodern} %See below \usepackage[T1]{fontenc} %See below %\usepackage{bold-extra} %\usepackage{pdfsync} \usepackage{graphicx} %controls the inclusion of graphics \usepackage{makeidx} %creates the Index \usepackage{nextpage} \let\cleartoevenpage\relax %to avoid conflict \usepackage{epigraph} %conflicts with nextpage (both are Wilson packages) \usepackage{amsmath} %from the installation? \usepackage{amsthm} %from the installation? \usepackage{amssymb} %from the installation? \usepackage{amscd} %from the installation? \usepackage{mathtools} % \usepackage[all]{xy} %causes error \object already defined \usepackage{stmaryrd} %must be loaded AFTER amssymb %============================ % \usepackage{todo} %allows to place todo notes which turn up at the end. %============================ %The following are absolutely for sure \usepackage{array} \usepackage{enumerate} \usepackage{booktabs} \usepackage[neveradjust]{paralist}% % [neveradjust]%standard indentation used in all cases. Thus labels that are too wide will extend into the left margin % %[alwaysadjust]%ensures that the lefy margin is always at least as wide as the default setting % {paralist}%This is the name of the package. \usepackage{dcolumn} \newcolumntype{.}{D{.}{.}{-1}} \usepackage{colortbl} \usepackage{multirow} \usepackage{hhline} \usepackage{longtable} \usepackage{boxedminipage} % \usepackage{url} %Hyperref has its own \url{} (which gets used) Ð and Arseneau's \url{} is fragile. \usepackage{ulem} \usepackage{fancyvrb} \usepackage{fancybox} \usepackage{cancel} \usepackage{relsize} \usepackage{arrayjobx} \newcounter{numjob}%Allows arrayjobx to use \finkbase for the CheckableItems %%%%====================== %\begin{center} %$ %\text{\textsc{both}} %\begin{cases} %x = x_{1} %\\ %x = x_{2} %\end{cases} %$ %(with the \emph{condition} that $x_{1} \not= x_{2}$) %\end{center} %%%%====================== % \usepackage[latexingraphics]{sysquake} % \usepackage{epstopdf} %required for sysquake \usepackage{ifthen} \usepackage{calc} \usepackage{forloop} \usepackage{polynomial} \usepackage{polynom} \usepackage{datetime} \usepackage{probsoln} \usepackage{fink} \usepackage{trace}%Required by AssessmentDocumentMaker %============================ %The following seems unnecessary: Arsenau disowned titleref for nameref which is in hyperref %\usepackage[]{titleref}%usetoc makes the inline chapter tocs %%\usepackage{lmodern} %%\usepackage[T1]{fontenc} %\usepackage{textcomp} %============================ %\usepackage[usenames]{color} %\usepackage[dvipsnames]{color} %%``LaTeX Error: Option clash for package color.'' With what????? %============================ %The following may or may not be used \usepackage{pifont} %used? \usepackage{prettyref} %used? \usepackage[dotinlabels]{titletoc}%a companion to the titlesec package \usepackage[hyperfootnotes=false]{hyperref}%[pdfborder={0 0 0}] \usepackage{showidx} %inserts indexed terms in the current margin Needs to appear after hyperref %========================= PACKAGES ========================= End %The following is to allow an occasional list in the middle of a chapter \newcommand{\ListName}% {%Begin definition Name }%End definition \newcounter{NamedListCount} \newenvironment{NamedList} {% begin definition begin environment \begin{list}% {%begin format labels \bfseries{\ListName}\;\Alph{NamedListCount}. }%end format labels {%begin what counter use \usecounter{NamedListCount} }%end what counter use }% end definition begin environment {%begin definition end environment \end{list}% }% end definition end environment %=============================================== \titlecontents{chapter}%Type of sectioning command is CHAPTER [6pc]%Indentation from the left margin. NOT AN OPTIONAL ARGUMENT {%begin code to be executed before entry is typeset \addvspace{1pc}%Vertical space \bfseries%Affects the title % \titlerule[2pt] \filright% }%end code to be executed before entry is typeset {%begin format numbered entries---in horizontal mode \contentslabel%The number of the entry [% \chaptername% \ %this slash puts a space between Chapter and number \thecontentslabel% ]% {6pc}%Space between entry number and entry title }%end format numbered entries---in horizontal mode {%begin format numberless entries---in horizontal mode }%end format numberless entries---in horizontal mode {%begin dotted line and page number \hfill% \contentspage% }%end dotted line and page number [% \addvspace{2pt}%Vertical space between entry and list of subentries ]% \newcommand\xquad {\hspace{0.4em plus .2em minus .2em}} \titlecontents*{p-section}%Type of sectioning command is SECTION [0pt]%Indentation from the left margin. NOT AN OPTIONAL ARGUMENT {%begin code to be executed before entry is typeset \filright% \small }%end code to be executed before entry is typeset {%begin format numbered entries---in horizontal mode }%end format numberless entries---in horizontal mode {%begin format numberless entries---in horizontal mode }%end format numberless entries---in horizontal mode {%begin dotted line and page number , %~%this tilde puts a space after the comma \thecontentspage }%end dotted line and page number [%begin \xquad% -- \xquad ]%end [%begin . ]%end % [%begin % ]%end \newcommand{\ChapterToc}% {%Begin definition \startcontents[chapters] \printcontents[chapters]{p-}{1}{} \vspace{10mm} }%End definition %%Begin =========== NEW COMMANDS AND NEW ENVIRONMENTS =========== %Absolutely for sure %begin-----------------------------------PRINT TIME of RUN----------------------------------------- %uses package calc %is used by package asdefs??? \newcounter{hours} \newcounter{minutes} \newcommand{\printtime} {%begin definition \setcounter{hours}{\time/60}% \setcounter{minutes}{\time-\value{hours}*60}% \thehours:\theminutes% }%end definition %------------------------------------------PRINT TIME of RUN-------------------------------------end %\begin----------------------------INTERITEMTEXT--Michel Bovani------------------------------ \makeatletter \newcommand{\interitemtext}[1]{% \begin{list}{} {\itemindent=0mm\labelsep=0mm \labelwidth=0mm\leftmargin=0mm \addtolength{\leftmargin}{-\@totalleftmargin}} \item #1 \end{list}} \makeatother %-----------------------------------------INTERITEMTEXT---------------------------------------end %begin---------------------------------Font for DENOMINATOR----------------------------------- \DeclareMathAlphabet{\denom}{T1}{lmss}{sbc}{n} %------------------------------------------ Font for DENOMINATOR-------------------------------end %%begin---------------------------MARGIN NOTES (Ask Nelly Practex 2005 Vol1.)--------------- %\newcommand{\query}[1]% % {%begin definition % \marginpar{% % \vskip-\baselineskip %raise the marginpar a bit % \raggedright % \footnotesize % \color{red} % \itshape % \hrule\smallskip#1\par\smallskip\hrule% % }% % }%end definition % %\newcommand{\removequeries}% % {%begin definition % \renewcommand{\query}[1]{}% % }%end definition %%------------------------------------------MARGIN NOTES------------------------------------------end %begin----------------------------CHECKED BOX Ross Moore------------------------------------- \newcommand{\checkedbox}[1]{{% \setbox0=\hbox{\kern+.1em\textsf{#1}\kern+.1em}\dp0=0pt% \setbox0=\hbox{\hsize=\wd0\vbox{\hrule\box0\hrule}}% \hbox{\dimen0=\ht0 \dimen2=\dp0\relax \vrule height\dimen0 depth\dimen2 width .5pt% \box0% \vrule height\dimen0 depth\dimen2 width .5pt% }}} %---------------------------------------CHECKED BOX-------------------------------------------end %Begin -----------------------------------EEXAMPLE Environment-------------------------------- \newcounter{eex}[chapter] \newenvironment{EEXAMPLE}% {%begin definition \textsf{%begin sanserif for EXAMPLE \bfseries% {%begin boldface of EXAMPLE E\smaller{XAMPLE}\hspace{1.5mm}% }%end boldface of EXAMPLE \refstepcounter{eex}% \theeex% .% \hspace{2.5mm}% }%end sanserif for EXAMPLE \small\sffamily}%end definition {\par}%return carriage after the example. %---------------------------------------EEXAMPLE Environment---------------------------------end \newenvironment{note}% {%begin definition \textsf{%begin sanserif for NOTE \bfseries% {%begin blodface of NOTE N\smaller{OTE.}\hspace{1.5mm}% }%end boldface of NOTE }%end sanserif for NOTE \small\sffamily}%end definition {\par}%return carriage after the example. %=================================== %The following is probably used %Begin ====================== SET DEFAULTS ======================== \setdefaultenum{\bfseries 1.}{\hspace*{2.pc} \bfseries a.}{\bfseries i.}{} %controls asparaenum \setdefaultleftmargin{5mm}{6mm}{7mm}{8mm}{}{} % controls indent on compactitem %End ======================= SET DEFAULTS ========================= %The following is probably not used in RAF but may as well stay here since it is a ``font'' \newcommand{\odiv}{\raisebox{-0.16em}{\includegraphics[scale=0.90]{odiv}}} \newcommand{\boxdiv}{\raisebox{-0.16em}{\includegraphics[scale=0.90]{boxdiv}}} %============================================ %================================================================== % Below is to be modified/eliminated - Below is to be modified/eliminated %================================================================== %begin-------------------------------NEW COMMANDS------------------------------------------- \newcommand{\object}[1]{\textbf{\textit{#1}}} \newcommand{\NUMBER}[1]{\textsc{#1}} \newcommand{\SUBJECT}[1]{\textsc{#1}} \newcommand{\STATEMENT}[1]{\textit{#1}} \newcommand{\EXAMPLE}[1]{\textsf{\small{#1}}} % \newcommand{\scbf}[2]{{\bfseries\sffamily #1\textsmaller[2]{#2}}\normalfont} \newcommand{\NewTerm}[1]{\textbf{#1}\index{#1}} % \newcommand{\NewTerm}[1]{\textbf{#1}\index{#1}\marginpar{#1}} \newrefformat{sec}{Section~\ref{#1}} % \labelformat{section}{section~#1} %Does not seem to work. Replaced by newrefformat? \newcolumntype{d}[1]{D{.}{.}{#1}} %end NEW COMMANDS \theoremstyle{plain} %italic body text \newtheorem{default}{DEFAULT RULE \#} %places a # in front of the number % \thm@notefont{\bfseries}%This is for the name in named theorem to be boldfaced. Does not work as is: ``Undefined control sequence \thm'' \newtheorem{theorem}{THEOREM} % \newtheorem{theorem}{GENERAL STATEMENT \#} \theoremstyle{definition} % \newtheorem*{note}{{\small NOTE}}%Replaced by a new environment \newtheorem{defn}{Definition} \newtheorem{QUESTION}{QUESTION} \newtheorem{question}{Question} \newtheorem{thm}{Theorem} \theoremstyle{remark} \newtheorem{xpl}{Example} \newtheorem{exercise}{\bfseries Exercise}[chapter] \newtheorem{problem}{Problem}[chapter] \bibliographystyle{plain} \normalem \makeindex %The following are probably to be gotten rid of %The following are parameters for vspace \newcommand{\Va}{0mm} \newcommand{\Vb}{0mm} \newcommand{\Vc}{0mm} \newcommand{\Vd}{0mm} \newcommand{\Ve}{0mm} \newcommand{\Vf}{0mm} \newcommand{\Vg}{0mm} \newcommand{\Vh}{0mm} \newcommand{\Vi}{0mm} \newcommand{\Vj}{0mm} %The following are parameters for hspace \newcommand{\Ha}{0mm} \newcommand{\Hb}{0mm} \newcommand{\Hc}{0mm} \newcommand{\Hd}{0mm} \newcommand{\He}{0mm} \newcommand{\Hf}{0mm} \newcommand{\Hg}{0mm} \newcommand{\Hh}{0mm} \newcommand{\Hi}{0mm} \newcommand{\Hj}{0mm} %The following are parameters for raisebox \newcommand{\Ra}{0mm} \newcommand{\Rb}{0mm} \newcommand{\Rc}{0mm} \newcommand{\Rd}{0mm} %\newcommand{\Re}{0mm}%Claimed to have been already defined %The following are parameters for scale of graphics \newcommand{\Sa}{1.0} \newcommand{\Sb}{1.0} \newcommand{\Sc}{1.0} \newcommand{\Sd}{1.0} %sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss %sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss %sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss %sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss %EVERYTHING BELOW IS COMMENTED OUT %sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss %sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss %sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss %sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss % \renewcommand\theTitleReference[2]{\bfseries{#1}\ \emph{#2}} %%Labelling scheme %%Schremmer %% \newcommand{\Section}[1]{\section{#1}\label{\thesection}} %%PeterPagin April 5, 2008 5:03:27 PM EDT % \newcounter{seclabel} % \newcommand{\Section}[1]{\section{#1}\label{\theseclabel}\stepcounter{seclabel}} %\newboolean{Results?} %BEGIN ======================= REPEATED OPERATIONS ============= %%This is used in RBA but probably not in RAF \newcounter{Rep} \newcounter{ic} \newlength{\RepLen} % Begin--------------------------------------Additive Power ---------------------------- \newcommand{\AdditivePower}[7][0]{% \setcounter{Rep}{#2}% \begin{center}% \forloop{ic}{0}{\value{ic} < #4}{% replacing ic by Rep iterates all the way up to the last argument instead of number of times = last argument \hspace{#1} \hspace{\RepLen}$\underbrace{\theRep\hspace{#6}+\hspace{#7}#3}$ \\% \setcounter{Rep}{#3+\value{Rep}}% \addtolength{\RepLen}{20pt+#5}}% \addtolength{\RepLen}{-20pt-#5}% \hspace{#1} \hspace{\RepLen} \theRep %This is the result on the last line \end{center}% }% %-------------------------------------Additive Power----------------------end %Begin --------------------------------Multiplicative Power-------------------------------- \newcommand{\MultiplicativePower}[7][0]{% \setcounter{Rep}{#2}% \begin{center}% \forloop{ic}{0}{\value{ic} < #4}{% replacing ic by Rep iterates all the way up to the last argument instead of number of times = last argument \hspace{#1} \hspace{\RepLen}$\underbrace{\theRep\hspace{#6}\times\hspace{#7}#3}$ \\% \setcounter{Rep}{#3*\value{Rep}}% \addtolength{\RepLen}{20pt+#5}}% \addtolength{\RepLen}{-20pt-#5}% \hspace{#1} \hspace{\RepLen} \theRep %This is the result on the last line \end{center}% }% %-------------------------------------Multiplicative Power----------------------end %%THE FOLLOWING, WHEN FIXED, COULD BE USED FOR DIVISION, NEG EXP %%Begin ------------------------------Repeated Addition-------------------------------- %\newcommand{\RepeatedAdd}[7][0]{% % \setcounter{Rep}{#2}% % \begin{center}% % \forloop{ic}{0}{\value{Rep}< #4}{% replacing Rep by ic iterates number of times = last argument instead of all the way up to the last argument % \hspace{#1} \hspace{\RepLen}$\underbrace{\theRep\hspace{#6}+\hspace{#7}#3}$ \\% % \setcounter{Rep}{#3+\value{Rep}}% % \addtolength{\RepLen}{20pt}}% % \addtolength{\RepLen}{-20pt}% % \hspace{#1} \hspace{\RepLen} % \theRep %This is the result on the last line % \end{center}% % } %%-------------------------------------Repeated Addition----------------------end %%Begin --------------------------------Repeated Multiplication-------------------------------- %\newcommand{\RepeatedMult}[7][0]{% % \setcounter{Rep}{#2}% % \begin{center}% % \forloop{ic}{0}{\value{Rep}< #4}{% replacing Rep by ic iterates by last argument instead of all the way up to the last argument % \hspace{#1} \hspace{\RepLen}$\underbrace{\theRep\hspace{#6}\times\hspace{#7}#3}$ \\% % \setcounter{Rep}{#3*\value{Rep}}% % \addtolength{\RepLen}{20pt+#5}}% % \addtolength{\RepLen}{-20pt-#5}% % \hspace{#1} \hspace{\RepLen} % \theRep %This is the result on the last line % \end{center}% % } %%-------------------------------------Repeated Multiplication----------------------end %%=============================== REPEATED OPERATIONS =====END %=================================================================== %=================================================================== %begin----------------INCLUDE EXERCISES versus INCLUDE FILE NAME---------------- %The command includeExercises which, up to V10, was defined as follows % \newboolean{includingExercises} % % defaults to false % \newcommand{\includeExercises}[1]{% % \ifthenelse{\boolean{includingExercises}} % {\input{#1}}{{\url{#1}} % }% % } %has been redefined as follows in order to avoid having in the text Section titles that involve the exercises url. %BUT THEN, IN THE HOMEWORKS, \includeExercises must be replaced by \include % \setboolean{includingExercises}{true} must be deleted %Probably will never be used as the text is not really text-like. % \newboolean{ExercisesInvolved?} % \newboolean{ExercisesIncluded?} % % \newcommand{\includeExercises}[1]% % {% % \ifthenelse{\boolean{ExercisesInvolved?}} % {% % \ifthenelse{\boolean{ExercisesIncluded?}} % {% % \section{Exercises}\input{#1}% % }% % {% % \section{Exercises}\url{#1}% % }% % }% % {% % }% % }% %----------------INCLUDE EXERCISES versus INCLUDE FILE NAME-------------------end %begin--------------INCLUDE PROBLEMS versus INCLUDE FILE NAME------------------- %The command includeProblems which, up to V10, was defined as follows % \newboolean{includingProblems} % \newcommand{\includeProblems}[1]{% % \ifthenelse{\boolean{includingProblems}} % {\input{#1}}{{\url{#1}} % }% % } %has been redefined as follows in order to avoid having in the text Section titles that involve the problems url. %BUT THEN, IN THE HOMEWORKS, \includeExercises must be replaced by \include % \setboolean{includingExercises}{true} must be deleted % \newboolean{ProblemsInvolved?} % \newboolean{ProblemsIncluded?} % % \newcommand{\includeProblems}[1]% % {% % \ifthenelse{\boolean{ProblemsInvolved?}} % {% % \ifthenelse{\boolean{ProblemsIncluded?}} % {% % \section{Problems}\input{#1}% % }% % {% % \section{Problems}\url{#1}% % }% % }% % {% % }% % }% %THIS REQUIRES THAT THE NEW BOOLEANS BE ENTERED IN ADJUSTMENTS TO DOCUMENT %-----------------INCLUDE PROBLEMS versus INCLUDE FILE NAME----------------end %begin----------------INCLUDE MORE TEXT versus INCLUDE FILE NAME---------------- %The command includeMoreText which, up to V10, was defined as follows % \newboolean{includingMoreText} % % defaults to false % \newcommand{\includeMoreText}[1]{% % \ifthenelse{\boolean{includingMoreText}} % {\input{#1}}{{\url{#1}} % }% % } %has been redefined as follows %BUT THEN, IN THE HOMEWORKS, \includeMoreText must be replaced by \include % \setboolean{includingMoreText}{true} must be deleted % \newboolean{MoreTextInvolved?} % \newboolean{MoreTextIncluded?} % % \newcommand{\includeMoreText}[1]% % {% % \ifthenelse{\boolean{MoreTextInvolved?}} % {% % \ifthenelse{\boolean{MoreTextIncluded?}} % {% % \section{More Text}\input{#1}% % }% % {% % \section{More Text}\url{#1}% % }% % }% % {% % }% % }% %THIS REQUIRES THAT THE NEW BOOLEANS BE ENTERED IN ADJUSTMENTS TO DOCUMENT %----------------INCLUDE MORE TEXT versus INCLUDE FILE NAME-------------------end %begin------------INCLUDE MORE EXERCISES versus INCLUDE FILE NAME-------------- %The command includeMoreExercises which, up to V10, was defined as follows % \newboolean{includingMoreExercises} % % defaults to false % \newcommand{\includeMoreExercises}[1]{% % \ifthenelse{\boolean{includingMoreExercises}} % {\input{#1}}{{\url{#1}} % }% % } %has been redefined as follows %BUT THEN, IN THE HOMEWORKS, \includeExercises must be replaced by \include % \setboolean{includingExercises}{true} must be deleted % \newboolean{MoreExercisesInvolved?} % \newboolean{MoreExercisesIncluded?} % % \newcommand{\includeMoreExercises}[1]% % {% % \ifthenelse{\boolean{MoreExercisesInvolved?}} % {% % \ifthenelse{\boolean{MoreExercisesIncluded?}} % {% % \section{More Exercises}\input{#1}% % }% % {% % \section{More Exercises}\url{#1}% % }% % }% % {% % }% % }% %THIS REQUIRES THAT THE NEW BOOLEANS BE ENTERED IN ADJUSTMENTS TO DOCUMENT %-------------INCLUDE MORE EXERCISES versus INCLUDE FILE NAME---------------end %begin----------INCLUDE MORE PROBLEMS versus INCLUDE FILE NAME--------------- %The command includeMoreProblems which, up to V10, was defined as follows % \newboolean{includingMoreProblems} % % defaults to false % \newcommand{\includeMoreProblems}[1]{% % \ifthenelse{\boolean{includingMoreProblems}} % {\input{#1}}{{\url{#1}} % }% % } %has been redefined as follows %BUT THEN, IN THE HOMEWORKS, \includeExercises must be replaced by \include % \setboolean{includingExercises}{true} must be deleted % \newboolean{MoreProblemsInvolved?} % \newboolean{MoreProblemsIncluded?} % % \newcommand{\includeMoreProblems}[1]% % {% % \ifthenelse{\boolean{MoreProblemsInvolved?}} % {% % \ifthenelse{\boolean{MoreProblemsIncluded?}} % {% % \section{More Problems}\input{#1}% % }% % {% % \section{More Problems}\url{#1}% % }% % }% % {% % }% % }% %THIS REQUIRES THAT THE NEW BOOLEANS BE ENTERED IN ADJUSTMENTS TO DOCUMENT %-------------INCLUDE MORE PROBLEMS versus INCLUDE FILE NAME--------------end %=================================================================== %=================================================================== %The folllowing Boolean is needed for ReviewsToBePhasedOut > 017v1-2-offReviewQuestions % \newboolean{ReviewWithSolutions} %================================================================== % Above is definitive - Above is definitive - Above is definitive - Above is definitive %================================================================== %============ NEW COMMANDS AND NEW ENVIRONMENTS ============End %Begin ======================== STYLES =========================== %End ========================== STYLES =========================== % %begin MODEL THEORETIC %\newenvironment{semantic}{\setdefaultitem{$\spadesuit$}{}{}{}\begin{compactitem}}{\end{compactitem}} % \newenvironment{syntactic}{\setdefaultitem{\ding{118}}{}{}{}\begin{compactitem}}{\end{compactitem}} % %end MODEL THEORETIC %Begin =============== Automatic SWITCHES ======================== %begin---------Automatic PDF switch for moving from OS X to Wintel--------------- % \newif\ifpdf % \ifx\pdfoutput\undefined % \pdffalse % we are not running PDFLaTeX % \else % \pdfoutput=1 % we are running PDFLaTeX % \pdftrue % \fi % \ifpdf % \usepackage{pdfsync} % \else % \usepackage{srcltx} % \fi %end---------Automatic PDF switch for moving from OS X to Wintel--------------- % =============== Automatic SWITCHES ===========================End %begin--------------------------------insertExercises------------------------------------------------ % \newtheorem{exercise}{Exercise}[chapter] % % \newcommand{\exinput}[3][]{% includes an exercise % % #1 = optional indicator for hard exercises % % #2 = title % % #3 = file name where the exercise is stored % \begin{exercise}[]{}% % \input{#3}% % \end{exercise}% % } % \newboolean{insertingExercises} % % defaults to false % \newcommand{\insertExercises}[1]{% % % This includes the EXERCISES. To replace the EXERCISES by their FILE NAME, comment OUT the Boolean in the ADJUSTMENTS to DOCUMENT % \ifthenelse{\boolean{insertingExercises}} % % if true, do the first thing, otherwise the second. % {% % \exinput{}{#1}% true part % }{% % {\url{#1}}% else part % }% % } %----------------------------------------insertExercises------------------------------------------end %=+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+= %end MyPreamble === end MyPreamble === end MyPreamble === end MyPreamble %=+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+==+=