From b6561abe2f5c5b6ec0919377903abc0e1031fff1 Mon Sep 17 00:00:00 2001 From: Michael Brade Date: Sun, 30 Sep 2018 09:53:05 +0200 Subject: [PATCH] fixed #9 The default \parbox command aligns its center to the baseline, but you really want the top in this case. "Experience" has a depth due to the "p", the other words don't. --- infographics/main.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infographics/main.tex b/infographics/main.tex index 39a0d52..52ec4ca 100644 --- a/infographics/main.tex +++ b/infographics/main.tex @@ -300,7 +300,7 @@ % param 1: text % param 2: width in cm or pt, em ... % param 3: color -\newcommand{\legend}[3]{\parbox{#2}{\textcolor{#3}{\rule{#2}{4pt}}\\#1}} +\newcommand{\legend}[3]{\parbox[t]{#2}{\textcolor{#3}{\rule{#2}{4pt}}\\#1}} %---------------------------------------------------------------------------------------- % CUSTOM LOREM IPSUM