Skip to content

Commit

Permalink
tips
Browse files Browse the repository at this point in the history
added tips and tricks
  • Loading branch information
homberghp committed Apr 16, 2024
1 parent f1f952e commit 0870380
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
4 changes: 4 additions & 0 deletions IncludeOnly.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
%
\includeonly{
chapters/tips_and_tricks,
}
17 changes: 17 additions & 0 deletions chapters/tips_and_tricks.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
\chapter{Tips and Tricks}

\begin{itemize}
\item Either install Latex on your own machine, maybe in a docker-image, or use overleaf. \\
On your own machine, the compilation will commence more quickly. There is also no compilation timeout, which you may run into with overleaf.
\item actively use $\backslash$include (for chapters) and $\backslash$input to break you
big document into smaller parts. If you then have a file called IncludeOnly.tex in your root dir, only the chapters in that file will be included. In this way it is easy to make something for your reviewers, but also speeds up the compilation process drastically, which is nice while you are editing and you work (re)view-driven.
\item If you add pictures or tables, always choose vector format. Never jpeg unless it is a photo, png only for screenshots, which you should try to avoid. In the drawing tool (Visual Paradigm, Umlet, drawio) you can most likely export in pdf format which you can include with $\backslash$includegraphics. If you have svg, which the other popular vector format, you can use a conversion tool to turn it into a pdf. Inkscape, which is available on all relevant platforms, does the trick for me.
For tables, a spreadsheet(excel libreoffice calc) is a reasonable choice. Export the selection as pdf with no borders. May use a tool to clip/crop off the white borders. pdfcrop works for me there.
\end{itemize}

\begin{figure}[htbp]
\caption{Example svg image}
\includegraphics[width=\linewidth]{images/perishablesales.pdf}
\end{figure}

Try to select text in the image and zoom in and the advantages become apparent.
Binary file added images/perishablesales.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
%% for dutch use \def\Languages{english,dutch}
%% for English use \def\Languages{english},
%% or \def\Languages{english,british} if you prefer british as English style
\def\Languages{english,ngerman,dutch}
\def\Languages{ngerman,dutch,english}
\input{configuration/thesis_config}
%\includeonly{chapters/chapter_1}
% provide data for title page
Expand Down Expand Up @@ -45,7 +45,7 @@
\include{chapters/chapter_5}
\include{chapters/chapter_6}
\include{chapters/chapter_7}

\include{chapters/tips_and_tricks}
\include{partials/self_reflection}

%% supress post file when not required
Expand Down

0 comments on commit 0870380

Please sign in to comment.