Tags
title lettering
icons
LaTeX used
substack
color
mathbb
difficulty/replicability
copy-pasteable
Preview
Code
Code explanation
\substack{ }
indicates that we want to stack everything inside it above each other, with each line inside separated by \\
. The [-1.9em]
after each \\
is saying to move the next line up by 1.9em
units. The number of em units depends on the font size: if we didn't have \Huge
, -1.9em would move it to far. For instance, here we have the same code but the text is \normalsize, the defaultThe light blue line moved way past the lavender, and the salmon line moved way past the light blue! I moved the letters just enough for then to end up on the same line and looked overlayed. The "bottom" line will always be on top when lines overlap.
For explanation of the font size change using
\Huge
, substack, the \mathbb
tag which chooses the font type, and \color{}
, you can read Intro to Stacking & Layering and Intro to LaTeX fonts . The last component of this code are the manually added spaces, which are also explained in the Intro to Stacking & Layering article. I put some spaces on the right of the lavender line using separated
\
s to shift it left, and some on the left of the salmon line to shift it right. The blue line remains centered. Notice that the closer together version has less spaces than the further apart version!