[gnome-university] c101: use verbatim fonts for everything but \Rightarrow.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-university] c101: use verbatim fonts for everything but \Rightarrow.
- Date: Mon, 12 Nov 2012 04:29:07 +0000 (UTC)
commit 30dc84b43e05c0e92a9a250376ff0635a1c999f8
Author: Christian Hergert <christian hergert me>
Date: Sun Nov 11 20:28:02 2012 -0800
c101: use verbatim fonts for everything but \Rightarrow.
c101/tex/chapter2.tex | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/c101/tex/chapter2.tex b/c101/tex/chapter2.tex
index 7558a28..2b546a3 100644
--- a/c101/tex/chapter2.tex
+++ b/c101/tex/chapter2.tex
@@ -139,8 +139,8 @@ You need not specify \verb|int| every time you want to assign to the variable, j
For example, look at the following code.
\begin{tabular}{l l}
-\verb|int x = 10 * 20;| & \verb|/*| $10 * 20 \Rightarrow 200 \Rightarrow x$ \verb|*/| \\
-\verb|x = x * 5;| & \verb|/*| $200 * 5 \Rightarrow 1000 \Rightarrow x$ \verb|*/| \\
+\verb|int x = 10 * 20;| & \verb|/* 10 * 20| $\Rightarrow$ \verb|200| $\Rightarrow$ \verb|x */| \\
+\verb|x = x * 5;| & \verb|/* 200 * 5| $\Rightarrow$ \verb|1000| $\Rightarrow$ \verb|x */| \\
\end{tabular}
On the first line we again assign \verb|200| to the variable \verb|x|.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]