Initial Query

What latex package has the Sbox env?

LLM Generation

Query

What latex package has the Sbox env?

Output

The **`realboxes`** LaTeX package provides the `Sbox` environment, along with other box environments like `Mbox` and `Lbox`. These environments allow you to define boxes with different scopes (global, local, etc.) and reuse them in your document. ### Example usage:

1
2
3
4
5
6
7
\usepackage{realboxes}

\begin{Sbox}{mybox}
  Content to be saved in a box.
\end{Sbox}

\usebox{mybox} % To reuse the box later
The `Sbox` environment creates a **globally scoped box**, which persists beyond the current group or environment. This is particularly useful for reusing content multiple times in a document. Other alternatives for box handling in LaTeX include the `lrbox` environment (built-in) or the `saveboxes` package, but they do not use the `Sbox` name explicitly.

Substring Evaluation

Testing if the previous output contains the string fancybox: False