Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uva
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Taddeüs Kroes
uva
Commits
0e99818e
Commit
0e99818e
authored
14 years ago
by
Sander Mathijs van Veen
Browse files
Options
Downloads
Patches
Plain Diff
Added graphviz graph to latex report.
parent
2a836811
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
portfolio/latex/Makefile
+14
-8
14 additions, 8 deletions
portfolio/latex/Makefile
portfolio/latex/graph.dot
+7
-0
7 additions, 0 deletions
portfolio/latex/graph.dot
portfolio/latex/latex-answers.tex
+13
-0
13 additions, 0 deletions
portfolio/latex/latex-answers.tex
with
34 additions
and
8 deletions
portfolio/latex/Makefile
+
14
−
8
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 report.
# arguments) from the command line
will
build the report
for this assignment
.
#
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
$@
$^
This diff is collapsed.
Click to expand it.
portfolio/latex/graph.dot
0 → 100644
+
7
−
0
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
;
}
This diff is collapsed.
Click to expand it.
portfolio/latex/latex-answers.tex
+
13
−
0
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
}
% {{{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment