About 50 results
Open links in new tab
  1. How to move and size \colorbox - TeX - LaTeX Stack Exchange

    Oct 21, 2020 · The command \colorbox simply draw a background rectangle with the width and height of what is inside plus a margin around that is equal to \fboxsep. You can control the size and shape of …

  2. colorbox - How to make a colour box in these 3 different ways - TeX ...

    Sep 15, 2020 · I want to put a text in a colour box in these 3 different ways. See the pictures below 1. Pic 1:- 2. Pic 2:- 3. Pic 3:- Please tell me.

  3. How to change options in the fcolorbox environment - TeX

    Aug 31, 2016 · \fcolorbox falls back to \colorbox, which can't have rounded corners by itself (it would be possible to redefine it and use some \put statements to change the joints of the rules, however) The …

  4. Specifying RGB color in a colorbox - tcolorbox package - TeX

    Specifying RGB color in a colorbox - tcolorbox package Ask Question Asked 3 years, 6 months ago Modified 3 years, 6 months ago

  5. Highlighting text for revised manuscript using `colorbox` forces long ...

    Mar 14, 2022 · I am attempting to use colorbox from xcolor to highlight changes to a revised manuscript I am submitting (my first LaTeX based manuscript). I have found that the method works well for …

  6. Set size of \colorbox for a single character - LaTeX Stack Exchange

    my question is simple (or not) I want to set the size of the \\colorbox command or \\fcolorbox command for a single character. The problem is the next: As seen in the image, the height and width are

  7. How to reduce colorbox height? - TeX - LaTeX Stack Exchange

    Jul 9, 2025 · I would like to reduce both the width and height of the colorbox around e.g. the number 0 in $0$ to a minimal size, that is, such that it is just large enough to contain the symbol 0. This I would ...

  8. How to colorbox an entire section? - LaTeX Stack Exchange

    Dec 15, 2020 · I want the last section of a chapter to have a colour background. I want to create a Summary section that needs to be differentiated. I already tried using colorbox (xcolor package): …

  9. Colorbox does not linebreak - TeX - LaTeX Stack Exchange

    Jun 1, 2016 · 15 colorbox does not wrap automatically, put the text in a \parbox for a example and it will work: Other ways: Use tcolorbox, for example:

  10. Color box with rounded corners - TeX - LaTeX Stack Exchange

    Oct 30, 2020 · \begin{document} \colorbox{LightLavender}{hello} world \end{document} It produces something like this: I'm wondering if it's possible to have the box have rounded corners. Ideally a …