Using LaTeX for YSJ Articles – Guide

Here is a standard description of something from an article, and now let\’s render an equation:

By typing the following in the Google Doc, 

When\\\\(a \\ne 0\\\\), there are two solutions to \\\\(ax^2 + bx + c = 0\\\\) and they are
\\\\[x = {-b \\pm \\sqrt{b^2-4ac} \\over 2a}.\\\\]

You will obtain this result:

When \\(a \\ne 0\\), there are two solutions to \\(ax^2 + bx + c = 0\\) and they are
\\[x = {-b \\pm \\sqrt{b^2-4ac} \\over 2a}.\\]

As you can see, when using \\\\(……..\\), you will obtain an in-line equation, when you use \\\\[……\\\\] you will render a standalone displayed equation.

If you are looking for an editor for LaTeX, I\’d encourage you to use this one by CodeCogs: https://www.codecogs.com/latex/eqneditor.php Once you get your equation in LaTeX form from this website, you can simply copy and paste it within the \\\\(……..\\) or \\\\[……\\\\] delimiters, and it will be rendered correctly once published!

Leave a Comment

Your email address will not be published.