From 2cb5a0a80ae31f695a6ae13430ed9057168fec96 Mon Sep 17 00:00:00 2001 From: Andreas Tsouchlos Date: Mon, 17 Apr 2023 20:39:20 +0200 Subject: [PATCH] Added discard if lt to common.tex --- latex/thesis/common.tex | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/latex/thesis/common.tex b/latex/thesis/common.tex index 762b755..91e89b0 100644 --- a/latex/thesis/common.tex +++ b/latex/thesis/common.tex @@ -65,6 +65,15 @@ \def\pgfmathresult{inf} \fi } + }, + discard if lt/.style 2 args={ + x filter/.append code={ + \edef\tempa{\thisrow{#1}} + \edef\tempb{#2} + \ifdim\tempa pt < \tempb pt + \def\pgfmathresult{inf} + \fi + } } }