Permalink
Browse files

wip for figures.

  • Loading branch information...
1 parent de40ebf commit 6690792fbd49134bd89d0a87c38331be694e19bc Christian Hergert committed Oct 29, 2012
Showing with 17 additions and 3 deletions.
  1. +13 −0 chapters/Makefile
  2. +4 −3 chapters/chapter1.tex
  3. BIN chapters/chapter1_fig1.dia
View
@@ -0,0 +1,13 @@
+all: chapter1.pdf
+
+chapter1_fig%.tex: chapter1_fig%.dia
+ dia -e chapter1_fig$*.tex -t tex chapter1_fig$*.dia
+
+chapter1.pdf: chapter1.tex chapter1_fig1.tex
+ pdflatex --shell-escape chapter1.tex
+
+clean:
+ rm -f *.out *.aux *.log chapter1_fig*.tex
+
+view:
+ evince chapter1.pdf
View
@@ -14,6 +14,7 @@
\usepackage{listings}
\usepackage{parskip}
\usepackage{graphicx}
+\usepackage{tikz}
\parskip 7.2pt
\newcommand{\versal}[1]{\noindent{\Huge #1\kern-.10em}}
@@ -209,9 +210,9 @@ \section{Integers}
that these are the lines inside of the curly braces \verb|{| and \verb|}|.
\begin{figure}
- \centering
- \def\svgwidth{100pt}
- \input{figure1.pdf_tex}
+ \centering
+ \input{chapter1_fig1}
+ \caption{Variable assignment}
\end{figure}
Lets look at the first line, \verb|int a = 42;|. This line declares a new
View
Binary file not shown.

0 comments on commit 6690792

Please sign in to comment.