Could someone tell me what is wrong with this bit of latex

  • Context: LaTeX 
  • Thread starter Thread starter DeusAbscondus
  • Start date Start date
  • Tags Tags
    Bit Latex
Click For Summary

Discussion Overview

The discussion revolves around issues related to LaTeX formatting, specifically the use of the \left and \right commands in mathematical expressions. Participants explore the correct syntax and potential errors in the provided LaTeX code.

Discussion Character

  • Technical explanation

Main Points Raised

  • One participant points out a potential error in using \r) instead of \right) in the LaTeX code.
  • Another participant emphasizes that \left( and \right) must be used together in the same block of code, suggesting that separating them with different dollar signs causes issues.
  • A participant provides a corrected version of the LaTeX code, indicating that removing the separation resolves the problem.
  • One participant expresses gratitude for the feedback and acknowledges a possible misunderstanding regarding spacing in the code.

Areas of Agreement / Disagreement

Participants generally agree on the necessity of using \right) in conjunction with \left( and the importance of maintaining continuity in the LaTeX code. However, there is no explicit consensus on the best approach to correct the original code.

Contextual Notes

There are indications that the discussion relies on specific interpretations of Mathjax's handling of LaTeX, which may not be universally applicable across different LaTeX environments.

DeusAbscondus
Messages
176
Reaction score
0
$\left( \text{The ones you see were done by use of} $
$\text{perpendiculars}\r) $$$\left(\text{The ones you see were done by use of perpendiculars}\right)$$
 
Last edited by a moderator:
Physics news on Phys.org
Re: could someone tell me what is wrong witht this bit of latex

I can't see the problem, other than the fact that perhaps you should have ended it with a
Code:
\right)
instead of
Code:
\r).
 
Re: could someone tell me what is wrong witht this bit of latex

DeusAbscondus said:
$\left( \text{The ones you see were done by use of} $
$\text{perpendiculars}\r) $$$\left(\text{The ones you see were done by use of perpendiculars}\right)$$

$\left( \text{The ones you see were done by use of}
\text{ perpendiculars} \right) $

When you use "\left(" you must also use "\right)" in the same bit of code, if I understand our Mathjax version of Latex correctly. In your original post you've separated these parts by ending the initial \$ and beginning a new \$. If you drop this part then the code works fine. As Fantini said, you should use \right) instead of \r) as well. To see what code I've used in this post then simply quote my post.
 
Re: could someone tell me what is wrong witht this bit of latex

Jameson said:
$\left( \text{The ones you see were done by use of}
\text{ perpendiculars} \right) $

When you use "\left(" you must also use "\right)" in the same bit of code, if I understand our Mathjax version of Latex correctly. In your original post you've separated these parts by ending the initial \$ and beginning a new \$. If you drop this part then the code works fine. As Fantini said, you should use \right) instead of \r) as well. To see what code I've used in this post then simply quote my post.

Okay, thanks Jameson, Fantini: much appreciated.
I think I was neglecting or overusing a gap somewhere by the looks of it.

Regs,
Deus Abs
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K