Nobrainiachere's LaTeX tutorial
\(\Huge\sf Basic~\LaTeX\) When using LaTeX you start by placing `\(` at the start and `\)` when you have finished. For example you can type `\(Example\)` and it will come out as \(Example\)
\(\Huge\sf Fonts\) \(\begin{array}{|l|l|}\hline \sf{Command}&\sf{Outcome}\\\hline \sf{\backslash tt}&\sf{\tt{tt}}\\\hline \sf{\backslash it}&\sf{\it{it}}\\\hline \sf{\backslash sf}&\sf{\sf{sf}}\\\hline \sf{\backslash bf}&\sf{\bf{bf}}\\\hline \sf{\backslash rm}& \sf{\rm{rm}}\\\hline \sf{\backslash cal}& \sf{\cal{cal}}\\\hline \sf{\backslash scr}& \sf{\scr{scr}}\\\hline \sf{\backslash frak}& \sf{\frak{frak}}\\\hline \sf{\backslash mathbb}& \sf{\mathbb{MATHBB}}\\\hline \sf{\backslash boldsymbol}& \sf{\boldsymbol{boldsymbol}}\\\hline \end{array}\) For example, you can type `\(\sf{\LaTeX}\)` and it will come out as \(\sf{\LaTeX}\)
\(\Huge\sf{Sizes}\) \(\begin{array}{|l|l|}\hline \sf{Command}&\sf{Outcome}\\\hline \sf{\backslash tiny}&\sf{\tiny{tiny}}\\\hline \sf{\backslash Tiny}&\sf{\Tiny{Tiny}}\\\hline \sf{\backslash scriptsize}&\sf{\scriptsize{scriptsize}}\\\hline \sf{\backslash small}&\sf{\small{small}}\\\hline \sf{\backslash normalsize}&\sf{\normalsize{normalsize}}\\\hline \sf{\backslash large}& \sf{\large{large}}\\\hline \sf{\backslash Large}& \sf{\Large{Large}}\\\hline \sf{\backslash LARGE}& \sf{\LARGE{LARGE}}\\\hline \sf{\backslash huge}& \sf{\huge{huge}}\\\hline \sf{\backslash Huge}& \sf{\Huge{Huge}}\\\hline \end{array}\) For example `\(\Huge{Example}\)` comes out as \(\Huge{Example}\)
\(\Huge\sf{Colors}\) \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 \end{array} Credit to colors goes to @thomaster For example, you can type `\(\color{blueviolet}{Example}\)` and it will come out as \(\color{blueviolet}{Example}\)
\(\Huge\sf Bounding Box\) `\(\bbox[5pt, white ,border:5px solid black]{\bf\huge Example}\)` & `\(\bbox[5pt, white ,border:5px dotted black]{\bf\huge Example}\)` & `\(\bbox[5pt, white ,border:5px dashed black]{\bf\huge Example}\)` with those you would get \(\bbox[5pt, white ,border:5px solid black]{\bf\huge Example}\) & \(\bbox[5pt, white ,border:5px dotted black]{\bf\huge Example}\) & \(\bbox[5pt, white ,border:5px dashed black]{\bf\huge Example}\)
\(\Huge\sf{Boxes}\) `\(\boxed{\boxed{\boxed{Example}}}\)` comes out as \(\boxed{\boxed{\boxed{Example}}}\)
\(\Huge\sf{mbox}\) This is simple. the command is \mbox so you can do things like `\(\mbox{Hi i dont need the approx symbol to space my words}\)` Comes out as \(\mbox{Hi i dont need the approx symbol to space my words}\)
\(\Huge\sf{fbox}\) This is the same thing as \mbox but it has a box around it. For example, `\(\fbox{Example}\)` comes out as \(\fbox{Example}\)
\(\Huge\sf{Whacky~\LaTeX}\) With whacky LaTeX you use the symbols `^` and `_` to make the letter smaller and more towards the top or smaller and more towards the bottom. For example `\(\Huge{_Wh^ac_kY^!!_!}\)` comes out as \(\Huge{_Wh^ac_kY^!!_!}\)
\(\Huge\sf{Macros}\) Macros are used to make multiple of something without writing it out all over again, it is also used to make commands. For example, you can type `\(\def\OS{OpenStudy}\OS\)` and it will come out as \(OpenStudy\) and so now, all you need to type, is `\(\OS\)` and it will come out as \(OpenStudy\)
\(\Huge\sf Hyperlinks\) Hyperlinks are simple, all you need to type, is this, `\(\href{http:///openstudy.com/study#/updates/5511e873e4b08daf898953a8}{Click~here~to~go~to~a~tutorial}\)` and it will come out as \(\href{http:///openstudy.com/study#/updates/5511e873e4b08daf898953a8}{Click~here~to~go~to~a~tutorial}\) and once you click it, it will bring you to whatever website you placed into the code.
\(\Huge\sf{rlap}\) With rlap all you have to type is `\(\rlap{\color{red}{Example}}{\color{blueviolet}{\: Example}}\)` and it will come out as \(\rlap{\color{red}{Example}}{\color{blueviolet}{\: Example}}\)
\(\Huge\sf{hspace}\) hspace moves things to the left or right. The way you would do this is, `\(\hspace{+100pt}{Example}\)` and it would come out as \(\hspace{+100pt}{Example}\)
\(\Huge\sf{Combining~commands}\) To combine commands such as, colors, fonts, and sizes, you would type something like this, `\(\Huge\sf\color{blueviolet}{Example}\)` and it would come out as \(\Huge\sf\color{blueviolet}{Example}\)
\(\hspace{+70pt}\Huge\sf{Share~the~\LaTeX}\) ``` \(\sf\href{http:///openstudy.com/study#/updates/55122d18e4b08daf8989bf80}{\Huge\rlap{\color{silver}{Nobrainiacher\color{silver}e's~tutorial}}\hspace{+3pt}{\color{red}N\color{orange}o\color{gold}b\color{lime}r\color{greenyellow}a\color{blue}i\color{purple}n\color{blueviolet}i\color{violet}a\color{magenta}c\color{red}h\color{orange}e\color{gold}r\color{lime}e\color{greenyellow}'\color{blue}s~\color{purple}t\color{blueviolet}u\color{violet}t\color{magenta}o\color{red}r\color{orange}i\color{gold}a\color{lime}l}}\)
\(\hspace+35pt\Huge\sf{~~\hspace{+6pt}Please~do~not~post~any~\\\hspace+35pt\LaTeX~after~this~comment~\\\hspace+35pt~~~~~~~~~~~~due~to~lag}\)
@EclipsedStar what do you think? :D
@perl, @Molly_Qian, @pooja195, @TheSmartOne, @Nnesha, @sammixboo, @sleepyjess what do you think of my tutorial?
cool!
Thank you.
Congrats! You used my idea of making a post from your alt, and you respond to it from your main \(\ddot\smile\) Good tutorial btw :D
Thank you!
wow prettay good tutorial. I'm impressed :P
*sigh*
Join our real-time social learning platform and learn together with your friends!