I want to make something like this. Put a text into Brackets (can be (). {}, [] …, whatever type is the easiest).
I am looking for an easy way. There are a lot of similar question on this site, yet they need quite a lot of text writing.
Isn´t there any way like:
$\left\lbrace \text{something to write here, also $math$ in some parts of the text} \right\rbrace$
- but without the
$
and\text{}
? - Using MiKTeX Package (on Windows), so having the most packages available.
EDIT: The text put into Brackets will be a stand alone text (paragraph), no including in other text. So can be environments like \begin{} \end{}
.
Best Answer
Your question is very far from clear. Here's a hint:
The environment ends a possible preceding paragraph and inserts a small vertical space. Then it opens an
\hbox
as wide as the current\columnwidth
(you may want to use\linewidth
if you plan to use this inside a list environment). In this box math mode is started and\left\{
is issued. Then aminipage
is opened, as wide as\columnwidth
. This finishes the starting part. The ending part closes theminipage
and issues\right\}
to balance the left delimiter and closes math mode; then the\hbox
is closed and typeset. A small vertical space is added. Since\hss
is added at either side of the math formula, the braces will be in the margins (the box is actually wider than\columnwidth
, but the shrinkable glue provided by\hss
makes it appear to fit).