Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
uva
Commits
0e99818e
Commit
0e99818e
authored
Jan 05, 2011
by
Sander Mathijs van Veen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added graphviz graph to latex report.
parent
2a836811
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
8 deletions
+34
-8
portfolio/latex/Makefile
portfolio/latex/Makefile
+14
-8
portfolio/latex/graph.dot
portfolio/latex/graph.dot
+7
-0
portfolio/latex/latex-answers.tex
portfolio/latex/latex-answers.tex
+13
-0
No files found.
portfolio/latex/Makefile
View file @
0e99818e
# Sander van Veen - 6167969 - University of Amsterdam - <sandervv@gmail.com>
#
# Basic Makefile used to simplify the compilation. Running "make" (without any
# arguments) from the command line
is enough to build the repor
t.
# arguments) from the command line
will build the report for this assignmen
t.
#
all
:
highlight compile
all
:
highlight
graph
compile
clean
:
rm
-v
*
.out
*
.aux
*
.toc foo.tex latex-answers.pdf
rm
-v
*
.out
*
.aux
*
.toc foo.tex
graph.tex
latex-answers.pdf
compile
:
pdflatex
-interaction
=
nonstopmode latex-answers.tex
rm
-v
*
.log
rm
-v
f
*
.log
highlight
:
foo.tex
@
echo
"Highlighting done."
graph
:
graph.dot
highlight
:
foo.py
%.py
:
%.tex
pygmentize
-O
style
=
colorful
-o
$^
$@
%.dot
:
%.tex
dot2tex
--autosize
--usepdflatex
$@
|
\
sed
's/\\\(use\|enl\|doc\|page\|\(end\|begin\){doc\).*//'
>
$^
%.tex
:
%.py
pygmentize
-O
style
=
colorful
-o
$@
$^
portfolio/latex/graph.dot
0 → 100644
View file @
0e99818e
digraph
A
{
node
[
label
=
"$q_0$"
]
q_0
;
q_0
->
q_1
;
q_1
->
q_1
;
q_1
->
q_2
;
q_2
->
q_0
;
}
portfolio/latex/latex-answers.tex
View file @
0e99818e
...
...
@@ -2,9 +2,17 @@
\usepackage
{
float
}
\usepackage
{
listings
}
\usepackage
{
hyperref
}
\usepackage
{
amsmath
}
% Graphviz graph (using tikz)
\usepackage
[x11names, rgb]
{
xcolor
}
\usepackage
{
tikz
}
\usetikzlibrary
{
snakes,arrows,shapes
}
% Load code highlighter color scheme
\input
{
colors
}
% Create a box around the code examples
\floatstyle
{
boxed
}
\newfloat
{
program
}{
thp
}{
lop
}
\floatname
{
program
}{
Program
}
...
...
@@ -90,6 +98,11 @@ $r_3c_1$ & $r_3c_2$ & $r_3c_3$ \\ \hline
% }}}
\subsection
{
Graph (GraphViz to PSTikz)
}
% {{{
\label
{
sub:Graph-GraphViz-to-PSTikz
}
% \input{graph}
% }}}
% }}}
\section
{
Mathematics
}
% {{{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment