\(\Huge\sf{\LaTeX}~Guide\) It’s been a while…. Figured I might as well make something for the QC community. Please don’t respond until I am done sending all portions (I’ll say “done” when I’m finished).
Complete LaTeX Guide (as of May 6th):
The Basics: ``` \(heythere\) ``` This is the basic \(\sf{\LaTeX}\), which turns into this. \(heythere\)
Spacing: ``` \(hey~there\) ``` The tilde (~) is the basic space in \(\sf{\LaTeX}\). There are many other spaces as well, here is a list. \(\begin{array}{|l|l|}\hline \sf{Command}&\sf{Outcome}\\\hline \sf{\text{\space}}&\sf{Hey\space There}\\\hline \sf{\text{\;}}&\sf{Hey\; There}\\\hline \sf{\text{\:}}&\sf{Hey\: There}\\\hline \sf{\text{\,}}&\sf{Hey\, There}\\\hline \sf{\text{\thinspace}}&\sf{Hey\thinspace There}\\\hline \sf{\text{\nobreakspace}}&\sf{Hey\nobreakspace There}\\\hline \sf{\text{\!}}&\sf{Hey\! There}\\\hline \sf{\text{\negmedspace}}&\sf{Hey\negmedspace There}\\\hline \sf{\text{\negthickspace}}&\sf{Hey\negthickspace There}\\\hline \sf{\text{\negthinspace}}&\sf{Hey\negthinspace There}\\\hline \sf{\text{\quad}}&\sf{Hey\quad There}\\\hline \sf{\text{\qquad}}&\sf{Hey\qquad There}\\\hline \end{array}\)
Text Sizes: Here is the list of text sizes, in order of smallest to largest. \(\begin{array}{|l|l|}\hline \sf{Size}&\sf{Outcome}\\\hline \sf{\text{\substack}}&\sf{\substack{Text}}\\\hline \sf{\text{\scriptstyle}}&\sf{\scriptstyle{Text}}\\\hline \sf{\text{\scriptscriptstyle}}&\sf{\scriptscriptstyle{Text}}\\\hline \sf{\text{\tiny}}&\sf{\tiny{Text}}\\\hline \sf{\text{\Tiny}}&\sf{\Tiny{Text}}\\\hline \sf{\text{\scriptsize}}&\sf{\scriptsize{Text}}\\\hline \sf{\text{\small}}&\sf{\small{Text}}\\\hline \sf{\text{\normalsize}}&\sf{\normalsize{Text}}\\\hline \sf{\text{\large}}&\sf{\large{Text}}\\\hline \sf{\text{\Large}}&\sf{\Large{Text}}\\\hline \sf{\text{\LARGE}}&\sf{\LARGE{Text}}\\\hline \sf{\text{\huge}}&\sf{\huge{Text}}\\\hline \sf{\text{\Huge}}&\sf{\Huge{Text}}\\\hline \end{array}\)
Fonts: There are many fonts on \(\sf{\LaTeX}\), but here are the ones QC allows for use of.
| \(\begin{array}{|l|l|}\hline \sf{Size}&\sf{Outcome}&\sf{\text{{}}?}\\\hline \sf{\text{\mathbb}}&\sf{\mathbb{Hey}}&\sf{✅}\\\hline \sf{\text{\mathbf}}&\sf{\mathbf{Hey}}&\sf{✅}\\\hline \sf{\text{\mathbin}}&\sf{\mathbin{Hey}}&\sf{✅}\\\hline \sf{\text{\mathcal}}&\sf{\mathcal{Hey}}&\sf{✅}\\\hline \sf{\text{\mathclose}}&\sf{\mathclose{Hey}}&\sf{✅}\\\hline \sf{\text{\mathfrak}}&\sf{\mathfrak{Hey}}&\sf{✅}\\\hline \sf{\text{\mathinner}}&\sf{\mathinner{Hey}}&\sf{✅}\\\hline \sf{\text{\mathit}}&\sf{\mathit{Hey}}&\sf{✅}\\\hline \sf{\text{\mathop}}&\sf{\mathop{Hey}}&\sf{✅}\\\hline \sf{\text{\mathopen}}&\sf{\mathopen{Hey}}&\sf{✅}\\\hline \sf{\text{\mathord}}&\sf{\mathord{Hey}}&\sf{✅}\\\hline \sf{\text{\mathpunct}}&\sf{\mathpunct{Hey}}&\sf{✅}\\\hline \sf{\text{\mathring}}&\sf{\mathring{Hey}}&\sf{✅}\\\hline \sf{\text{\mathrm}}&\sf{\mathrm{Hey}}&\sf{✅}\\\hline \sf{\text{\mathscr}}&\sf{\mathscr{Hey}}&\sf{✅}\\\hline \sf{\text{\mathsf}}&\sf{\mathsf{Hey}}&\sf{✅}\\\hline \sf{\text{\mathstrut}}&\sf{\mathstrut{Hey}}&\sf{✅}\\\hline \sf{\text{\mathtt}}&\sf{\mathtt{Hey}}&\sf{✅}\\\hline \sf{\text{\boldsymbol}}&\sf{\boldsymbol{Hey}}&\sf{✅}\\\hline \end{array}\) | \(\begin{array}{|l|l|}\hline \sf{Font}&\sf{Outcome}&\sf{\text{{}}?}\\\hline \sf{\text{\Bbb}}&\sf{\Bbb{Hey}}&\sf{✅}\\\hline \sf{\text{\textrm}}&\sf{\textrm{Hey}}&\sf{❎}\\\hline \sf{\text{\textit}}&\sf{\textit{Hey}}&\sf{❎}\\\hline \sf{\text{\textbf}}&\sf{\textbf{Hey}}&\sf{❎}\\\hline \sf{\text{\text}}&\sf{\text{Hey}}&\sf{❎}\\\hline \sf{\text{\phantom}}&\sf{\phantom{Hey}}&\sf{❎}\\\hline \sf{\text{\smash}}&\sf{\smash{Hey}}&\sf{❎}\\\hline \sf{\text{\pmb}}&\sf{\pmb{Hey}}&\sf{❎}\\\hline \sf{\text{\sf}}&\sf{\sf{Hey}}&\sf{❎}\\\hline \sf{\text{\cal}}&\sf{\cal{Hey}}&\sf{❎}\\\hline \sf{\text{\scr}}&\sf{\scr{Hey}}&\sf{❎}\\\hline \sf{\text{\bf}}&\sf{\bf{Hey}}&\sf{❎}\\\hline \sf{\text{\rm}}&\sf{\rm{Hey}}&\sf{❎}\\\hline \sf{\text{\tt}}&\sf{\tt{Hey}}&\sf{❎}\\\hline \sf{\text{\it}}&\sf{\it{Hey}}&\sf{❎}\\\hline \sf{\text{\leqalignno}}&\sf{\leqalignno{Hey}}&\sf{❎}\\\hline \sf{\text{\oldstyle}}&\sf{\oldstyle{Hey}}&\sf{❎}\\\hline \sf{\text{\scriptscriptstyle}}&\sf{\scriptscriptstyle{Hey}}&\sf{❎}\\\hline \sf{~}&\sf{~}&\sf{~}\\\hline \end{array}\) |
Entering to the Next Line: If you don’t want to have to stop your \(\sf{\LaTeX}\), you can just use \\ to break the line. ``` \(Hey\\there\) ``` Which leaves. \(Hey\\there\)
Superscript and Subscript (Whacky LaTeX): Superscript and subscript are pretty simple, just do ^ for superscript and _ for subscript; you use brackets for multiple characters, but no brackets if you just want one character changed. ``` \(^{Hey}~ _{There}\) ``` \(^{Hey}~ _{There}\)
Underlines and Overlines: A pretty plain and simple concept, they allow you to put a line under or over a message. ``` \(\underline{Hey~there}\) ``` \(\underline{Hey~there}\) ``` \(\overline{Hey~there}\) ``` \(\overline{Hey~there}\)
Overlaping Text: You can overlap text by using a command called \rlap, here’s how you do it. The easiest way I’ve learned is to use an \hspace to show both colors ``` \(\rlap{\color{red}{Hey~there}}{\hspace{1px}\color{black}{Hey~there}}\) ``` This will create. \(\rlap{\color{red}{Hey~there}}{\hspace{1px}\color{black}{Hey~there}}\) Here’s how this works, be mindful that you don’t put the parenthesis into your code, or else it won’t function properly. ``` \(\rlap{\color{(color for lower layer)}{(message)}}{\hspace{1px}\color{(color for upper layer)}{(message)}\) ```
Boxed Text: If you’re simply wanting to create a box around your text, and no fancy border features, use this feature. ``` \(\boxed{Hey~there}\) ``` It very simply creates this. \(\boxed{Hey~there}\) (Fun tip: putting boxes inside of boxes is possible if you just repeat the \boxed{} code inside of the previous \boxed code.
Text Background: You can color the background of your text if you do this. ``` \(\bbox[5pt,cyan]{Hey~there}\) ``` \(\bbox[5pt,cyan]{Hey~there}\) The 5pt is the padding between the text and the edge (border, explained next), and cyan is the color.
Border (and background mixture): Here is where you can create a border, it branches off of the background section, here is an example. ``` \(\bbox[5pt,cyan ,border:3px solid black]{Hey~there}\) ``` This makes. \(\bbox[5pt,cyan ,border:3px solid black]{Hey~there}\) Here, the 3px changes the size of the border. As well as this, you have “solid”, this can be set to a couple of things, listed below. ``` solid, dotted, dashed ``` Examples: (mobile may not show dotted) \(\bbox[5pt,cyan ,border:3px solid black]{Hey~there}\) \(\bbox[5pt,cyan ,border:3px dotted black]{Hey~there}\) \(\bbox[5pt,cyan ,border:3px dashed black]{Hey~there}\) You can also make the background of these invisible, just mess up the spelling of a color. \(\bbox[5pt,cyn ,border:3px solid black]{Hey~there}\) \(\bbox[5pt,cyn ,border:3px dotted black]{Hey~there}\) \(\bbox[5pt,cyn ,border:3px dashed black]{Hey~there}\)
Macros: Tired of repeating the same thing over and over again in \(\sf{\LaTeX}\)? Try using macros! ``` \(\def\rs{Macro}\) ``` This will define your macro, then you simply reuse “\rs”. ``` \(\def\rs{Hey}\rs\rs\rs\) ``` \(\def\rs{Hey}\rs\rs\rs\)
[COMPLEX] Tables/Graphs/and Arrays: These are complex, it is suggested that you know how to do basic \(\sf{\LaTeX}\) (above sections) before you attempt this. To start off, you need to set up the chart. ``` \(\begin{array}{|l|l|}\hline ``` This may confuse you, all you need to know is what “{|l|l|}” does. This identifies what side of the chart that the text slides to, you can change it to “{|r|r|}” for a graph with the text slid right. Next you’ll skip a line (not by \\, just enter) and write this. ``` \sf{}&\sf{}\\\hline ``` This is a portion, you can put whatever you like here, BUT, the “&” is what starts the next section in the graph, and after each line, you want to put “\\” to go to the next line and “\hline” to create a line in between that section and the next. (If you’re confused at this point, a colored portion is at the end). This leaves you with “\\\hline” at the end. To end the graph, just put this on the next line. ``` \end{array}\) ``` Now, here’s a colored example for reference \(\begin{array}{|l|l|}\hline \sf{one}&\sf{two}\\\hline \sf{three}&\sf{four}\\\hline \end{array}\) \(\begin{array}{|l|l|}\hline \sf{\color{tomato}{one}}&\sf{\color{yellow}{two}}\\\hline \sf{\color{lime}{three}}&\sf{\color{cyan}{four}}\\\hline \end{array}\)
[OUTDATED] Hyperlinks: Hyperlinks are links that are attached to a word or sentence. For links inside OS/QC ``` \(\href{https:///questioncove.com/}{QuestionCove}\) ``` QuestionCove For links outside OS/QC ``` \(\href{http:///youtube.com/}{YouTube}\) ``` YouTube
[OUTDATED] Fcolorbox & Colorbox: These are similar to bounding boxes, except much easier to create. Fcolorbox ``` \(\fcolorbox{black}{red}{Hey}\) ``` \(\bbox[3pt,red ,border:3px solid black]{Hey~there}\) Colorbox ``` \(\colorbox{red}{Hey}\) ``` \(\bbox[3pt,red]{Hey~there}\)
[OUTDATED] Defining Colors: If you are trying to use a custom color multiple times, you can define a name for that color to use it. There are two ways you can do this, RGB (0,0,0), and HEX (#000000). RGB: ``` \(\definecolor{color}{RGB}{0,0,0}\color{color}{Hey~there}\) ``` \(\color{black}{Hey~there}\) HEX: ``` \(\definecolor{color}{HEX}{000000}\color{color}{Hey~there}\) ``` \(\color{black}{Hey~there}\)
And I’m done, that’s the basics and some complex things, I’ll work on adding in all of the \(\sf{\LaTeX}\) symbols in later (there’s a LOT of them).
(This is all that I know btw, Master Supremo UltriJaynator3000 may know more)
wow that is cool
kewllll
@dude , subject change to Tutorials please.
And if anyones curious, a link to the OG tutorial this was based on: https://questioncove.com/study#/updates/5654ccade4b0af360a7ccd28
^^^ that too lol
Very cool Ext
@lazorwolf64
Oh, also, for \(\sf{\LaTeX}\). It covers: ``` Direct Messages, Question Posts, Group Chats (not subject chats) ``` It doesn’t cover: ``` Subject Chats ```
wth
really cool, ty
/negthinspace did i do it right lol?
is it really nessacary for another LaTeX tutorial post?
barry wood
\(\rlap{\color{red}{Hey~there}}{\hspace{1px}\color{black}{Hey~there}}\).
kk
ouuuuu i see rainbow words lmao -kianna
very helpful
huh lol
Please don’t respond to this question UNLESS you need help with \(\sf{\LaTeX}\), otherwise don’t respond.
facts
i mean i have one up but yes okay shawty
ahh okay mb, but yeah ig not that many people are interested in learning sm latex,
Might as well, there are a few who would like to learn it, but not many yeah
cool
that was a lot xD but i will be using them
@alyzarose
@astrid1 , it’s fonts that require or don’t require a bracket ({}) to use them. ✅ means they do, ❎ means they don’t
Can you do 2 fonts at once?
mk
this is so crazyy u did a great job !!
imma use the macro one to spam
nice
prettyyyyy idk what this is but i like the colors
Yeah naw you lost me with all this information 😭
i only know 1 use of "LATEX"
All i care about is the rainbow☠️
Heres all the colors u can use in \(\LaTeX\)
0.o i think i lost a brain cell trying to understand this...
this is so cool but idrk what it means. 0-0 ill read it more thoroughly later when i have time lol
\(\underline{WOW~IT~WORKS}\)
\(eeeeek\) \(this\) \(is\) \(very\) \(cool\)
\(ackkkkk\)
does this increase my grades tho
It does not.
okay extt, how did u get 28 medals....
ayo this is the most creative post I've seen on here.
thats so cool
love it
\(good~job\)
okay🌚
ok
THANK YOU
ayo this tutorial seem interesting i gotta save this
Nice
a W
Hey, none of these worked. I need help. Maybe it is user error. I am pretty dumb.
\(^{Hey}~ _{There}\)
There
ripoff.
Thank youuuu
yas bro i learned so much thx
\(hey~there\) like this correct?
thxs for this
LATEX? 😏
//quaud
what is happing
It's been really helpful, thank you.
\(\large\sf{ \color{orange}╔\color{red}═\color{magenta}(\color{blue}✿\color{magenta})\color{red}═\color{orange}╗ \\ \color{red}║\color{cornflowerblue}~\color{limegreen}Hello!\color{cornflowerblue}~\color{red}║ \\ \color{orange}╚\color{red}═\color{magenta}(\color{blue}✿\color{magenta})\color{red}═\color{orange}╝ \\ ~\color{limegreen}╭\color{cornflowerblue}─\color{gold}★\color{cornflowerblue}─\color{limegreen}╮ \\ ~~\color{cornflowerblue}╰\color{limegreen}─\color{gold}♦\color{limegreen}─\color{cornflowerblue}╯ } \)
Wow!!
ongggg
\(hey~there\)
\(Hey\\there\)
wsp
okay
this rly helps
ok
wow thx :>
what is it?
@hannahj this ..
@tsukage here mate
Thank youuu
yesyes
this is absolutely to much information to process try again but with less words
yippee. bumped again.
what is latex?
good job
Nicee
🤫🧏
cool
Love LaTeX for explaining math to people
W Josh
\(heythere\)
helpful
!/
/HUGE hey
my brain is fried
Bro
bro what..
idek how to comprehend those shapes
and whatever else im supposed to be comprehending
update yo latex guide
I’m liking it
rawr ty
hii
wsp guys I'mboredd
i will see what i can do with this
Thanks so much ^^
What is a LaTex tutorial thing?
what is this for?
ty
what is this
poinltess
um
How does that work
I didn't understand a single thing...
P()RN
USE AI
\(\bbox[5pt,cyan]{}\)
\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\) \(\bbox[5pt,white]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\) \(\bbox[5pt,white]{}\)\(\bbox[5pt,white]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\) \(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,white]{}\) \(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,white]{}\)\(\bbox[5pt,white]{}\) \(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\) \(\bbox[5pt,cyan]{}\)\(\bbox[5pt,lime]{}\)\(\bbox[5pt,lime]{}\)\(\bbox[5pt,lime]{}\)\(\bbox[5pt,cyan]{}\) \(\bbox[5pt,lime]{}\)\(\bbox[5pt,lime]{}\)\(\bbox[5pt,lime]{}\)\(\bbox[5pt,lime]{}\)\(\bbox[5pt,lime]{}\) \(\bbox[5pt,lime]{}\)\(\bbox[5pt,lime]{}\)\(\bbox[5pt,lime]{}\)\(\bbox[5pt,lime]{}\)\(\bbox[5pt,lime]{}\) \(\bbox[5pt,cyan]{}\)\(\bbox[5pt,lime]{}\)\(\bbox[5pt,lime]{}\)\(\bbox[5pt,lime]{}\)\(\bbox[5pt,cyan]{}\) \(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,SaddleBrown]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\) \(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,SaddleBrown]{}\)\(\bbox[5pt,cyan]{}\)\(\bbox[5pt,cyan]{}\) \(\bbox[5pt,DodgerBlue]{}\)\(\bbox[5pt,DodgerBlue]{}\)\(\bbox[5pt,green]{}\)\(\bbox[5pt,green]{}\)\(\bbox[5pt,green]{}\)
how do I do this???
{\Bbb}
hmm idk
copy and paste to were?
in here like dis \(\bbox[5pt,green]{}\)
or just quote me and copy it :>
\(\bbox[5pt,orange}{}\)
um, wut did I do wrong
bracket after the orange should be ] not }
\bbox[5pt,orange]{}
try quoting yourself then just edit the bracket after orange, quote the one where u almost had it then copy paste
\bbox[5pt,orange][]
\bbox[5pt,orange}{} ok is that good or do I need to do something else?
u have a } instead of ]
here quote me then copy it \(\bbox[5pt,green]{}\)
\(\bbox[5pt,orange]{}\) ahhhhh okieeeee
yippie :>
alr ty!!!
Join our real-time social learning platform and learn together with your friends!