Waste less time on Facebook — follow Brilliant.
×

Beginner LaTeX Guide

\({\LaTeX}\) is an extremely useful typesetting language to learn, especially in a math environment like this. However, the quick instructions Brilliant.org gives just aren't good enough to use for most situations.

This is why I've decided to create a beginner's \({\LaTeX}\) guide. There is a table of contents for easy symbol or format finding. I hope you can refer to this guide later, when writing solutions, problems, or notes.

Note: You can also view Latex codes by hovering over the equation. Read Seeing actual \(\LaTeX\) for more details!

To quickly navigate to the part you want via the Table of Contents, press CTRL+F, and type in the section you want (including the tilde's ~ before and after the section).


Table of Contents

~Using LaTeX~

~Text~

~Basic Operations~

~Fractions~

~Sums, Products, Limits, and Integrals~

~Modular Arithmetic~

~Trigonometry~

~Combinatorics~

~Geometry~

~Calculus~

~Parentheses~

~Fitting Parentheses~

~Tables and Arrays~

~Other~


~Using LaTeX~

To use LaTeX, put a backslash and a left parenthesis before the math you want to LaTeXify, and put a backslash and a right parenthesis after the math you want to LaTeXify. For example:

Imgur

Imgur

Shows up as \(1+2+3=6\)

However, if you want your math to be more conspicuous and centered, you can use a backslash then a left bracket, then your math, then a backslash then a right bracket. For example:

Imgur

Imgur

Shows up as

\[1+2+3=6\]

This second option is the display text. A lot of other math operations will look better in this text. To force the first option to also use display text, you can add a \displaystyle at the beginning.


~Text~

To write text in LaTeX use \text{your text here}. This gives \(\text{your text here}\)

To use bolded text, use \textbf{your text here}. This gives \(\textbf{your text here}\)

Italicized text is similar: \textit{your text here}. This gives \(\textit{your text here}\)


~Basic Operations~

"x+y" gives \(x+y\)

"x-y" gives \(x-y\)

"x=y" gives \(x=y\)

"x\times y" gives \(x\times y\)

"x\cdot y" gives \(x\cdot y\)

"x\div y" gives \(x\div y\)

"x\pm y" gives \(x\pm y\)

"x\mp y" gives \(x\mp y\)

x^{y} gives \(x^{y}\)

x_{y} gives \(x_{y}\)

\sqrt{x} gives \(\sqrt{x}\)

\sqrt[y]{x} gives \(\sqrt[y]{x}\)

\log_{a}b gives \(\log_{a}b\)

\ln a gives \(\ln a\) (that's a lowercase "l" in the beginning, not an uppercase "i")

Note that many of you use "*" or "." for multiplying. This shows up as \(*\) and \(.\) which don't look good. Use \(\times\) or \(\cdot\) instead.

Also, the brackets in x^{y} or x_{y} may be omitted if the index is a single character. However, if it is more than one character like \(x^{10}\), then brackets are needed or else it will show up as \(x^10\).


~Fractions~

Many people simply put a slash between the numerator and denominator to represent a fraction: \(x/y\). However, there are neater ways in LaTeX.

\frac{x}{y} is the standard way to write fractions: \(\frac{x}{y}\)

\dfrac{x}{y} gives a bigger clearer version. However, this takes up more vertical space: \(\dfrac{x}{y}\) the "d" stands for "display text".

EXTRA

\cfrac{x}{y} is a special type of fraction formatting. This is for continued fractions, hence the "c". typing \cfrac{x}{x+\cfrac{y}{y+\cfrac{z}{2}}} gives \( \cfrac{x}{x+\cfrac{y}{y+\cfrac{z}{2}}}\)


~Sums, Products, Limits, and Integrals~

These four are in the same group because they format differently than other symbols.

"\sum" gives \(\sum\)

"\prod" gives \(\prod\)

"\lim" gives \(\lim\)

"\int" gives \(\int\)

We can add the other elements of each thing by using _ and ^:

\sum_{i=0}^n gives \(\sum_{i=0}^n\)

\prod_{i=0}^n gives \(\prod_{i=0}^n\)

\lim_{x\rightarrow n} gives \(\lim_{x\rightarrow n}\)

\int_{a}^{b} gives \(\int_a^b\)

However, these don't look very good. However, once putting it on display text, either using the brackets or using \displaystyle as said in the beginning of the guide, we can make them look normal.

\displaystyle\sum_{i=0}^n gives \(\displaystyle\sum_{i=0}^n\)

\displaystyle\prod_{i=0}^n gives \(\displaystyle\prod_{i=0}^n\)

\displaystyle\lim_{x\rightarrow n} gives \(\displaystyle\lim_{x\rightarrow n}\)

\displaystyle\int_{a}^{b} gives \(\displaystyle\int_{a}^{b}\)


~Modular Arithmetic~

"\equiv" gives \(\equiv\)

\mod{a} gives \(\mod{a}\)

\pmod{a} gives \(\pmod{a}\)

\bmod{a} is \mod{a} without the space before it: \(a\bmod{b}\) versus \(a\mod{b}\)

"a\mid b" creates \(a\mid b\), which states that \(b\) is divisible by \(a\).


~Trigonometry~

Many of you simply put "sin" and "cos" and be done with it; however, adding a backslash before those two make it look much better.

\sin gives \(\sin\) (as opposed to \(sin\))

\cos gives \(\cos\) (as opposed to \(cos\))

\tan gives \(\tan\)

\sec gives \(\sec\)

\csc gives \(\csc\)

\cot gives \(\cot\)

\arcsin gives \(\arcsin\)

\arccos gives \(\arccos\)

\arctan gives \(\arctan\)

Putting a ^{-1} after the trigonometric function designates it as the inverse. For example, \sin^{-1} gives \(\sin^{-1}\).

\sinh gives \(\sinh\)

\cosh gives \(\cosh\)

\tanh gives \(\tanh\)


~Combinatorics~

\binom{x}{y} gives \(\binom{x}{y}\)

\dbinom{x}{y} gives \(\dbinom{x}{y}\)


~Geometry~

x^{\circ} gives \(x^{\circ}\) the degree symbol

\angle gives \(\angle\)

\Delta gives \(\Delta\), for example \(\Delta ABC\)

\triangle also does the job: \(\triangle ABC\)

\odot gives \(\odot\), for example \(\odot O\)

AB\parallel CD gives \(AB\parallel CD\)

AB\perp CD gives \(AB\perp CD\)

A\cong B gives \(A\cong B\)

A\sim B gives \(A\sim B\)


~Calculus~

We've already learned to use \(\int\). However, there is much more to calculus than integrals!

There is no command for the total derivative, so you have to use \text{d} to get around it.

For example, \dfrac{\text{d}}{\text{d}x} gives \(\dfrac{\text{d}}{\text{d}x}\)

Fortunately, there is a symbol for partial derivatives: \partial gives \(\partial\).

So, \dfrac{\partial}{\partial x} gives \(\dfrac{\partial}{\partial x}\)

Double or even triple integrals can be condensed into \iint and \iiint, respectively. This gives \(\displaystyle\iint\) and \(\displaystyle\iiint\) (I am using display text).

EXTRA

Line integrals can be written as \oint: \(\displaystyle \oint\).


~Parentheses~

( and ) are standard for parentheses: \((a+b)\)

[ and ] are used for brackets: \([a+b]\)

{ and } are used for curly brackets: \(\{a+b\}\)

\lfloor and \rfloor are used for the floor function: \(\lfloor a+b\rfloor\)

\lceil and \rceil are used for the ceiling function: \(\lceil a+b\rceil\)

\langle and \rangle are used for vectors: \(\langle a,b\rangle\)

The vertical line symbol | (not a capital "i" or a lowercase "l"!) is used for absolute value: \(|a+b|\)


~Fitting Parentheses~

Suppose you want to write \(\left(\dfrac{a}{b}\right)^c\). When you try, it gives \((\dfrac{a}{b})^c\). How did I stretch the parentheses to fit?

To stretch the parentheses, use \left before the left parenthesis and \right before the right one, like this: \left( and \right). When put back into the expression, this yields \(\left(\dfrac{a}{b}\right)^c\) as desired.

This isn't just for parentheses; you can use them on brackets: \(\{\dfrac{a}{b}\}\) changes into \(\left\{\dfrac{a}{b}\right\}\)

You can also use this technique on things that use only one parenthesis/bracket/etc. However, just putting \left or \right will yield an error. This is because \left and \right come in pairs. In orer to sidestep this, you can put a period after the one that you do not need (i.e \left. or \right.). This way it will not produce an error, and it will stretch the parenthesis to size. For example, this: \left. \dfrac{x^3+2x}{3x^2}\right|_0^3 gives this: \(\left. \dfrac{x^3+2x}{3x^2}\right|_a^b\)


~Tables and Arrays~~

To make tables and arrays, use \ begin{array}{[modifiers]} ... \ end{array}. (A space is put before "begin" and before "end" to prevent the LaTeX from prematurely rendering. Even though there are no brackets around to make it render, it does so anyways, I don't know why.)

In the modifiers section, you put either l for left, c for center, or r for right, per column. For example, to make an array with 3 columns, all formatted to align along the right edge, you put "rrr" inside the modifier. It would look like this: \ begin{array}{rrr} ... \ end{array}.

To add a vertical line between two columns, put the vertical line symbol | between two modifiers: for example, if you wanted a horizontal line between the first two columns in the previous example, then you would put \ begin{array}{r|rr} ... \ end{array}.

For actual inputting in the array, there are two rules: put a "&" sign to notify to switch to the next column, and put a "\ \" divider (again a space is added in between to prevent it from rendering) to notify to switch to the next row. When building the table, always fill in row by row: in the first row, fill in all the corresponding columns, and then switch to the next row; then continue in this manner. For example, if I wanted to make a \(3\times 3\) square with the numbers \(1\rightarrow 9\), I would put: \ begin{array}{lcr}1 & 2 & 3 \ \ 4 & 5 & 6 \ \ 7& 8 & 9 \ end{array}. This produces: \( \begin{array}{lcr}1 & 2 & 3 \\ 4 & 5 & 6 \\ 7& 8 & 9 \end{array}\).

To insert horizontal lines between any two rows, put \hline after the divider that separates the two rows. For example, if I wanted to add horizontal lines and vertical lines in the previous example to look like a tic tac toe board, this would be my code: \ begin{array}{l|c|r}1 & 2 & 3 \ \ \hline 4 & 5 & 6 \ \ \hline 7& 8 & 9 \ end{array} and it will produce: \(\begin{array}{l|c|r}1 & 2 & 3 \\ \hline 4 & 5 & 6 \\ \hline 7& 8 & 9 \end{array}\)


~Other~

To negate any symbol, put \not before the symbol. For example, "\not =" gives \(\not =\)

Look here for a big list of symbols.


If you don't know how to do something or see something missing in this guide, please do comment below so I can add it! Together, we can make a great LaTeX guide!

Note by Daniel Liu
3 years, 6 months ago

No vote yet
1 vote

Comments

Sort by:

Top Newest

If there is anything that doesn't make sense or is organized bad, please tell me so I can fix it.

I know that regular notes get hopelessly lost in the Feed even just after a few days. However, I wish that somehow this can survive, because I have noticed a lot of people in need in learning some basic LaTeX. Maybe someone can do something about this? Daniel Liu · 3 years, 6 months ago

Log in to reply

@Daniel Liu Just a note here: For limits, I like using "\lim \limits_{a \to b} a" which yields \(\lim \limits_{a \to b} a\) Michael Tong · 3 years, 4 months ago

Log in to reply

@Daniel Liu Daniel Liu we can also use "n\choose{r}" to display \(n\choose{r}\) Parth Lohomi · 2 years, 5 months ago

Log in to reply

@Daniel Liu This is a fantastic idea. I think that we should either make a guide accessible like the algebra dictionary, or brilliant should have a link to this (and other support notes like it) in the formatting guide.

Notice that brilliant does have some well chosen examples. I think that it's just a good idea to expound upon them as you are. Bob Krueger · 3 years, 6 months ago

Log in to reply

@Bob Krueger This is a useful idea. I think that we should make a guide accessible like the algebra dictionary. Niranjan Khanderia · 3 years ago

Log in to reply

@Bob Krueger

This is a fantastic idea. I think that we should either make a guide accessible like the algebra dictionary, or brilliant should have a link to this (and other support notes like it) in the formatting guide.

That would be great! Daniel Liu · 3 years, 6 months ago

Log in to reply

@Daniel Liu Why not make this a wiki?? Hobart Pao · 1 year, 5 months ago

Log in to reply

@Daniel Liu Please add the latex for matrices and determinants.Thankyou Akhil Bansal · 1 year, 11 months ago

Log in to reply

@Daniel Liu I want to suggest a correction for the Parentheses section.

\(\backslash\{\) and \(\backslash\}\) are used for the curly brackets: \(\{a+b\}\)

Note that not giving the slash makes the parentheses disappear when the \(\LaTeX\) output is rendered. Prasun Biswas · 2 years, 4 months ago

Log in to reply

@Prasun Biswas {a and c} Swastik Behera · 1 year, 9 months ago

Log in to reply

@Swastik Behera I'm not sure how your reply is relevant to my comment. You haven't used \(\LaTeX\). You just wrote it in plain text. My comment illustrated how braces aren't rendered in \(\LaTeX\) output if you don't escape it using a backslash.

If you're typing in plain text, then there's no need to escape it since plain text is rendered as it is in output. Prasun Biswas · 1 year, 9 months ago

Log in to reply

@Daniel Liu Can you write the symbol for infinity in Latex if so how ? Abdur Rehman Zahid · 2 years, 9 months ago

Log in to reply

@Abdur Rehman Zahid \infty @Abdur Rehman Zahid Mathh Mathh · 2 years, 9 months ago

Log in to reply

@Mathh Mathh Thanks Abdur Rehman Zahid · 2 years, 9 months ago

Log in to reply

@Daniel Liu Yes, if you could put all the produced results first and then the HOW-TOs, that'd be great. It'd be like a LaTeX dictionary. The way it is now is hard to skim through with an eye to find the thing you want in the nexus of information.

A great guide, by the way. John Muradeli · 2 years, 10 months ago

Log in to reply

Awesome note for all learners ! \(\LaTeX\) is truly useful and the following wikipedia page is also helpful for this purpose.

What I want to add in this note is the \(\LaTeX\) colors , I try to use them in \(\color{Red}{problems}\) and \(\color{Green}{Solutions}\)

For that , you have to type

\color{code of the color}{your text}

For example, " \color{Green}{Maths} " will appear as \(\color{Green}{Maths}\)

" \color{Blue}{Maths} " will appear as \( \color{Blue}{Maths}\)...

Codes of the colors you can find on the wikipedia page.

Also the use of " \Huge" , it is used for getting big fonts, like

" \Huge{Maths}" will appear as \(\Huge{Maths}\)

@Daniel Liu , try getting this in the note too ..... Aditya Raut · 3 years ago

Log in to reply

@Aditya Raut \(\mathbb{\Huge{\color{MidnightBlue}{How \text{ }To \text{ } Swear\text{ } In\text{ } Mathematics, \sqrt{-1}}}}\)

Wow really cool! :) Happy Melodies · 2 years, 12 months ago

Log in to reply

@Happy Melodies \(\Huge\color{green}{NICE}\)
How did you changed the font?? Akhil Bansal · 1 year, 11 months ago

Log in to reply

@Aditya Raut \(\Huge{\text{Aditya}}{\text{Raut}}\) Wow! This is cool!!@Aditya Raut Anuj Shikarkhane · 2 years, 8 months ago

Log in to reply

@Anuj Shikarkhane \(\huge{\color{red}{Z} \color{green}{U} \color{blue}{H} \color{MidnightBlue}{A} \color{lightpink}I \color{Orange}{R}}\) Md Zuhair · 4 months, 1 week ago

Log in to reply

Nice !

For posting solutions , I prefer the following pages :

1.LaTex/Mathematics

2.LaTex/Advanced Mathematics

Hope that helps ! :3 Priyansh Sangule · 3 years, 6 months ago

Log in to reply

Nice Eddie The Head · 3 years, 6 months ago

Log in to reply

Another suggestion: \oint for surface integral (\(\oint\)). Sreejato Bhattacharya · 3 years, 6 months ago

Log in to reply

@Sreejato Bhattacharya Hmm... I said \oint was for line integral in the Calculus section. Surface integral, line integral, same thing. Daniel Liu · 3 years, 6 months ago

Log in to reply

Whats wrong with this?

\(\color{Blue}\text{S = x^2 - 8\lfloor x \rfloor + 10}\) Ankit Kumar Jain · 4 months, 1 week ago

Log in to reply

@Ankit Kumar Jain Use \color{Blue} {S = x^2 - 8\lfloor x \rfloor + 10} to get \(\color{Blue} {S = x^2 - 8\lfloor x \rfloor + 10}\) Kishore S Shenoy · 4 months, 1 week ago

Log in to reply

@Kishore S Shenoy Thanks!! Ankit Kumar Jain · 4 months, 1 week ago

Log in to reply

@Kishore S Shenoy \(\color{Blue}{S = x^2 - 8\lfloor x \rfloor + 10}\) Ankit Kumar Jain · 4 months, 1 week ago

Log in to reply

A note on integrals in \(\LaTeX\): [[ \(\mbox{\iiint}\) ]] gives \[\iiint\] It can also be written as [[\(\mbox{\int \! \! \! \! \int \! \! \! \! \int}\)]], giving \[\int \!\!\!\! \int \!\!\!\! \int\] While this is unncessary in Brilliant, it is used in actual \(\LaTeX\) editors when the "esint" package (which contains \iiint) is not available.

Here, the symbol [[ \(\mbox{\!}\) ]] removes a certain space between two characters. Jaydee Lucero · 1 year, 10 months ago

Log in to reply

There is a typo the line just above "Tables and Arrays". In Fitting Parentheses
display is an error. \left. \dfrac{x^3+2x}{3x^2}\right|_0^3 should give \(~~~~\color{red}{ \large \ \left. ~~\right |_0^3} \) Niranjan Khanderia · 2 years ago

Log in to reply

THIS IS AWESOME! HUHUHUHU Astro Enthusiast · 2 years, 12 months ago

Log in to reply

@Astro Enthusiast Yeah. :D Jaydee Lucero · 2 years, 11 months ago

Log in to reply

@Jaydee Lucero Hey, what course are you in? And we're batchmates, I reckon. Astro Enthusiast · 2 years, 11 months ago

Log in to reply

@Astro Enthusiast Civil Engineering. :) And you're Journalism, right? :D

Sorry, I don't understand your use of the word "batchmates". XD Jaydee Lucero · 2 years, 11 months ago

Log in to reply

@Jaydee Lucero 2012? :) Astro Enthusiast · 2 years, 11 months ago

Log in to reply

@Astro Enthusiast Nope, 2013. :) Jaydee Lucero · 2 years, 11 months ago

Log in to reply

@Jaydee Lucero Na-feel ko nga kasi 17 ka haha Astro Enthusiast · 2 years, 11 months ago

Log in to reply

@Astro Enthusiast :)))

Take note lang ha, 'di tayo parehas ng high school. Wala lang sinabi ko lang haha XD Jaydee Lucero · 2 years, 11 months ago

Log in to reply

@Jaydee Lucero Of course, I know. Kilala sana kita if oo. :) Astro Enthusiast · 2 years, 11 months ago

Log in to reply

This site is a good way to get off the ground quickly with all the different symbols: http://www.codecogs.com/latex/eqneditor.php Josh Silverman Staff · 3 years, 4 months ago

Log in to reply

Excellent! I suggest adding matrices. Ahaan Rungta · 3 years, 6 months ago

Log in to reply

@Ahaan Rungta I added tables and arrays, that will probably suffice for making matrices too. Daniel Liu · 3 years, 6 months ago

Log in to reply

This is amazing! Just one thing: The link redirects to this page. Trevor B. · 3 years, 6 months ago

Log in to reply

@Trevor B. Hmm... The link isn't to this post though. Probably a glitch. I explicitly posted the link. Daniel Liu · 3 years, 6 months ago

Log in to reply

@Daniel Liu I suppose that works too. This is a really great post. Trevor B. · 3 years, 6 months ago

Log in to reply

With my mac \left, \right does not work. Big work as under.
big ( your text big ). Same for left and right.
Four sizes: big,....bigg,......Big,......Bigg. Niranjan Khanderia · 1 week, 2 days ago

Log in to reply

We can also use \mathrm{d} for the total derivative command you are talking about.

Like \( \dfrac{\mathrm{d}}{\mathrm{d}x}.e^{x}=e^x \)

:) Swagat Panda · 2 weeks ago

Log in to reply

How to write Right arrow symbol on LaTex? Munem Sahariar · 4 weeks, 1 day ago

Log in to reply

@Munem Sahariar

  • Use \rightarrow for \(\rightarrow\)
  • Use \Rightarrow for \(\Rightarrow\)
Kishore S Shenoy · 4 weeks, 1 day ago

Log in to reply

@Kishore S Shenoy Thanks. I just want the second one \( \Rightarrow \) Munem Sahariar · 4 weeks, 1 day ago

Log in to reply

@Munem Sahariar You may also want \implies : \(\implies\) Kishore S Shenoy · 4 weeks, 1 day ago

Log in to reply

I think you should make a column for the arrows... Ashok Dargar · 1 month, 1 week ago

Log in to reply

Like when we conclude two things from a statement , we use \begin{cases} and \end{cases}.

What do we use when we conclude one thing from two things??Like the opposite kind of braces I want as in \begin{cases} .... Ankit Kumar Jain · 4 months ago

Log in to reply

What is the issue with this?

I wanted to color only \(102^2\) but this did not happen

\(100^2 + 101^2 + \color{blue}{102^2} + \cdots + 998^2 + 999^2 + 1000^2\) Ankit Kumar Jain · 4 months, 1 week ago

Log in to reply

@Ankit Kumar Jain Use ...\color{blue} {102^2}\color{black}... to unflag it. I don't know the reason though...​ \(100^2 + 101^2 + \color{blue}{102^2} \color{black} + \cdots + 998^2 + 999^2 + 1000^2\) Kishore S Shenoy · 4 months, 1 week ago

Log in to reply

@Kishore S Shenoy I got the error...See this

\(100^2 + 101^2 + {\color{blue}{102^2}} + \cdots + 998^2 + 999^2 + 1000^2\) Ankit Kumar Jain · 4 months ago

Log in to reply

code for less than and greater than plzz Nivedit Jain · 4 months, 1 week ago

Log in to reply

@Nivedit Jain

  • Use \le for \(\le\)
  • Use \ge for \(\ge\)
Kishore S Shenoy · 4 months, 1 week ago

Log in to reply

@Kishore S Shenoy i dont need quality Nivedit Jain · 4 months, 1 week ago

Log in to reply

@Nivedit Jain OK. Use

  • < for \(<\)
  • > for \(>\)
Kishore S Shenoy · 4 months, 1 week ago

Log in to reply

Who to write infinity?? Nivedit Jain · 4 months, 1 week ago

Log in to reply

Who to write infinity?? Nivedit Jain · 4 months, 1 week ago

Log in to reply

@Nivedit Jain \infty will give you \(\infty\), infinity symbol. Kishore S Shenoy · 4 months, 1 week ago

Log in to reply

@Kishore S Shenoy thank you Nivedit Jain · 4 months, 1 week ago

Log in to reply

If someone can help me out , please!!!

How can we add a picture and how can we link one page to another ?? Ankit Kumar Jain · 4 months, 2 weeks ago

Log in to reply

@Ankit Kumar Jain

  • Use [text here](link) to add link.
  • Use ![caption](link) to add image. (You can as well ignore the caption, put it blank [])
For more help, visit this page. Kishore S Shenoy · 4 months, 2 weeks ago

Log in to reply

@Kishore S Shenoy It got converted to a link here , but not where I intended to!!!!!

See the caption under the set name by clicking on the link below . It is not getting linked??/ Why?

My problems Ankit Kumar Jain · 4 months, 2 weeks ago

Log in to reply

@Kishore S Shenoy Like I was trying this

'THRILLER'

What is wrong? Ankit Kumar Jain · 4 months, 2 weeks ago

Log in to reply

@Ankit Kumar Jain OK. It's because markdown is disabled over there. Use inside latex : \href{link}{\text{caption}} Kishore S Shenoy · 4 months, 2 weeks ago

Log in to reply

@Kishore S Shenoy Thanks a lot.! Ankit Kumar Jain · 4 months, 2 weeks ago

Log in to reply

Can you please mention 'belongs to' sign\symbol? Sahil Silare · 4 months, 2 weeks ago

Log in to reply

@Sahil Silare This will help. Type \in to get \(\in\). Kishore S Shenoy · 4 months, 2 weeks ago

Log in to reply

@Kishore S Shenoy Thanks, it worked :) Sahil Silare · 4 months, 2 weeks ago

Log in to reply

@Sahil Silare :-) Kishore S Shenoy · 4 months, 2 weeks ago

Log in to reply

What about lesser than equal to? Md Zuhair · 8 months, 1 week ago

Log in to reply

@Md Zuhair \le will give you \(\le\) Kishore S Shenoy · 8 months, 1 week ago

Log in to reply

@Kishore S Shenoy Thanks Md Zuhair · 8 months, 1 week ago

Log in to reply

@Ali Hamaiz Here is the note I was talking to you about. Abdur Rehman Zahid · 1 year, 2 months ago

Log in to reply

How about ---> Jun Arro Estrella · 1 year, 5 months ago

Log in to reply

@Jun Arro Estrella \rightarrow gives \(\rightarrow\).

If you want a longer one, affix "long". Thus, \longrightarrow gives \(\longrightarrow\). Jaydee Lucero · 1 year, 5 months ago

Log in to reply

@Jaydee Lucero Thank you kuya Jaydee :) See you in automathic Jun Arro Estrella · 1 year, 5 months ago

Log in to reply

Comment deleted Aug 30, 2015

Log in to reply

@Akhil Bansal [What you want the link to say] (The URL that you want to link to)

Don't add the space between them. Trevor B. · 1 year, 10 months ago

Log in to reply

@Trevor B. @Trevor B. Can you tell me how to change the size of image in latex? Akhil Bansal · 1 year, 10 months ago

Log in to reply

@Akhil Bansal While I don't know how to do that in Brilliant, you can import an image from the graphics package and set the size you want with [length=x cm] after \includegraphic. Trevor B. · 1 year, 10 months ago

Log in to reply

Can you please help me??? How to write infinity in latex form.PLEASE HELP ME Ayush Sharma · 2 years, 1 month ago

Log in to reply

@Ayush Sharma The \(\LaTeX\) code for \(\infty\) is \infty. Prasun Biswas · 2 years, 1 month ago

Log in to reply

@Prasun Biswas Can you please tell me how to add hyperlink,
I am trying it from many days and still not able to do so.
Please help!! Akhil Bansal · 1 year, 10 months ago

Log in to reply

@Akhil Bansal [Brilliant](http://www.brilliant.org) gives you Brilliant. Since this is a Markdown feature and not a \(\LaTeX\) feature, don't enclose it in slash brackets as you do with math code.

Basically, the syntax is [hyperlink_text](url_to_page).

Here's a screenshot of output corresponding to Markdown code for ease of understanding:

Image

Image

\(~~~\large\overset{\textrm{output}}{\implies}~~~\)
Image

Image

with the hyperlink directing you to the specified url. Prasun Biswas · 1 year, 10 months ago

Log in to reply

@Prasun Biswas Please tell me how to add large brackets...?
For eg. \[\left(\large \cfrac{a+b}{c+\cfrac{d}{e+f}}\right)\]

Here,brackets are not able to cover up the whole expression..
Thanks,now it's working. Akhil Bansal · 1 year, 10 months ago

Log in to reply

@Akhil Bansal Use \left before opening bracket and \right before closing bracket to make the brackets auto-resize themselves to cover up the entire expression.

The basic syntax for the type of brackets you need is \(\text{\left(}\cdots\text{\right)}\) as opposed to the normal bracketing \(\text{(}\ldots\text{)}\). Prasun Biswas · 1 year, 10 months ago

Log in to reply

@Prasun Biswas Thanks a lot.... Akhil Bansal · 1 year, 10 months ago

Log in to reply

@Prasun Biswas Thank you for your help Ayush Sharma · 2 years, 1 month ago

Log in to reply

What is wrong with this latex????

[3^{\(4n-3\)}] Ashwin Padaki · 2 years, 1 month ago

Log in to reply

@Ashwin Padaki Enclose it in \[ Kishore S Shenoy · 4 months, 2 weeks ago

Log in to reply

@Ashwin Padaki \[ 3^{4n-3}\] I think it is OK see my Latex code. Niranjan Khanderia · 2 years, 1 month ago

Log in to reply

\(\text{your text here}\) Aditya Chauhan · 2 years, 2 months ago

Log in to reply

@Aditya Chauhan Aditya Chauhan \(\text{your text here}\) You have to put the \( \backslash ( \backslash )\) around the Latex Abdur Rehman Zahid · 1 year, 11 months ago

Log in to reply

Thanks... Nishu Sharma · 2 years, 2 months ago

Log in to reply

\( {sec}^{2} \theta + 16{sec}^{2} \phi + 49{sec}^{2} \delta + 8\sec \theta \sec \phi + 56\sec \phi \sec \delta + 14\sec \theta \sec \delta \) Mvs Saketh · 2 years, 4 months ago

Log in to reply

@Mvs Saketh Use \sec^2 \delta for \(\sec^2 \delta\) Kishore S Shenoy · 1 year, 10 months ago

Log in to reply

For i = 1 , 2 ,\(\cdots\), n , let \(a_{i}\) and \(b_{i}\) be non-negative real numbers. Then \(\left( a_{1} + a_{2}+\cdots + a_{n}\right)\) \(\left( b_{1}+ b_{2} +\cdots + b_{n}\right)\) \(\geq\) \(\left( \sqrt{a_{1}b_{1}} +\sqrt{a_{2}b_{2}} +\cdots +\sqrt{a_{n}b_{n}} \right) ^{2} \) Alita Toh · 2 years, 7 months ago

Log in to reply

\(\Huge{Brilliant\;Is\;So\;Awesome\;!!!}\) Abdur Rehman Zahid · 2 years, 8 months ago

Log in to reply

Comment deleted Feb 06, 2015

Log in to reply

@Abdur Rehman Zahid \( \Huge{I like Brilliant} \\ \) I think you wanted this. You missed starting with \ ( and ending with \ )....no space after a \, I had to do it for technical reason. Niranjan Khanderia · 2 years, 10 months ago

Log in to reply

@Niranjan Khanderia thank you Abdur Rehman Zahid · 2 years, 9 months ago

Log in to reply

\(\text{your text here}\) Adarsh Kumar · 2 years, 10 months ago

Log in to reply

\(\text{awesome post}\) Adarsh Kumar · 2 years, 10 months ago

Log in to reply

[@Daniel Liu ], How do I denote vectors by latex? Abhimanyu Swami · 2 years, 11 months ago

Log in to reply

@Abhimanyu Swami @Abhimanyu Swami Here's your query ...type this \stackrel{rightarrow} v and you get this

\(\huge{ \stackrel{\rightarrow} v}\) and you might also want.. \(\huge{\stackrel{\rightarrow}{|v|}}\). Arya Samanta · 2 years, 10 months ago

Log in to reply

@Arya Samanta \( \stackrel {\rightarrow} { v^2} \) .......This is what I get with \stackrel {\rightarrow} { v^2} Niranjan Khanderia · 2 years, 10 months ago

Log in to reply

@Niranjan Khanderia Srry put a slash before the rightarrow word I mean \stackrel{\rightarrow}{v} you'll get this time .

Arya Arya Samanta · 2 years, 10 months ago

Log in to reply

@Arya Samanta Thanks. With the correction and adding {v^2} with in { } that is.....
\stackrel {\rightarrow} { v^2} ..gives :- \( ~~~~~~~~~~~~~~ \\ \stackrel {\rightarrow} { v^2} \) Niranjan Khanderia · 2 years, 10 months ago

Log in to reply

@Abhimanyu Swami \(\begin{array}{l|c|r}\huge Normal~Vectors \\\hline\end{array}\)

Use \vec{v} for \(\huge\displaystyle\vec{v}\)

\(\begin{array}{l|c|r}\huge Unit~Vectors \\\hline\end{array}\)

Use \hat{\imath}\;\;\hat{\jmath}\;\;\hat{k} for \(\huge\hat{\imath}\;\;\hat{\jmath}\;\;\hat{k}\)

\imath' and\jmathgets rid of the the dot overiandj`. Kishore S Shenoy · 1 year, 10 months ago

Log in to reply

Also, what's the latex for putting a black square around the answer when you're writing solutions. Trevor Arashiro · 2 years, 11 months ago

Log in to reply

@Trevor Arashiro \boxed { }

@Daniel Liu There are lots of symbols on the AoPS page you linked to, but there is some \(\LaTeX\) stuff you should definitely add, like systems of equations (we use \begin{cases} .. \\ ... \\ ..\end{cases} for this) and \boxed { }. These don't exist on the AoPS page.

I also like to use \stackrel { } to get some text shown above symbols.

E.g. \stackrel{\text{AM-GM}}\ge gives \(\stackrel{AM-GM}\ge\). This is optional, though. Mathh Mathh · 2 years, 11 months ago

Log in to reply

What's the code for =>, not \(\geq\) Trevor Arashiro · 2 years, 11 months ago

Log in to reply

@Trevor Arashiro If you mean an arrow, there are quite a few codes for it: \implies or \Rightarrow or \rightarrow or \Longrightarrow or \to or \longrightarrow or \mapsto or \longmapsto. Mathh Mathh · 2 years, 11 months ago

Log in to reply

@Mathh Mathh thank you, the first one was the one I was looking for Trevor Arashiro · 2 years, 11 months ago

Log in to reply

I find this note very, very nice! :D

I have a question: How should I write the definition of absolute value using LaTeX? Jaydee Lucero · 2 years, 12 months ago

Log in to reply

@Jaydee Lucero The best is simply the symbol | on your keyboard. For division there's a better one, though - /mid. Mathh Mathh · 2 years, 12 months ago

Log in to reply

@Mathh Mathh But how about the brace { used for piecewise defined functions? The definition of absolute value uses that :) Jaydee Lucero · 2 years, 11 months ago

Log in to reply

@Jaydee Lucero You'd use the same latex that you'd use for systems of equations.

f(x) = \begin{cases} 1 \\ 2 \end{cases} gives \(f(x) = \begin{cases} 1 \\ 2 \end{cases}\)

Put what you want between \begin{cases} and \end{cases} and separate new lines with \\. Mathh Mathh · 2 years, 11 months ago

Log in to reply

@Mathh Mathh Oh, that's nice. :) Thanks. :) Jaydee Lucero · 2 years, 11 months ago

Log in to reply

When NOT using "\text " while in Latex,
for " space " we can use "~".

Say:-In Latex.....>\ ( (I~am~~~coming~~~~) \ ) gives:-
(I#am###coming####)...... "#" stands for space here. Niranjan Khanderia · 3 years ago

Log in to reply

One more thing, for summation and production, it's required to put curly brackets { } between \(n\) if you have more than 1 characters on \(n\). Otherwise it'll show as \(\displaystyle\sum_{i=0}^2014 i\) instead of \(\displaystyle\sum_{i=0}^{2014} i\). (Note that other brackets don't work.) Samuraiwarm Tsunayoshi · 3 years ago

Log in to reply

One question how did you make "LATEX" look like that . Abhishek Singh · 3 years ago

Log in to reply

@Abhishek Singh \LaTeX Mathh Mathh · 3 years ago

Log in to reply

Thanks man. Been looking for something like this. Kaelyn Willingham · 3 years ago

Log in to reply

How to write Pi in latex? Avineil Jain · 3 years, 4 months ago

Log in to reply

@Avineil Jain Use \pi

\( \pi \) Siddhartha Srivastava · 3 years, 4 months ago

Log in to reply

Something I never got around to asking here is, how do you get the light grey line to denote section breaks? When I add a section break, I put \text{............................................................................................................} between the display delimiters, but I never figured out how to automate that with the grey lines. Trevor B. · 3 years, 4 months ago

Log in to reply

@Trevor B. by putting three or more underscores in a row. like this: _





Daniel Liu · 3 years, 4 months ago

Log in to reply

@Daniel Liu Can you explain a little bit more about the above \(\LaTeX\) use

and what about squaring the mod of a vector I mean

\(\huge{\stackrel{\rightarrow}{|v|}}\)

if I try to square it then it becomes either \(\huge{\stackrel{\rightarrow}{|v|^2}}\) or \(\huge{{\stackrel{\rightarrow}{|v|}^2}}\) Arya Samanta · 2 years, 10 months ago

Log in to reply

@Arya Samanta Use \huge{\left|\vec{v}\right|}^2 for \({\left|\vec{v}\right|}^2\) Kishore S Shenoy · 1 year, 10 months ago

Log in to reply

@Arya Samanta See how it is written here by putting cursor over it. .

\( | \vec v|^2\) Niranjan Khanderia · 2 years, 10 months ago

Log in to reply

@Trevor B. --- will give :


Kishore S Shenoy · 1 year, 10 months ago

Log in to reply

Are geometry diagrams made with latex? How? Nathan Ramesh · 3 years, 4 months ago

Log in to reply

@Nathan Ramesh No. Geometric Diagrams are made with a typesetting language called Asymptote Vector Graphics Language. Daniel Liu · 3 years, 4 months ago

Log in to reply

@Nathan Ramesh Nope. Priyansh Sangule · 3 years, 4 months ago

Log in to reply

This is really helpful, thanks a lot Daniel!! Piyal De · 3 years, 4 months ago

Log in to reply

May I ask how can I create tables in LaTeX? Happy Melodies · 3 years, 6 months ago

Log in to reply

@Happy Melodies I have written the guide to tables and arrays. At first I thought that I shouldn't write it because this was a basic latex guide, but since you asked for it, I put it on. See if you can understand what I wrote, and if you can't you can tell me why and I will change it. Daniel Liu · 3 years, 6 months ago

Log in to reply

@Daniel Liu Yup! I understood! Thanks a lot!!! :) Happy Melodies · 3 years, 6 months ago

Log in to reply

Thanks Daniel. Soham Dibyachintan · 3 years, 6 months ago

Log in to reply

Just one thing that's quite common: \(a \mid b\) for divisibility use \mid to create the line. Other than this, the post is great! Thanks for it! :) Happy Melodies · 3 years, 6 months ago

Log in to reply

@Happy Melodies Thanks! Added to Modular Arithmetic. Daniel Liu · 3 years, 6 months ago

Log in to reply

\(1+2+3=6\) Abdur Rehman Zahid · 2 years, 9 months ago

Log in to reply

Comment deleted Feb 06, 2015

Log in to reply

@Abdur Rehman Zahid @Abdur Rehman Zahid Enclose it in \ ( \ .....\ ) but don't leave spaces Anuj Shikarkhane · 2 years, 8 months ago

Log in to reply

@Anuj Shikarkhane Thanks,I know now Abdur Rehman Zahid · 2 years, 7 months ago

Log in to reply

×

Problem Loading...

Note Loading...

Set Loading...