From d57cc98a38ec418ebf6692845f42042babd6c75d Mon Sep 17 00:00:00 2001 From: Andreas Tsouchlos Date: Sat, 23 Dec 2023 20:51:12 +0100 Subject: [PATCH] Add if statement for overleaf v. local build --- letter.tex | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/letter.tex b/letter.tex index e77fb5c..8d52ef2 100644 --- a/letter.tex +++ b/letter.tex @@ -27,6 +27,10 @@ \hyphenation{op-tical net-works semi-conduc-tor IEEE-Xplore} +\newif\ifoverleaf +%\overleaftrue + + % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Inputs & Global Options @@ -34,10 +38,20 @@ % -\input{common.tex} +\ifoverleaf + \input{common.tex} +\else + \usetikzlibrary{external} + \tikzexternalize[prefix=build/] + \input{lib/latex-common/common.tex} +\fi + \pgfplotsset{colorscheme/cel} +% TODO +\pgfplotsset{fancy marks/.style={}} + % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%