Title: Latex code not working
Last modified: August 31, 2016

---

# Latex code not working

 *  Resolved [Gautam Chauhan](https://wordpress.org/support/users/gautamchauhan/)
 * (@gautamchauhan)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/latex-code-not-working/)
 * Latex code does not work if I use only end brace }.
 * Example 1:
    [latex]\left A \right\}[/latex]
 * Example 2
    [latex]\left \begin{matrix} A \\ B \\ C \end{matrix} \right\} [/latex]
 * But it works on other sites like [https://www.codecogs.com/latex/eqneditor.php](https://www.codecogs.com/latex/eqneditor.php)
 * Kindly fix the error.
 * Thanks!
 * [https://wordpress.org/plugins/jetpack/](https://wordpress.org/plugins/jetpack/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Contributor [Michael Adams (mdawaffe)](https://wordpress.org/support/users/mdawaffe/)
 * (@mdawaffe)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/latex-code-not-working/#post-6951248)
 * LaTeX requires a valid delimiter for both `\left` and `\right`. If you want an
   empty `\left`, you’ll need to use a `.`:
 * [latex]\left . A \right\}[/latex]
 * [latex]\left . \begin{matrix} A \\ B \\ C \end{matrix} \right\} [/latex]
 * See, for example, [http://www.giss.nasa.gov/tools/latex/ltx-403.html](http://www.giss.nasa.gov/tools/latex/ltx-403.html)
 *  Thread Starter [Gautam Chauhan](https://wordpress.org/support/users/gautamchauhan/)
 * (@gautamchauhan)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/latex-code-not-working/#post-6951388)
 * Michael! First of all sorry for the late response. I was on vacation.
 * Thanks Michael for your response. It was really helpful and fixed the issue.
 * Now I have another issue. The following latex code does not work:
 * [latex]\frac { 7 }{ \frac { 3 }{ 4 } } [/latex]
 * Actually I want to write something like this:
    [latex]\frac { 1 }{ 1+\frac { 
   1 }{ 4 } } -\frac { 1 }{ 1+\frac { 2 }{ 3 } } =[/latex]
 * All these latex code works on [https://www.codecogs.com/latex/eqneditor.php](https://www.codecogs.com/latex/eqneditor.php)
 * Kindly help to get this issue fixed.
 *  Plugin Contributor [Michael Adams (mdawaffe)](https://wordpress.org/support/users/mdawaffe/)
 * (@mdawaffe)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/latex-code-not-working/#post-6951389)
 * Both work for me. For the second one, the resulting image I get is:
 * [https://s0.wp.com/latex.php?latex=%5Cfrac+%7B+1+%7D%7B+1%2B%5Cfrac+%7B+1+%7D%7B+4+%7D++%7D+-%5Cfrac+%7B+1+%7D%7B+1%2B%5Cfrac+%7B+2+%7D%7B+3+%7D++%7D+%3D&bg=ffffff&fg=333333&s=0&zoom=2](https://s0.wp.com/latex.php?latex=%5Cfrac+%7B+1+%7D%7B+1%2B%5Cfrac+%7B+1+%7D%7B+4+%7D++%7D+-%5Cfrac+%7B+1+%7D%7B+1%2B%5Cfrac+%7B+2+%7D%7B+3+%7D++%7D+%3D&bg=ffffff&fg=333333&s=0&zoom=2)
 * What do you see?
 * What site are you trying to add LaTeX to?
 *  Thread Starter [Gautam Chauhan](https://wordpress.org/support/users/gautamchauhan/)
 * (@gautamchauhan)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/latex-code-not-working/#post-6951390)
 * I am very sorry! I was not closing the shortcode properly. It is working.
 * I have another question now. The generated image has very small text and the 
   the numbers are not seen properly. However is your link the image has bigger 
   text. How did you achieve that?
 * I am editing content of the following link:
 * [http://scoopgmat.com/challenge-of-the-day/problem-solving/question-15](http://scoopgmat.com/challenge-of-the-day/problem-solving/question-15)
 *  Plugin Contributor [Michael Adams (mdawaffe)](https://wordpress.org/support/users/mdawaffe/)
 * (@mdawaffe)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/latex-code-not-working/#post-6951391)
 * You can add an `s` parameter to the shortcode to make the size larger:
 * `[latex s=3]\frac { 7 }{ \frac { 3 }{ 4 } } [/latex]`
 * (The default value for `s` is `0` and it goes up to `4`.)
 * You can also try using `\displaystyle` to make some complicated expressions more
   clear.
 * `[latex]\displaystyle \frac { 7 }{ \frac { 3 }{ 4 } } [/latex]`
 *  Thread Starter [Gautam Chauhan](https://wordpress.org/support/users/gautamchauhan/)
 * (@gautamchauhan)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/latex-code-not-working/#post-6951392)
 * Wow! You made my day. Thank you so much Michael.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Latex code not working’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [Math](https://wordpress.org/support/topic-tag/math/)

 * 6 replies
 * 2 participants
 * Last reply from: [Gautam Chauhan](https://wordpress.org/support/users/gautamchauhan/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/latex-code-not-working/#post-6951392)
 * Status: resolved