Code blocks are frequently used in Markdown as shown in the picture below. I am wondering whether there is a way to display the same thing in LaTeX, namely an auto-sized, shaded, rounded-corner box around a word.
Thank you in advance!
Code blocks are frequently used in Markdown as shown in the picture below. I am wondering whether there is a way to display the same thing in LaTeX, namely an auto-sized, shaded, rounded-corner box around a word.
Thank you in advance!
tcolorboxandmdframed. What have you found looking into those packages? Do you have a minimal (almost) working example that we can start with? – Teepeemm May 02 '20 at 12:25\colorbox{somecolour}{contents}. You also can do that with\psframeboxfrompstricks(rounded cprners withe the optionlinearc=radius. – Bernard May 02 '20 at 12:32