Text FormattingBrace to cover multi-line Text

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
herath
Posts: 2
Joined: Mon Feb 06, 2012 9:32 pm

Brace to cover multi-line Text

Post by herath »

Hi,

I am a new LaTeX user. At the moment I am writing a lab report and I am facing a problem that I could not find an answer to, even after searching for about an hour.

I want to create a brace as in the following illustration but I can not find a way to do it.
Untitled-1.jpg
Untitled-1.jpg (34.39 KiB) Viewed 8498 times
I hope to get some help and I am sorry If I have posted in the wrong forum and have violated any rules.


Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10319
Joined: Mon Mar 10, 2008 9:44 pm

Brace to cover multi-line Text

Post by Stefan Kottwitz »

Hi,

there are different ways. Here's one, with tabular and auto-sizing braces with \left and \right:

Code: Select all

\documentclass{article}
\begin{document}
$\left.
    \begin{tabular}{lll}
      Text line one \\
      Text line two \\
      Text line three \\
    \end{tabular}
  \right\} = $ Text
\end{document} 
brace.png
brace.png (2.83 KiB) Viewed 8493 times
Stefan
LaTeX.org admin
herath
Posts: 2
Joined: Mon Feb 06, 2012 9:32 pm

Re: Brace to cover multi-line Text

Post by herath »

Hi,
Thank you both for the fast replies. I would like the normal typeset over italics in the Math mode. And Stefan has already given the answer which will achieve what I am trying to do.

{I am from Sri Lanka and most of the people at the bachelors level haven't even heard about Latex. I am switching from MS Word to Latex for report writing.)

And thanks again for the welcome!. :)
User avatar
Stefan Kottwitz
Site Admin
Posts: 10319
Joined: Mon Mar 10, 2008 9:44 pm

Re: Brace to cover multi-line Text

Post by Stefan Kottwitz »

Very good decision - LaTeX is much better for scientific documents.

Stefan
LaTeX.org admin
Post Reply