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
SUMMARY

The discussion focuses on correcting LaTeX syntax errors related to the use of the MathJax library. The primary issue identified is the improper pairing of the \left( and \right) commands, specifically the use of \r) instead of \right). Participants emphasize that both commands must be used together within the same code segment. The solution involves removing unnecessary line breaks and ensuring proper syntax to achieve the desired output.

PREREQUISITES
  • Understanding of LaTeX syntax
  • Familiarity with MathJax version for rendering
  • Knowledge of command pairing in LaTeX
  • Basic troubleshooting skills for LaTeX code
NEXT STEPS
  • Review LaTeX documentation on \left and \right commands
  • Explore MathJax configuration and usage
  • Practice writing LaTeX code with proper syntax
  • Learn common LaTeX errors and their solutions
USEFUL FOR

Anyone working with LaTeX, particularly those using MathJax for rendering mathematical expressions, including students, educators, and researchers in mathematics and related fields.

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
2K
  • · 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