From 861ee176f657df8798da0bbf4018d2088deedfdf Mon Sep 17 00:00:00 2001 From: Mhd Sulhan Date: Sun, 19 Jun 2016 16:00:48 +0700 Subject: [PATCH] report: rename main tex file. * Set tikz to save generated file to tmp directory. --- ITBTesisFormat.tex | 7 +++++++ ...014_-_Tesis.tex => 23513014_Muhamad_Sulhan_-_Tesis.tex} | 0 report/bab_02/confusion_matrix.tex | 2 +- report/bab_03/diagram_proses.tex | 2 +- report/bab_04/graph_runtimes.tex | 1 + report/build.sh | 2 +- report/latexmk.sh | 2 +- 7 files changed, 12 insertions(+), 4 deletions(-) rename report/{Muhamad_Sulhan_23513014_-_Tesis.tex => 23513014_Muhamad_Sulhan_-_Tesis.tex} (100%) diff --git a/ITBTesisFormat.tex b/ITBTesisFormat.tex index c8b8bb5..c2a161e 100644 --- a/ITBTesisFormat.tex +++ b/ITBTesisFormat.tex @@ -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 diff --git a/report/Muhamad_Sulhan_23513014_-_Tesis.tex b/report/23513014_Muhamad_Sulhan_-_Tesis.tex similarity index 100% rename from report/Muhamad_Sulhan_23513014_-_Tesis.tex rename to report/23513014_Muhamad_Sulhan_-_Tesis.tex diff --git a/report/bab_02/confusion_matrix.tex b/report/bab_02/confusion_matrix.tex index f7e66cd..dfbf813 100644 --- a/report/bab_02/confusion_matrix.tex +++ b/report/bab_02/confusion_matrix.tex @@ -1,6 +1,6 @@ \begin{figure}[htbp] \centering - \tikzsetnextfilename{confusionmatrix} + \mytikzinput{confusionmatrix} \begin{tikzpicture}[ framed, scale = 1, diff --git a/report/bab_03/diagram_proses.tex b/report/bab_03/diagram_proses.tex index f748e99..3a9e932 100644 --- a/report/bab_03/diagram_proses.tex +++ b/report/bab_03/diagram_proses.tex @@ -1,7 +1,7 @@ \begin{figure}[htbp] \centering \resizebox{.5\textwidth} {!} {% -\tikzsetnextfilename{diagramproses} +\mytikzinput{diagramproses} \begin{tikzpicture}[ framed, nodes = { diff --git a/report/bab_04/graph_runtimes.tex b/report/bab_04/graph_runtimes.tex index a6d058b..94d8c6c 100644 --- a/report/bab_04/graph_runtimes.tex +++ b/report/bab_04/graph_runtimes.tex @@ -1,5 +1,6 @@ \begin{figure}[htb] \centering +\mytikzinput{graph_runtimes} \begin{tikzpicture} \begin{axis}[ width=13cm, diff --git a/report/build.sh b/report/build.sh index 7ce98cc..7f92e33 100755 --- a/report/build.sh +++ b/report/build.sh @@ -1,3 +1,3 @@ #!/bin/sh -pdflatex.sh Muhamad_Sulhan_23513014_-_Tesis.tex bibliography.bib +pdflatex.sh 23513014_Muhamad_Sulhan_-_Tesis.tex bibliography.bib diff --git a/report/latexmk.sh b/report/latexmk.sh index 6a7b2a2..fa58d47 100755 --- a/report/latexmk.sh +++ b/report/latexmk.sh @@ -1,3 +1,3 @@ #!/bin/sh -latexmk -pvc -view=pdf Muhamad_Sulhan_23513014_-_Tesis.tex +latexmk -pvc -view=pdf 23513014_Muhamad_Sulhan_-_Tesis.tex