SmtC: Show me the Code
Ole Peter Smith
Instituto de Matemática e Estatística
Universidade Federal de Goiás
http://www.olesmith.com.br

Programming with $\LaTeX$
O conhecimento adquirimos com os livros e os mestres.
A sabedoria aprendemos com o povo e os humildes.
Cora Coralina
< Prova I | Variables | Conditionals >

Defining Variables

  1. String or Text:

    \def{\Message}{\textbf {Please always enjoy}}

    ...

    \Message, \Message an \Message.
  2. A number (with TiKZ):

    \pgfmathparse{pi/4} \let\t\pgfmathresult;
    \pgfmathparse{2*(1-cos(\t))} \let\ft\pgfmathresult;
  3. List:

    \def\ns{1,2,4,7}
  4. Points:

    \coordinate (P) at (4,5);
< Prova I | Variables | Conditionals >
Messages:
0 secs.