What latex package has the Sbox env?
What latex package has the Sbox env?
The `Sbox` environment is provided by the `tcolorbox` package. This environment is used to save content in a box that can be used later, similar to LaTeX's native saveboxes but with additional features that integrate with tcolorbox's functionality. You would use it like this:
1 2 3 4 5 6 7 8 9 10 11 12 | \documentclass{article} \usepackage{tcolorbox} \begin{document} \begin{Sbox} Content to be saved in the box \end{Sbox} \usebox{\tcbsavebox} \end{document} |
Testing if the previous output contains the string fancybox
: False
What latex package has the Sbox env?
What latex package has the Sbox env?
The `Sbox` environment is provided by the `tcolorbox` package in LaTeX. This package is primarily used for creating colored and framed text boxes, but it also includes the `Sbox` environment as a savebox mechanism for storing content that can be reused. You can use it like this:
1 2 3 4 5 6 7 8 9 10 11 | \documentclass{article} \usepackage{tcolorbox} \begin{document} \begin{Sbox} Content to save \end{Sbox} % Later use the saved content with: \TheSbox \end{document} |
Testing if the previous output contains the string fancybox
: False