Skip to content

Commit

Permalink
report: rename main tex file.
Browse files Browse the repository at this point in the history
* Set tikz to save generated file to tmp directory.
  • Loading branch information
shuLhan committed Jun 19, 2016
1 parent 3526252 commit 861ee17
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 4 deletions.
7 changes: 7 additions & 0 deletions ITBTesisFormat.tex
Original file line number Diff line number Diff line change
Expand Up @@ -211,3 +211,10 @@

%% Remove line space between item
\setlist{noitemsep, topsep=-1em, labelindent=0pt, leftmargin=15pt}

%% Make tikz generate PDF file to .tmp directory
\makeatletter
\newcommand{\mytikzinput}[1]{%
\tikzsetnextfilename{tmp/#1}%
}
\makeatother
File renamed without changes.
2 changes: 1 addition & 1 deletion report/bab_02/confusion_matrix.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
\begin{figure}[htbp]
\centering
\tikzsetnextfilename{confusionmatrix}
\mytikzinput{confusionmatrix}
\begin{tikzpicture}[
framed,
scale = 1,
Expand Down
2 changes: 1 addition & 1 deletion report/bab_03/diagram_proses.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
\begin{figure}[htbp]
\centering
\resizebox{.5\textwidth} {!} {%
\tikzsetnextfilename{diagramproses}
\mytikzinput{diagramproses}
\begin{tikzpicture}[
framed,
nodes = {
Expand Down
1 change: 1 addition & 0 deletions report/bab_04/graph_runtimes.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
\begin{figure}[htb]
\centering
\mytikzinput{graph_runtimes}
\begin{tikzpicture}
\begin{axis}[
width=13cm,
Expand Down
2 changes: 1 addition & 1 deletion report/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

pdflatex.sh Muhamad_Sulhan_23513014_-_Tesis.tex bibliography.bib
pdflatex.sh 23513014_Muhamad_Sulhan_-_Tesis.tex bibliography.bib
2 changes: 1 addition & 1 deletion report/latexmk.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

latexmk -pvc -view=pdf Muhamad_Sulhan_23513014_-_Tesis.tex
latexmk -pvc -view=pdf 23513014_Muhamad_Sulhan_-_Tesis.tex

0 comments on commit 861ee17

Please sign in to comment.