Tags
quotes & text blocks
LaTeX used
colorbox
fcolorbox
difficulty/replicability
easy
Preview
Code
\colorbox{color}{stuff here}
puts a lilac colored box around the code where it says "stuff here". If you want to substack inside, such as to make multiple lines, you need to go back into equation mode by sorrounding the rest of your code with dollar signs. For the rest just proceed as explained in Intro to Stacking & Layering. \fcolorbox{color1}{color2}{stuff}
sorrounds "stuff" by a framed box with frame color color1 and fill color color2. You can make the fill color white if you only want a frame.