aboutsummaryrefslogtreecommitdiff
path: root/tex/src
diff options
context:
space:
mode:
Diffstat (limited to 'tex/src')
-rw-r--r--tex/src/figure-data-lineage.tex10
-rw-r--r--tex/src/preamble-pgfplots.tex4
2 files changed, 8 insertions, 6 deletions
diff --git a/tex/src/figure-data-lineage.tex b/tex/src/figure-data-lineage.tex
index 21c84f3..f5aa77c 100644
--- a/tex/src/figure-data-lineage.tex
+++ b/tex/src/figure-data-lineage.tex
@@ -34,10 +34,12 @@
%% Use small fonts
\footnotesize
- %% These white lines are only added to fix the vertical position of
- %% the figure so it doesn't change as we add more boxes.
- \draw [white] (-7.5,0) -- (7.4,0);
- \draw [white] (0,-4.7) -- (0,5.7);
+ %% These white lines are only relevant when we want to add boxes in
+ %% multiple figures (for example to build slides). They are used to fix
+ %% the vertical position of the boxs in the figure so it doesn't change
+ %% as we add more boxes.
+ \draw [white] (-7.6,0) -- (7.5,0);
+ \draw [white] (0,-4.5) -- (0,4.9);
%% top-make.mk
\node [at={(-0.05cm,2mm)},
diff --git a/tex/src/preamble-pgfplots.tex b/tex/src/preamble-pgfplots.tex
index eabdeb7..05e73b7 100644
--- a/tex/src/preamble-pgfplots.tex
+++ b/tex/src/preamble-pgfplots.tex
@@ -79,12 +79,12 @@
%% from. Without this, TiKZ will use numbers based on the order of
%% figures. These numbers can be hard to manage and they will also depend
%% on order in the final PDF, so it will be very buggy to manage them.
-\newcommand{\includetikz}[1]{%
+\newcommand{\includetikz}[2]{%
\ifdefined\makepdf%
\tikzsetnextfilename{#1}%
\input{tex/src/#1.tex}%
\else
- \includegraphics[width=\linewidth]{tex/tikz/#1.eps}
+ \includegraphics[#2]{tex/tikz/#1.eps}
\fi
}