## anonymous one year ago What even is LaTeX if I may ask?

• This Question is Open
1. BloomLocke367

LaTeX is a typesetting program used to make documents. It's what you see when you see different fonts in books or math problems in math textbooks.

2. BloomLocke367

You can do all sorts of things, like $$\Huge\color{teal}{\LaTeX~is~fun!}$$ with some simple coding. Would you like to learn?

3. anonymous

I sure would!

4. BloomLocke367

Okay, so to start out, you need to know the basics. Everything you make must begin with $$ and end with $$

5. BloomLocke367

you could also use [ instead of ( if you want.

6. BloomLocke367

So, try this. $$Hi$$ from this code: $$Hi$$

7. anonymous

$$hi$$

8. BloomLocke367

There you go!

9. anonymous

AHHHHSHHHEEEESSSS thats so friggin cool!

10. BloomLocke367

:D now to make spaces, you use ~ between each word.

11. BloomLocke367

I have to go, but I'll finish helping you later. Sorry!

12. anonymous

All good! Thank you!

13. BloomLocke367

Actually, I have about 30 more minutes, if you'd like to continue. @casdawson

14. anonymous

\hi\~am~i~doing~this~right

15. anonymous

$$hi~am~i~doing~this~right/) 16. anonymous (\hi~am~i~doing~this~right$$

17. geerky42

Try $$hi~am~i~doing~this~right$$

18. anonymous

$$hi~am~i~doing~this~right$$

19. anonymous

Interesting!

20. anonymous

$$hi~am~i~doing~this~right$$

21. anonymous

$$could~ be ~easier...$$

22. anonymous

$$Hi~my~name~is~Cas$$

23. rockstar0765

$$\Huge\cal\rlap{\color{lime}{Yay~you~got~it!!!}}{\color{red}{\;Yay~you~got~it!!!}}$$

24. BloomLocke367

25. anonymous

I would!

26. BloomLocke367

okay, would you like to learn fonts, sizes, or colors next?

27. horsegirl27

I can help teach :)

28. BloomLocke367

-_-

29. BloomLocke367

jkjk, you can if you want XD

30. horsegirl27

haha of course I'm going to steal your spotlight XD

31. BloomLocke367

noooooo

32. BloomLocke367

I worked hard for this SS

33. horsegirl27

yeah, and I'll beat it :P

34. anonymous

I'd kind of like to learn font right now. Or maybe color. Im not picky.

35. horsegirl27

Well, I'd suggest you learn in the order of the code. So size next. Then font. Then color.

36. BloomLocke367

Amelia... -_-

37. horsegirl27

Sorry Bri :P

38. BloomLocke367

Okay, well I guess she's right. We can learn sizes. That's really easy.

39. horsegirl27

I'll list them!!

40. BloomLocke367

-_- stop it

41. horsegirl27

Bri you can do it XD

42. horsegirl27

(but I would suggest you do it they way I usually do)

43. horsegirl27

* the

44. horsegirl27

brb hehe

45. horsegirl27

then I'll steal you spotlight XD

46. BloomLocke367

okay, there are many different sizes. There are $$\tiny tiny$$, $$\Tiny Tiny$$ $$\small small$$, $$\normalsize normalsize, ~\large large, ~\Large Large, ~\LARGE LARGE, \huge huge,~\Huge Huge$$

47. BloomLocke367

to do that, you type $$\tiny$$ or $$\LARGE$$ etc... you put \ in front of the command.

48. BloomLocke367

so like this, $$\large LaTeX~is~AWESOME!$$ the code is $$\large LaTeX~is~AWESOME!$$

49. BloomLocke367

Now you try

50. BloomLocke367

@casdawson

51. anonymous

$$\large LaTeX~is~AWESOME!$$

52. BloomLocke367

There you go! $$\Huge\color{lime}{\ddot\smile}$$

53. BloomLocke367

Now, with the list I made, the code is what is said. Does that make sense?

54. BloomLocke367

55. horsegirl27

you forgot scriptsize!

56. BloomLocke367

oops! XD I knew there was something I forgot. xp

57. BloomLocke367

$$\scriptsize scriptsize$$

58. horsegirl27

lol XD and did you talk about how not to forget to change it to $$\ instead of \(? 59. BloomLocke367 yessssss Amelia 60. horsegirl27 scriptsize comes after Tiny btw 61. horsegirl27 lol ok Bri :P 62. horsegirl27 just checking ;) 63. geerky42 \(\Tiny _{hi}$$

64. horsegirl27

(I'm the one who's done more tutorials than you ;) :P XD)

65. horsegirl27

cool @geerky42!!

66. BloomLocke367

... -_-

67. BloomLocke367

you guys are going to make lag.

68. horsegirl27

hahaha just messin with ya :P Okay, so Bri, continue teaching font

69. BloomLocke367

@casdawson are you ready for fonts?

70. anonymous

Mhmmm

71. BloomLocke367

okay. So, just like with sizes, you must have \ front of the font codes.

72. horsegirl27

you will put \ in between everything until you get to color

73. BloomLocke367

There are many.. I may forget some, so if I do, you can post them Amelia. There are $$\sf sf, \tt tt, \scr scr, \mathbb mathbb, \bf bf, \frak frak$$. I'm pretty sure there are more, so @horsegirl27 post them. I can't find Caleb's table

74. BloomLocke367

However, mathbb and scr only show a change of fonts in caps and mathbb works a little bit differently than the others.

75. horsegirl27

I believe you only forgot cal

76. BloomLocke367

yes!!! thank you

77. BloomLocke367

$$\cal cal$$

78. BloomLocke367

So, $$\cal LaTeX~rocks!$$ comes from $$\cal LaTeX~rocks!$$

79. BloomLocke367

now you try, pick a font and say something.

80. horsegirl27

if you make a mistake, we can help you fix it :)

81. BloomLocke367

yes, don't worry.

82. anonymous

$$\cal I'm~the~Doctor.~I'm~a~Time~Lord.~I'm~from~the~planet~Gallifrey~in~the~Constellation~of~Kasterborous.~I'm~903~years~old~and~I'm~the~man~who~is~gonna~save~your~lives~and~all~6~billion~people~on~the~planet~below.~You~got~a~problem~with~that?$$

83. anonymous

I had to make a quote XD

84. BloomLocke367

OMG YESSSSS

85. BloomLocke367

Whovian for life XD

86. BloomLocke367

So, I think you got that down. We'll cover \mathbb when the time comes. I'll brb.

87. anonymous

$$\cal Can~we~be~friends~like~dang!$$ XD

88. horsegirl27

Yay you did it!! And I'll be your friend :P

89. BloomLocke367

$$\Huge\cal\color{purple}{We~sure~can!}$$

90. BloomLocke367

91. anonymous

Heck Yeah!

92. BloomLocke367

Okay, there is a big list of predefined colors (meaning you can just put pink or yellow in the command and the color will show) or you can use html color codes (you can look those up online).

93. horsegirl27

Colors are way more complicated. There are some where you can say the name, but to be more specific, some colors have codes

94. horsegirl27

And it's also more complicated writing the code for using color.

95. BloomLocke367

Okay, color is a little different than font or size.

96. BloomLocke367

and Amelia, I'm getting there -_-

97. BloomLocke367

to use colors, the code is \color{ }{ }. in the first set of brackets, you put the color name (or html code) and in the second set of brackets, you put what you want to say using that color.

98. BloomLocke367

$$\color{red}{I~love~LaTeX}$$ is from $$\color{red}{I~love~LaTeX}$$

99. BloomLocke367

Now you try, I'm going to look for the list of predefined colors.

100. horsegirl27

So your code is now: $$\size\font\color{colorhere}{texthere}$$

101. BloomLocke367

We can get to combining them later -_-

102. anonymous

$$\large \cal \color {red}{Hullo!~Allons-y!}$$

103. BloomLocke367

Do you know French?

104. anonymous

Oui!

105. BloomLocke367

One second, I'm looking for that list of colors.

106. BloomLocke367

$$\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 goes to @thomaster

107. BloomLocke367

There's the list of colors, play around with them a bit and the fonts and such, and if there's anything else you would like to know, let me know.

108. e.mccormick

@BloomLocke367 Finally! Someone else that realizes the orgin of $$\LaTeX$$ and how it relates to documents!

109. BloomLocke367

Yep, of course!

110. e.mccormick

I taled about that in my first tutorial, over a year ago... http://openstudy.com/study#/updates/52bd214ae4b01cdca44a70d2 But I still saw people telling others, "Oh, it is some art thing!" or words to that effect...

111. BloomLocke367

Oh wow lol I don't think I've seen your tutorial, I just did some research awhile back and condensed it so others would understand.