[pstricks] conditional graphics

Tue Nov 10 09:05:33 CET 2015

Le 10/11/15 à 08h27, piatecki <cyrille.piatecki at univ-orleans.fr>
a écrit :

> I am writting a course and I want that some graphics appears in the
> text I give to my collegues but not in the text I give to my students.
>
> I am thinking of a command which take a general boolean parameter
> defined in the preambula and wich will be interpreted as the
> verbatim.sty command
>
> \begin{comment}                           %\begin{comment}
>                                            or
> \end{comment}                               %\end{comment}
>
> according to the value of the general parameter.
>
> I have tried to do this with ifhen.sty and other package which implement
> conditionals but, obviously, It doesn't work. Does somebody has an idea ?

You could use version' package. See e.g.:

┌────
│ http://tex.stackexchange.com/questions/276119/short-and-long-presentations-in-one-beamer-document/276506#276506
└────

> Thanks

You're welcome.
--
Denis

`