LaTeX forum ⇒ Text FormattingProblem using \left\lbrace -\right Topic is solved

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Jongomez
Posts: 28
Joined: Tue Nov 28, 2023 9:29 pm

Problem using \left\lbrace -\right

Postby Jongomez » Sat Feb 10, 2024 1:22 pm

Hi Stefan,
Since I am not so fluent with these tools and procedures I've sent to your mail address: stefan@latex.org pdfs of two pages (from the book I'm translating):

1) Page 87_brackets bat.pdf : original coding with
\alpha_u
in the first halfh of coded line

2) Page 87_brackets OK.pdf: where I've replaced
\alpha_u by \beta_u
and the brackets of first halh appear bigger, as those in the second half.

As I say on the mentioned mail, I have to keep on my work of translation, therefore I feel better from now on to use
\bigl ( and \bigr )
commands instead.

Again, I thank you so much for your invaluable support and I look fordward to account for your help.
Kind regards,
Jon

Recommended reading 2021:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
User avatar
Stefan Kottwitz
Site Admin
Posts: 10122
Joined: Mon Mar 10, 2008 9:44 pm

Problem using \left\lbrace -\right  Topic is solved

Postby Stefan Kottwitz » Sat Feb 10, 2024 8:18 pm

Hi Jon,

when you write a post, there's an "Attachments" tab/link below the edit field. There you can add images or PDF attachments or .log files.

In the PDF files, I can see that you use a non-default font with different glyph sizes. Looks like the | symbol is smaller than with the default font, that's why the automatic sizing (with a small alpha) makes it smaller, and with the (bigger) beta it get's bigger. In my test with the standard font, the | symbol was already so big that LaTeX does the larger sizing. So it would have been clearer from the beginning with a PDF or a screenshot of the formula or, in the best case, with a complete small LaTeX document (Infominimal working example) that would show it. The small piece of code did not show the font.

Also, before I saw the sizing with the font in the PDF, I thought you saw a problem with the \left and \right sizing. There's just no problem, it adjusts to the content between \left and \right. Then I understood that you meant that different \left and \right groups have a different height, but that's normal, as they adjust to their inner content and not to other terms outside. To have the same result with different \left and \right pairs, you can insert some larger content from the other formula as size reference by \vphantom{\beta_u} that adds an invisible vertical space of that size. Or choose \big or \bigg, right. It's not the automatic sizing of \left and \right to their content, but of the braces or brackets of different formula parts. This shows it a bit more visible, you want the braces on the left side like on the right side of the relation symbol, no matter what the left side height is:

braces-pair.png
braces-pair.png (34.59 KiB) Viewed 417 times


So, you can trust on the automatic sizing of \left and \right to the content, just in the case you want to adjust different formula parts to each other without considering the content height, you can use \vphantom or \big, \Big.

Stefan
LaTeX.org admin

Jongomez
Posts: 28
Joined: Tue Nov 28, 2023 9:29 pm

Problem using \left\lbrace -\right

Postby Jongomez » Sat Feb 10, 2024 11:26 pm

Hi Stefan,
Thanks so much for your fantastic explanation. Now I understand what happend with my coding.

Now I can keep working on translating the book (from Prof. L. Susskind, Stanford Univ.). It's more than probable that, taking into account my low level in Latex, I would probably be in the position to ask for your support.

Thanh you very much again,

Jon


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 5 guests