Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to get arbitrarily big braces in some graphs I have to make, using Inkscape with the PDF+LaTeX option. The problem I have is that simply resizing a bracket makes it stretch:

enter image description here

I'm aware that this may sound like an Inkscape question, but I'm trying to solve it with LaTeX (as opposed to a vector graphic approach).

So, is there a way to arbitrarily "resize" the brackets without deforming themspelling? I'm thinking about the end result of the align environment (vertical) or overbrace/underbrace (horizontal), but without really using any content to expand it (hence, arbitrarily). Something like:

enter image description here

share|improve this question

1 Answer 1

up vote 5 down vote accepted

How about this?

\documentclass{article}
\begin{document}
\[ 
\left\{ \rule{0pt}{4cm} \right.  %Change size as necessary
\]
\end{document}

brace

You can use something similar for the horizontal version.

\documentclass{article}
\begin{document}
\[
\underbrace{\rule{8cm}{0pt}}
\]
\end{document}

brace2

Note that the height of the vertical version is double the height of the rule, whereas for the horizontal version the rule and the brace have the same length.

share|improve this answer
    
To get an invisible vertical rule -- a "strut" in typographic jargon -- that's 8 cm tall in all and extends 4 cm below and above the baseline, on would need to type \rule[-4cm]{0pt}{8cm}. –  Mico Aug 14 at 16:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.