Next: , Previous: Texts -- Overview, Up: Creating texts

3.7.2 Texts – Examples

We will create some more examples of mathematical TeX text. Switch into the TeX text creating mode and write the following source text:


\noindent
\centerline{For which $a$ does the integral
$\int_0^\infty 1 - e^x - axe^{-x}{1 \over x} {\rm d}x$ converge?}
\centerline{Evaluate this expression for $a \in (-1, 1)$.}



Create an ordinary text “Mathematical TeX text” and place it below the created TeX text. Proceed with a vertical segment and an arrow on the top of it (the arrows

can be found in the View toolbar in the “Points, decorations” category). The resulting image looks like the one in the beginning of this section.

The following example demonstrates some of the large amount of TeX features which you can use in VRR as well:

The TeX source code for the previous image is:


\hsize=8cm\hoffset=1cm
\vsize=6cm\voffset=1cm
\parindent=0pt
\footline={\hfil 2005\hfil}
\leftline{\bf Rudyard Kipling}
\centerline{\it If\rm\footnote{\dag}{Rewards and Fairies}}
\vskip 0.5cm
\obeylines
If you can keep your head when all about you
Are losing theirs and blaming it on you,
If you can trust yourself when all men doubt you,
But make allowance for their doubting too;
If you can wait and not be tired by waiting,
Or being lied about, don't deal in lies,
Or being hated, don't give way to hating,
And yet don't look too good, nor talk too wise.