Latex

Conditions

Latex.Conditions History

Hide minor edits - Show changes to markup

January 26, 2010, at 06:52 PM by 77.193.122.185 -
Changed line 5 from:

Getting back to the genuine Tex commands is a more robust solution.

to:

Getting back to the genuine Tex commands appears a more robust solution.

January 26, 2010, at 06:52 PM by 77.193.122.185 -
Changed lines 3-5 from:

The \ifthenelse instruction provided by the ifthen package is a solution to deal with conditions but it is quite sensitive and does not stand verbatim environment or \verb command.

Getting back to genuine Tex commands is a more robust solution.

to:

The \ifthenelse instruction provided by the ifthen package is a solution to deal with conditions but it is quite sensitive and does not stand verbatim environment nor \verb command.

Getting back to the genuine Tex commands is a more robust solution.

January 26, 2010, at 06:51 PM by 77.193.122.185 -
January 26, 2010, at 06:51 PM by 77.193.122.185 -
Changed line 1 from:

Within a LaTeX document, it is possible to include conditions regarding the compilation of specific portions of the text.

to:

Within a LaTeX document, conditions regarding the compilation of specific portions of the text could be included

January 26, 2010, at 06:50 PM by 77.193.122.185 -
Added lines 1-27:

Within a LaTeX document, it is possible to include conditions regarding the compilation of specific portions of the text.

The \ifthenelse instruction provided by the ifthen package is a solution to deal with conditions but it is quite sensitive and does not stand verbatim environment or \verb command.

Getting back to genuine Tex commands is a more robust solution.

Exemple :

% define a condition
\newif\ifmycondition

\myconditiontrue
% define mycondition as true

% \myconditionfalse
% define mycondition as false


\ifmycondition
% if mycondition is true print this :
hello my condition is true
\else
% if mycondition is false print this :
hello my condition is false
\fi

There is not need to declare any special package

Green Marinee theme adapted by David Gilbert, powered by PmWiki