Legendary LaTeX Tutorial! Repost of http://openstudy.com/study#/updates/51fbcbade4b0cc46c14a461d since the old one was way too slow and took 82000 minutes to bump. \(\bf \text{Check out more Featured Tutorials like this}\ \href{http:///openstudytutorials.weebly.com}{~Here}\)
In this turorial, I will highlight begin and end tags in \(\sf\color{red}{red}\), commands in \(\sf\color{green}{green}\) and parameters in \(\sf\color{blue}{blue}\). Normal text is black. You can't copy these colored examples and use them because they won't work (they contain different symbols to make it possible to display them here without it being recognized as latex) So you'll have to type over everything.
\(\hspace{50pt}\Huge\sf \color{#730000}{Basic\ \LaTeX\ Layout}\) Always begin with \(\color{red}{\backslash(}\) and end with \(\color{red}{\backslash)}\) When you write your text between these two, it will be recognized as LaTeX \(\color{red}{\backslash(}\sf Hello~there!!!\color{red}{\backslash)}\) will look like: \(Hello there!!!\) The commands (or tags) in latex begin with a backslash and most of them also want parameters, which are enclosed in curly braces after the command. For example, write: \(\sf\color{red}{\backslash(}\color{green}{\backslash underline}\color{blue}{\{my\ first\ underlined\ text!\}} \color{red}{\backslash)}\) It will look like this: \(\underline{my first underlined text!}\) In LaTeX, you need to define spaces. You can use a single backslash followed by a space to induce spaces. So just type a single backslash\ after\ every\ word\ and you'll have text with spaces. You can also use a tilde (\(\sf\sim\)) to induce spaces. Now we write: \(\sf\color{red}{\backslash(}\color{green}{\backslash underline}\color{blue}{\{my\backslash~first\backslash~underlined\backslash~text!\}} \color{red}{\backslash)}\) It will look like this: \(\underline{my\ first\ underlined\ text!}\) When you use the tide, it will be \(\sf\color{red}{\backslash(}\color{green}{\backslash underline}\color{blue}{\{my\sim first\sim underlined\sim text!\}} \color{red}{\backslash)}\) Other ways to create spaces are: \(\backslash;\) = thick space \(\hspace{60 pt}~\to\sf M\;M\) \(\backslash\hspace{-2pt}:\) = medium space\(\hspace{51 pt}~\to\sf M\:M\) \(\backslash,\) = thin space\(\hspace{68 pt}~\to\sf M\,M\) \(\backslash!\) = negative space\(\hspace{51 pt}~\to\sf M\!M\) \(\backslash\sf quad\) = 1 em space\(\hspace{43 pt}~\to\sf M\quad M\) \(\backslash\sf qquad\) = 2 em space (2x \quad)\(~\to\sf M\qquad M\) For long white spaces, use: \(\sf\color{green}{\backslash hspace\color{blue}{\{x~pt\}}}\), where x is the length. Example: \(\color{red}{\backslash(}\sf Hello\color{green}{\backslash hspace}\color{blue}{\{100~pt\}}there!\color{red}{\backslash)}\) will be: \(Hello~\hspace{100 pt}there!\)
\(\hspace{80pt}\Huge\sf \color{#730000}{More\ fonts}\) Now this italic text is nice, but we can use way cooler fonts! The syntax for this is: \(\color{red}{\backslash(}\sf\color{green}{\backslash font}\color{blue}{~text }\color{red}{\backslash)}\) \(\sf\color{red}{\backslash(}\color{green}{\backslash bf}\color{blue}{~Hello\sim there!}\color{red}{\backslash)}\) Will become: \( \bf Hello\ there! \) \(\LARGE\sf Fonts\ you\ can\ use:\) \(\huge\sf\color{green}{\backslash sf} \hspace{19pt} \to ABCDEFabcdef123456\) \(\huge\sf\color{green}{\backslash tt} \hspace{19pt} \to \tt ABCDEFabcdef123456\) \(\huge\sf\color{green}{\backslash it} \hspace{21pt} \to \it ABCDEFabcdef123456\) \(\huge\sf\color{green}{\backslash bf} \hspace{15pt} \to \bf ABCDEFabcdef123456\) \(\huge\sf\color{green}{\backslash rm} \hspace{10pt} \to \rm ABCDEFabcdef123456\) \(\huge\sf\color{green}{\backslash cal} \hspace{10pt} \to \cal ABCDEFabcdef123456\) \(\huge\sf\color{green}{\backslash scr} \hspace{10pt} \to \scr ABCDEFabcdef123456\) \(\huge\sf\color{green}{\backslash frak} \to \frak ABCDEFabcdef123456\) \(\LARGE\sf There\ are\ 2\ exceptions:\) You need to add braces to these fonts in order to use them, so \(\bf\color{red}{\backslash(}\color{green}{\backslash mathbb\{}\color{blue}{text}\color{green}{\} }\color{red}{\backslash)}\) \(\LARGE\sf\color{green}{\backslash mathbb} \to \mathbb{ ABCDEFabcdef123456}\) \(\LARGE\sf\color{green}{\backslash boldsymbol} \to \boldsymbol{ ABCDEFabcdef123456}\) \(\Large\sf How\ to\ use\ 2\ fonts\ in\ 1\ line:\) When you type \sf, everything after that will become Sans-serif until you introduce another font command. So when you type: \(\color{red}{\backslash(}\sf\color{green}{\backslash sf}\color{blue}{~hello\sim everyone\sim i'm}\color{green}{\backslash cal}\color{blue}{~Thomaster!!}\color{red}{\backslash)}\) It will become: \(\sf hello\ everyone\ i'm\ \cal Thomaster!!\)
\(\hspace{80pt}\Huge\sf \color{#730000}{Change\ Sizes}\) In \(\LaTeX\) on OpenStudy, we can use a few different text sizes. The syntax for this is \(\bf\color{red}{\backslash(}\color{green}{\backslash size~}\color{blue}{text}\color{red}{\backslash)}\) (don't forget the space after the size tag) For \(\sf\color{green}{\backslash size}\) we can use the following 9 sizes: \(\begin{array}{ll} \large\sf\color{green}{\backslash tiny}&\Large\to\sf\tiny ABCDEFabcdef123456\\ \large\sf\color{green}{\backslash scriptsize}&\Large\to\sf\scriptsize ABCDEFabcdef123456\\ \large\sf\color{green}{\backslash small}&\Large\to\sf\small ABCDEFabcdef123456\\ \large\sf\color{green}{\backslash normalsize}&\Large\to\sf\normalsize ABCDEFabcdef123456\\ \large\sf\color{green}{\backslash large}&\Large\to\sf\large ABCDEFabcdef123456\\ \large\sf\color{green}{\backslash Large}&\Large\to\sf\Large ABCDEFabcdef123456\\ \large\sf\color{green}{\backslash LARGE}&\Large\to\sf\LARGE ABCDEFabcdef123456\\ \large\sf\color{green}{\backslash huge}&\Large\to\sf\huge ABCDEFabcdef123456\\ \large\sf\color{green}{\backslash Huge}&\Large\to\sf\Huge ABCDEFabcdef123456\\ \end{array}\) You can use more sizes in 1 line. Everytime you introduce a new size text, everything after that will be in that size untill you introduce a new one. So \(\bf\color{red}{\backslash(}\color{green}{\backslash Huge~}\color{blue}{hello}\color{green}{\backslash small~}\color{blue}{every}\color{green}{\backslash LARGE~}\color{blue}{one}\color{red}{\backslash)}\) will output: \(\Huge hello\small every\LARGE one\)
\(\hspace{110pt}\Huge\sf \color{#730000}{Colors}\) There are 2 ways to create colored text, by using predefined colors or hexadecimal color codes The syntax is always: \(\bf\color{red}{\backslash(}\color{green}{\backslash color\{\color{#8C00FF }{color}\}\{\color{blue}{text}\}}\color{red}{\backslash)}\) \(\sf\color{#8C00FF }{color}\) is either a predefined color or a hexadecimal code. This is a list of predefined colors on OpenStudy and hexadecimal codes: \(\begin{array}{|l|l|}\hline \sf\Large predefined\ colors&\sf\Large hexadecimal\\\hline \sf\Large\color{maroon}{maroon}&\sf\Large\color{#FF0000}{\#FF0000}\\\hline \sf\Large\color{brown}{brown}&\sf\Large\color{#FF1700}{\#FF1700}\\\hline \sf\Large\color{red}{red}&\sf\Large\color{#FF2E00}{\#FF2E00}\\\hline \sf\Large\color{orangered}{orangered}&\sf\Large\color{#FF4500}{\#FF4500}\\\hline \sf\Large\color{salmon}{salmon}&\sf\Large\color{#FF5C00}{\#FF5C00}\\\hline \sf\Large\color{orange}{orange}&\sf\Large\color{#FF7300}{\#FF7300}\\\hline \sf\Large\color{goldenrod}{goldenrod}&\sf\Large\color{#FF7300}{\#FF7300}\\\hline \sf\Large\color{gold}{gold}&\sf\Large\color{#FF8A00}{\#FF8A00}\\\hline \sf\Large\color{yellow}{yellow}&\sf\Large\color{#FFA100}{\#FFA100}\\\hline \sf\Large\color{greenyellow}{greenyellow}&\sf\Large\color{#FFB800}{\#FFB800}\\\hline \sf\Large\color{olive}{olive}&\sf\Large\color{#FFCF00}{\#FFCF00}\\\hline \sf\Large\color{lime}{lime}&\sf\Large\color{#FFE600}{\#FFE600}\\\hline \sf\Large\color{springgreen}{springreen}&\sf\Large\color{#FFFD00}{\#FFFD00}\\\hline \sf\Large\color{green}{green}&\sf\Large\color{#FFFF00}{\#FFFF00}\\\hline \sf\Large\color{forestgreen}{forestgreen}&\sf\Large\color{#E8FF00}{\#E8FF00}\\\hline \sf\Large\color{seagreen}{seagreen}&\sf\Large\color{#D1FF00}{\#D1FF00}\\\hline \sf\Large\color{teal}{teal}&\sf\Large\color{#BAFF00}{\#BAFF00}\\\hline \sf\Large\color{turquoise}{turquoise}&\sf\Large\color{#A3FF00}{\#A3FF00}\\\hline \sf\Large\color{cyan}{cyan}&\sf\Large\color{#8CFF00}{\#8CFF00}\\\hline \sf\Large\color{aquamarine}{aquamarine}&\sf\Large\color{#75FF00}{\#75FF00}\\\hline \sf\Large\color{cadetblue}{cadetblue}&\sf\Large\color{#5EFF00}{\#5EFF00}\\\hline \sf\Large\color{cornflowerblue}{cornflowerblue}&\sf\Large\color{#19FF00}{\#19FF00}\\\hline \sf\Large\color{royalblue}{royalblue}&\sf\Large\color{#00FF17}{\#00FF17}\\\hline \sf\Large\color{midnightblue}{midnightblue}&\sf\Large\color{#00FF5C}{\#00FF5C}\\\hline \sf\Large\color{navy}{navy}&\sf\Large\color{#00FF8A}{\#00FF8A}\\\hline \sf\Large\color{blue}{blue}&\sf\Large\color{#00FFB8}{\#00FFB8}\\\hline \sf\Large\color{purple}{purple}&\sf\Large\color{#00FFE6}{\#00FFE6}\\\hline \sf\Large\color{blueviolet}{blueviolet}&\sf\Large\color{#00E6FF}{\#00E6FF}\\\hline \sf\Large\color{darkorchid}{darkorchid}&\sf\Large\color{#00CFFF}{\#00CFFF}\\\hline \sf\Large\color{magenta}{magenta}&\sf\Large\color{#00A1FF}{\#00A1FF}\\\hline \sf\Large\color{orchid}{orchid}&\sf\Large\color{#008AFF}{\#008AFF}\\\hline \sf\Large\color{plum}{plum}&\sf\Large\color{#0073FF}{\#0073FF}\\\hline \sf\Large\color{grey}{grey}&\sf\Large\color{#005CFF}{\#005CFF}\\\hline \sf\Large\color{tan}{tan}&\sf\Large\color{#0045FF}{\#0045FF}\\\hline \sf thanks\ to\ \href{/users/kymber}{@kymber}\ for\\\sf the\ predefined\ color\ list&\sf\Large\color{#0017FF}{\#0017FF}\\\hline &\sf\Large\color{#0200FF}{\#0200FF}\\\hline &\sf\Large\color{#3000FF}{\#3000FF}\\\hline &\sf\Large\color{#4700FF}{\#4700FF}\\\hline &\sf\Large\color{#7500FF}{\#7500FF}\\\hline &\sf\Large\color{#8C00FF}{\#8C00FF}\\\hline &\sf\Large\color{#A300FF}{\#A300FF}\\\hline &\sf\Large\color{#BA00FF}{\#BA00FF}\\\hline &\sf\Large\color{#D100FF}{\#D100FF}\\\hline &\sf\Large\color{#E800FF}{\#E800FF}\\\hline &\sf\Large\color{#FF00CF}{\#FF00CF}\\\hline &\sf\Large\color{#FF00A1}{\#FF00A1}\\\hline &\sf\Large\color{#FF008A}{\#FF008A}\\\hline \end{array}\) There are many more hexadecimal color codes available (more than 16 million actually) so you can use every existing color. Visit http://www.color-hex.com to pick your own colors. We can use more colors in the same line, like this: \(\bf\color{red}{\backslash(}\color{green}{\backslash bf}\color{green}{\backslash color\{\color{#8C00FF }{lime}\}\{\color{blue}{hello\sim}\}}\color{green}{\backslash color\{\color{#8C00FF }{\#8C00FF}\}\{\color{blue}{everyone}\}}\color{red}{\backslash)}\) Would output: \(\bf\color{lime}{hello~}\color{#8C00FF}{everyone}\) When you only want to color 1 letter, you don't have to put it in braces. \(\small\bf\color{red}{\backslash(}\color{green}{\backslash bf}\color{green}{\backslash color\{\color{#8C00FF}{red}\}\color{black}H}\color{green}{\backslash color\{\color{#8C00FF}{gold}\}}\color{black}E\color{green}{\backslash color\{\color{#8C00FF}{green}\}}\color{black}L\color{green}{\backslash color\{\color{#8C00FF}{aqua}\}}\color{black}L\color{green}{\backslash color\{\color{#8C00FF}{blue}\}}\color{black}O\color{red}{\backslash)}\) Will give: \(\bf\color{red}H\color{gold}E\color{green}L\color{aqua}L\color{blue}O\)
\(\hspace{110pt}\Huge\sf \color{#730000}{Symbols}\) Syntax for symbols: \(\sf\color{red}{\backslash(}\color{green}{\backslash symbolcode} \color{red}{\backslash)}\) \(\begin{array}{|c|l|c|l|} \hline \large\sf symbol&\sf\large code&\sf\large symbol&\sf\large code\\\hline \large\leftarrow&\sf\backslash leftarrow&\large\rightarrow&\sf\backslash righttarrow\\\hline \large\Leftarrow&\sf\backslash Leftarrow&\large\Rightarrow&\sf\backslash Righttarrow\\\hline \large\longleftarrow&\sf\backslash longleftarrow&\large\large\longrightarrow&\sf\backslash longrighttarrow\\\hline \large\Longleftarrow&\sf\backslash Longleftarrow&\large\Longrightarrow&\sf\backslash Longrighttarrow\\\hline \large\leftrightarrow&\sf\backslash leftrightarrow&\large\Leftrightarrow&\sf\backslash Leftrightarrow\\\hline \large\longleftrightarrow&\sf\backslash longleftrightarrow&\Longleftrightarrow&\sf\backslash Longleftrightarrow\\\hline \large\uparrow&\sf\backslash uparrow&\large\downarrow&\sf\backslash downarrow\\\hline \large\leq&\sf\backslash leq&\large\geq&\sf\backslash geq\\\hline \large\ll&\sf\backslash ll&\large\gg&\sf\backslash gg\\\hline \large\approx&\sf\backslash approx&\large\neq&\sf\backslash neq\\\hline \large\pm&\sf\backslash pm&\large\div&\sf\backslash div\\\hline \large\sum&\sf\backslash sum&\large\infty&\sf\backslash infty\\\hline \large\diamondsuit&\sf\backslash diamondsuit&\large\heartsuit&\sf\backslash heartsuit\\\hline \large\triangle&\sf\backslash triangle&\large\Box&\sf\backslash Box\\\hline \large\LaTeX&\sf\backslash LaTeX&\large\bigstar&\sf\backslash bigstar\\\hline \end{array}\) Example of combination with size and color: \(\bf\color{red}{\backslash(}\color{green}{\backslash Huge}\color{green}{\backslash color\{\color{#8C00FF }{red}\}\{\color{blue}{\backslash sum}\}}\color{red}{\backslash)}~~\Large\longrightarrow~\Huge\color{red}{\sum}\) For more symbols, visit http://detexify.kirelabs.org/symbols.html All latex symbols are on that list but you can only use the mathmode symbols on OpenStudy.
\(\hspace{110pt}\Huge\sf \color{#730000}{Math}\) Some useful latex math stuff: \[\begin{array}{l|l|l} \hline \large\sf function&\sf\large preview&\sf\large code\\\hline\\ \sf fraction& \dfrac{1+2}{3+4} &\sf\backslash dfrac\{1+2\}\{3+4\} \\~\\ \sf square\ root&\large\sqrt{x+3}&\sf\backslash sqrt\{x+3\}\\~\\ \sf multiple\ root&\large\sqrt[3]{x+3}&\sf\backslash sqrt[3]\{x+3\}\\~\\ \sf limit & \large\lim_{x \to \infty}&\sf\backslash lim\_\{x ~\backslash to \backslash infty\} \\~\\ \sf power& \large5x^2 &\sf 5x\wedge 2 \\~\\ \sf indices&\large F_{(x)} &\sf F\_\{(x)\} \\~\\ \sf integral& \large\int_7^2 x &\sf\backslash int\_7\wedge2~ x \\~\\ \sf sum& \large\sum_{x=4}^{19} t_x &\sf\backslash sum\_\{x=4\}\wedge\{19\} ~t\_x \\~\\ \end{array}\]
\(\hspace{90pt}\Huge\sf \color{#730000}{Chemistry}\) For a chemical equation, you need mainly subscripts. Use the _ symbol to do this. When only 1 number is used as subscript, you can just write it as _3 (in case the number is 3) When more characters are used, you need to put them in curly braces, so _{12} Let's write a chemical equation: \(\sf\color{red}{\backslash(}\color{blue}{6CO\_2+6H\_2O\backslash to~C\_6H\_\{12\}O\_6+6O\_2}\color{red}{\backslash)}\) Will become: \(\sf\large 6CO_2+6H_2O ~\to~C_6H_{12}O_6+6O_2\) For nuclear equations, you can use subscripts and superscripts. When you write _5^2 x, it will look like \(\large^2_5 x\) Don't forget to add braces for 2 or more characters. \(\sf\color{red}{\backslash(}\color{blue}{\_6\wedge{13}C + \_2\wedge4He \backslash to \large\_8\wedge{16}O+\_0\wedge1n}\color{red}{\backslash)}\) Will become: \(\sf\large_6^{13}C + _2^4He \to _8^{16}O+_0^1n\)
\(\hspace{100pt}\Huge\sf \color{#730000}{Tables}\) You can create tables with the \begin{array} tag First determine how many columns you want to have. For this example I use 5 columns After {array} you add a new parameter in curly braces, In this one you can set the table borders and the alignment The symbol | is used to create a vertical line in the table. Since I'm going to make 5 columns, I need 6 vertical lines. Now we have `\begin{array}{||||||}` {||||||} will be like this in the table: {|column 1|column 2|" 3|" 4|" 5|} We can set the alignment of the stuff in the column by placing a l, r or c between the || of the corresponding column. l = left, r = right and c = center To show the difference, i'll use {|l|c|r|c|l|}. So the first column will be aligned left, the second in the center and the middle one right. 4 center again and column 5 has left alignment. We'll begin with `\begin{array}{|l|c|r|c|l|}` To end the table, we use `\end{array}` The table content will be between these 2 tags. The last tag you need to know is `\hline`, this is a horizontal line which indicates a new row. `\begin{array}{|l|c|r|c|l|}` \hline (if you want a line on top of the table) To skip to the next column, use & we're now in the first row of the second column & 3rd column & 4th column & 5th column \\ with the \\ you tell want to go to the next row. Now begin with the \hline tag to get a horizontal line after the first row. Now an example of 3 rows. ``` \begin{array}{|l|c|r|c|l|} \hline first&second&third&fourth&fifth\\ \hline 1&2&3&4&5\\ \hline uno&dos&tres&cuatro&cinco\\ \hline \end{array} ``` This will look like this: \(\begin{array}{|l|c|r|c|l|} \hline first&second&third&fourth&fifth\\ \hline 1&2&3&4&5\\ \hline uno&dos&tres&cuatro&cinco\\ \hline \end{array}\) You can see the difference in the alignment of the different columns. If you want to make this table longer, just continue with adding rows.
Wondering how to use the `grey boxes`? Just put your text between 2 grave accent symbols (`) (the key for this symbol is above the tab key) When I put hello between 2 grave accents, it will become `hello` You can also use a bigger grey box by typing 3 of these symbols. when you do this at the beginning of a row and go to the next line, it will become a big grey box where you can imput code. it will stop when you put 3 grave accents at the beginning of a new line after the code ``` It will look like this when i type another ``` on the next line and press enter, the grey box will end ``` In this big box, some words or numbers will be colored, this is meant to differentiate certain programming code tags
\(\hspace{90pt}\Huge\sf \color{#730000}{Hyperlinks}\) Currently, it's only possible to create links to webpages within the openstudy.com domain. That means it's not possible to create a latex link to wikipedia or google. You also have to strip the url and remove the openstudy.com part. So http://openstudy.com/code-of-conduct will become /code-of-conduct Now if we want to make a link to the CoC, we use the \href tag This is the syntax: \(\bf\color{red}{\backslash(}\color{green}{\backslash href\{\color{blue }{stripped~url}\}\{\color{blue}{link~text}\}}\color{red}{\backslash)}\) The link to the CoC will be: \(\bf\color{red}{\backslash(}\color{green}{\backslash href\{\color{blue }{/code-of-conduct}\}\{\color{blue}{Code\sim of\sim Conduct}\}}\color{red}{\backslash)}\) And it will look like this: \(\href{/code-of-conduct}{Code~of~Conduct}\) You can change the color or add an underline to make it look more like a link.
\(\hspace{90pt}\Huge\sf \color{#730000}{Bounding\ Box}\) With a bounding box you can put a border around everything you write, and give the box a background too. to create one, you use the \bbox tag. It has the following syntax: \(\bf\color{red}{\backslash(}\color{green}{\backslash bbox\ [\color{blue }{x\color{red}{pt,}~ color~background\color{red}{,~ border:}x\color{red}{pt~solid}~ color~border]}\{\color{blue}{text}\}}\color{red}{\backslash)}\) Don't change the red parts. the first xpt is the size of the box itself. the second xpt is the size of the border. you can replace the x with any number. the higher the number, the bigger the box will be. For "color background" or "color border" you can fill any predefined color or hexadecimal color code to change the color of the background or the border. An example: `\(\bbox[5pt, #33fd33 ,border:5px solid #872af0]{\bf\huge\LaTeX\ is\ fun!!}\)` will be: \(\bbox[5pt, #33fd33 ,border:5px solid #872af0]{\bf\huge\LaTeX\ is\ fun!!}\)
Also check out: \(\sf\large\color{blue}{\href{/study#/updates/51b10358e4b05b167ed2f45e}{\LaTeX\ welcoming\ messages}}\) \(\color{#FF0000}█ \color{#FF1700}█ \color{#FF2E00}█ \color{#FF4500}█ \color{#FF5C00}█ \color{#FF7300}█ \color{#FF8A00}█ \color{#FFA100}█ \color{#FFB800}█ \color{#FFCF00}█ \color{#FFE600}█ \color{#FFFD00}█ \color{#FFff00}█ \color{#E8ff00}█ \color{#D1ff00}█ \color{#BAff00}█ \color{#A3ff00}█ \color{#8Cff00}█ \color{#75ff00}█ \color{#5Eff00}█ \color{#47ff00}█ \color{#30ff00}█ \color{#19ff00}█ \color{#02ff00}█ \color{#00ff00}█ \color{#00ff17}█ \color{#00ff2E}█ \color{#00ff45}█ \color{#00ff5C}█ \color{#00ff73}█ \color{#00ff8A}█ \color{#00ffA1}█ \color{#00ffB8}█ \color{#00ffCF}█ \color{#00ffE6}█ \color{#00ffFD}█ \color{#00ffff}█ \color{#00FDff}█ \color{#00E6ff}█ \color{#00CFff}█ \color{#00B8ff}█ \color{#00A1ff}█ \color{#008Aff}█ \color{#0073ff}█ \color{#005Cff}█ \color{#0045ff}█ \color{#002Eff}█ \color{#0017ff}█ \color{#0000ff}█ \color{#0200ff}█ \color{#1900ff}█ \color{#3000ff}█ \color{#4700ff}█ \color{#5E00ff}█ \color{#7500ff}█ \color{#8C00ff}█ \color{#A300ff}█ \color{#BA00ff}█ \color{#D100ff}█ \color{#E800ff}█ \color{#FF00ff}█ \color{#FF00FD}█ \color{#FF00E6}█ \color{#FF00CF}█ \color{#FF00B8}█ \color{#FF00A1}█ \color{#FF008A}█\\ \hspace{100pt}\Huge©\sf\huge ~Thomaster\)
I'll delete any \(\LaTeX\) containing reply since they'll only slow down the page. If you want to practice, create your own post. Need help? Just tag me \(\Huge☺\)
Dude, latex in latex, LaTeX-ception xD
You should make this into a .pdf, if you haven't already
So i saw this and i started teaching myself LaTeX. I think its pretty cool. I even took notes and wrote it down in a small notepad on my desk so i can remember to use latex when im helping people xD
@tester97 You could also use the OpenStudy notebook extension. It adds a button next to attach file where you can save any note and insert it in the reply box. Very helpful in remembering LaTeX codes. @UnkleRhaukus Perhaps I should, It would certainly reduce a lot of loading time. Maybe when I have time I will :)
Oh yes i forgot about the notebook extension xD thanks thom
wats a notebook extension?
@Thomaster where do i get that extension?
Very helpful tutorial, I wish I can become a LaTeX master. Maybe with time and practice.
https://chrome.google.com/webstore/detail/open-study-notebook/nmdboeolmlhaaepahmeklccofcbbmpdc?hl=en
thanks so much thomaster! you are awesome!!! :D I just started learing how to do it today, and you made it so much easier! :D
@thomaster You are \(\LARGE\color{purple}{AWESOME}\) at \(\LARGE\color{purple}{LaTeX}\)
how about strike-outs on here. normal commands don't seem to work
`\[\cancel{stuff}\]` \[\large\cancel{stuff}\]
ah ty
\(\cancel{stuff}\) `\(\cancel{stuff}\)` \(\bcancel{stuff}\) `\(\bcancel{stuff}\)` \(\bcancel{\cancel{stuff}}\) `\(\bcancel{\cancel{stuff}}\)` \(\hspace{130pt}\huge\ddot\smile\)
Haha that smiley face is cool... How did you do it?
\ddot\smile
\(\Huge\ddot\smile\) \(\LARGE\bf\color{red}S\color{orange}m\color{yellow}i\color{lime}l\color{aqua}e\color{magenta}!\) \(\Huge\ddot\smile\)
This is \(\bf\LARGE\color{aqua}F\color{lime}U\color{aqua}N\)
\(\huge\bf\rlap{\color{lime}{Indeed\ it\ is}}{\color{magenta}{\; Indeed\ it\ is}}\)
Whoa o-o how did you do that kind of font?
It's the same font you used :P I only put the same text in another color behind it with a tiny space in front to create a shadow effect :)
`\(\huge\bf\rlap{\color{lime}{Indeed\ it\ is}}{\color{magenta}{\; Indeed\ it\ is}}\)`
What is the rlap for?
to put the text behind text. \rlap{top text}{behind text}
You can create cool effects with that \(\rlap{\sf\LARGE\color{magenta}{\ \ Like\ This}}{\Huge\color{lime}{\bigstar\ \bigstar\ \bigstar}}\)
Or this \(\Huge\bf \color{black}{Welcome~to~OpenStudy!!}\hspace{-310pt}\color{black}{Welcome~to~OpenStudy!!}\hspace{-307.1pt}\color{#ff7100}{Welcome~to~\color{#00B4ff}{Open}}\color{#7cc517}{Study!!}\)
\(\Huge\ddot\smile\)\(\huge\bf\rlap{\color{red}S\color{orange}m\color{yellow}i\color{lime}l\color{aqua}e\color{magenta}!}{\color{black}{\;Smile!}}\) \(\Huge\ddot\smile\)
Yay!
Very good :)
ahhh all this latex talking is driving me crazy
Change vertical spacing in a table, matrix, etc. Note that different measurment values are able to be used. ``` \(\begin{array}{|l|c|r|c|l|} \hline first&second&third&fourth&fifth\\[15pt] \hline 1&2&3&4&5\\[2ex] \hline uno&dos&tres&cuatro&cinco\\[2em] \hline ichi&ni&san&shi&go\\[1in] \hline eins&zwi&drei&vier&fünf\\[3mm] \hline \alpha&\beta&\gamma&\delta&\epsilon\\ \hline \end{array}\) ``` \(\begin{array}{|l|c|r|c|l|} \hline first&second&third&fourth&fifth\\[15pt] \hline 1&2&3&4&5\\[2ex] \hline uno&dos&tres&cuatro&cinco\\[2em] \hline ichi&ni&san&shi&go\\[1in] \hline eins&zwi&drei&vier&fünf\\[3mm] \hline \alpha&\beta&\gamma&\delta&\epsilon\\ \hline \end{array}\)
I'm kinda confused on how to do the grey boxes >.< Where exactly do you put the ` ?
IDK but I accidentally made a white box somehow. o.e
For the code boxes, an accent `, that is on the tilde button can be placed one of two ways. Block: ``` some code sample ``` That is a \(\text{```}\) above and below the block: \(\text{```}\) some code sample \(\text{```}\) Inline: Some `code` sample That is a \(\text{`}\) before and after the inline piece of code: Some \(\text{`}\)code\(\text{`}\) sample
@Koikkara thank you soooooooooooo much sir....
that is \(\Huge\rlap{\color{lime}{AWESOME!!!!}}{\color{black}{\;AWESOME!!!!}}\)
This is amazing...thank you so much!!
@thomaster do you have a PDF file of this LaTex Tutorial?
Nope, I could make one if you'd like that, but no time at the moment. Perhaps sometime in 1-2 weeks when exams are over :)
ok thanks...
You could use the MathJax documentation... https://media.readthedocs.org/pdf/mathjax/latest/mathjax.pdf Tad overkill tho.
You guess what... I found out how to link outside the OS domain with /href links. Instead of http:// , just start with // \(\href{//www.google.com}{\huge\sf\color{blue}G\color{red}o\color{yellow}o\color{blue}g\color{green}l\color{red}e}\)
Or use javascript:window.open('//www.google.com'); to open the page in another window. \(\href{javascript:window.open('//www.google.com');}{\sf\Large Google}\)
@thomaster please tell me how to make pics of heart ,baloons etc on latext?
Most of those are just a matter of typing the correct character in. http://fsymbols.com/computer/heart/ http://www.alt-codes.net/editor.php And there are extended character sets for others. \(\LaTeX\) does directly support some of the extended stuff, but it may not come out properly on all browsers.
Gave you the 50th medal >;D
tho please look at my quastion, ive gotten really food at LaTeX and i wanna know what you think! it will be GREATLY appreciated! thanks :)!
FOOD! ^^^ xD
\(\Huge\cal\color{#bd33a4}{Thank's~this~helped!!!:)}\)
The best Latex tutorial ever made. @thomaster
Undid my medal and gave it back to give him the 55th medal... @iGreen @thomaster
how do u do invis writing? Can u plz show me the hyperlink thingie
Invisible Ink is @camerondoherty 's inventeion. :)
invention*
Are those hyperlinks working?? I mean, when I am bringing my cursor over there, it is doing nothing and behaving like just a normal text. :(
\(\bf\color{red}{\backslash(}\color{green}{\backslash href\{\color{blue }{/code-of-conduct}\}\{\color{blue}{Code\sim of\sim Conduct}\}}\color{red}{\backslash)}\)
\(\href{code-of conduct}{Code \; \; Of \; \; Conduct}\)
\(\Huge\scr\color{#FFCF00}\infty\) \(\Huge\scr\color{aquamarine}{Thanks~for~helping~me!:)}\)
\(\href{http:///openstudy.com/code-of-conduct}{\sf \huge Code~of~Conduct}\) @waterineyes There was a problem but they fixed it in http://openstudy.com/study#/updates/53de3b59e4b0fa07e3193727 Here is what you are supposed to write: `\(\href{http:///openstudy.com/code-of-conduct}{\sf \huge Code~of~Conduct}\)` The problem was you are supposed to put the link where Code-of-Conduct is. And put three /// after http. Hope that helps.
Thanks, @TheSmartOne
I was wondering why it didn't work.
No problem I actually got the solution from http://openstudy.com/study#/updates/53de3b59e4b0fa07e3193727 I was looking thorugh questions answered by c0decracker and I saw this one a long time ago. @iGreen You could prank people by switching the link to Http:///openstudy.com/session/logout adn still label it as Code of Conduct and have people log out. Hehe
\(\href{http:///openstudy.com/session/logout}{\sf \huge Top~Ten~Tutorials~of~the~month}\)
Lol, I know! xD
Don't give out answers, please read our \(\href{http:///openstudy.com/code-of-conduct}{\bf Code~of~Conduct}\).
Hey, you guys just directly gave out answers to me, have not you read \(\color{green}{\tiny \href{http:///openstudy.com/code-of-conduct}{\sf{Code \ Of \ Conduct}}}\).
Ha ha..!! Just wanted to use Tiny Font.
Amazing tutorial.
Thanks a ton @thomaster This is great for Latex beginners such as myself.
Great tutorial! And congrats on medals you received. Got to be record here.
\(\Huge\color{Navy}{This~is~hella~amazing~just~wow~!!!!!!}\)
^^ \(\LaTeX\) Fail
woah!!!!
http://prntscr.com/5co6sm You all need to get both of these extensions. With the quoting extension you can even copy peoples \(\ \LaTeX\) and see the whole code without haveing to right-click and see the code :P
\(\Huge\scr\)
\(\Huge\scr HELLO THERE\)
@WWWHHHAAATTT? You copied my blank comment! >;c
I invented this: `\(\color{white}{}\)`
\(\color{white}{}\)
Actually @camerondoherty did...
Join our real-time social learning platform and learn together with your friends!