• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login
Forum — Daily Challenge
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login

How to Type Math

Announcements
6
20
2.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    debbie ADMIN M0★ M1 M5
    last edited by debbie Jul 3, 2020, 9:29 PM Feb 8, 2020, 1:45 PM

    Latex code looks like a bunch of unintelligible gibberish when you look at it, but over time, you might grow to love it! Latex allows you to write math seamlessly into your English text without leaving your keyboard! Plus, it's \(\textcolor{purple}{\text{ pretty}}.\) And it's powerful. Learn to write Latex, and you'll be a happier math person!


    How to get into math mode:

    Typing the double backslash "\\", typing the double dollar-sign " $$ " and clicking the arrow-X in the menu above all put you into math mode. Just remember that whichever you choose to open your math with should be the same thing that you use to close your math with.

    The "%" math mode

    Clicking on the "%" icon above the post editor will automatically give you the math mode wrapper of "'''"s.

    forum-math-mode.png
    The wrapper comes with a very fancy sophisticated code example, highlighted in \(\textcolor{blue}{\text{ blue }}.\) Go ahead and delete this, because you are about to put in your own fancy sophisticated code. 😉

    forum-apostrophe-math-mode-preset-code.png

    Type your code directly inside this wrapper. Please keep in mind that to make a new line, typing "enter" won't automatically do it for you. You will have to type two backslashes at the end of each line.

    3 \times 4 \\
    x \times y \times y \\
    0.5 \times 1.\overline{111} 
    

    forum-apostrophe-math-mode.png

    The backslash method

    I personally like to use the backslashes because I find it easier to keep my hands on the keyboard without having to go for the mouse. With this method, you must type in the "wrapper" yourself. This is two backslashes, followed by an open parentheses / close parentheses. If you use curvy brackets, you get inline Latex that can sit inside your sentence.

    There are random math \\(x^2\\) symbols \\(2^2\\) appearing \\(\frac{1}{2}\\) in this \\(x^y\\) sentence. 
    

    forum-inline-latex.png

    If you use square brackets, you get Latex on its own line.

    There are random math \\[x^2\\] symbols \\[2^2\\] appearing \\[frac{1}{2}\\] in this \\[x^y\\] sentence. 
    

    forum-square-brackets.png

    The Dollar-Sign Approach

    Typing two dollar signs will also open and close your Latex code. However, it gives e x t r a h u g e spacing, and will set the math on its own line.

    3 \times 4 
    x \times 4 \times y
    0.5 \times 1.\overline{1111} 
    

    forum-dollar-sign-math-mode.png


    Latex Examples

    3 \times 4 
    x \times 4 \times y 
    0.5 \times 1.\overline{1111}  
    

    With wrapper:
    screenshot-forum-times2.png

    3 + 2 = 5 
    3 + 2 \neq 4 
    3 + 2 > 5 
    3 + 2 \geq 4 
    2 + 2 \leq 5 
    
    2 + 2 = 4 
    3 + 2 > 4 
    

    With wrapper:
    Screenshot-forum-inequalities2.png

    When typing fractions, it helps to first type the empty braces, like this:

    \frac{}{}
    

    before you enter the values into the braces.

    \frac{123456}{7890}
    

    This way, you're less likely to make a typo!

     \frac{1}{2} 
     \frac{1}{2 + x} 
     \frac{\frac{1}{2}}{x} 
     \frac{1}{2} \times \frac{x}{3} 
     \frac{1}{2} = x 
    

    With wrapper:
    screenshot-forum-fractions2.png

    Superscripts, subscripts and degree notation. Remember that if the superscript or subscript is more than one digit, you need braces { } around it.

    x^2 
    x^{30}
    360^{\circ} 
    x_1, x_2, x_3, ldots 
    x_{20} 
    
    

    With wrapper:
    screenshot-forum-superscripts2.png

    Geometric symbols:

     \angle ABC 
     \bigtriangleup ABC 
     \overline{AB} = 3 
     x \approx 3 
     \angle A = 30^{\circ} 
     \frac{ \overline{AB}}{\overline{BC}} = 2 
    

    With wrapper:
    screenshot-forum-geometry2.png

    Aligned equation blocks:

    \begin{aligned}
    3x + 2 &= 7 \\
    6x + 4 &= 14 \\
    x &= \frac{5}{3} 
    \end{aligned}
    

    With wrapper:
    screenshot-forum-aligned-equations2.png

    D 1 Reply Last reply Jun 23, 2020, 4:18 PM Reply Quote 7
    • D
      debbie ADMIN M0★ M1 M5
      last edited by Feb 15, 2020, 2:07 AM

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • D
        debbie ADMIN M0★ M1 M5 @debbie
        last edited by debbie Jul 3, 2020, 7:03 PM Jun 23, 2020, 4:18 PM

        When you want to type a $ or % symbol in Latex, you must put two backslashes before it:

        \\$ 40
        50 \\% 
        \\# 5 
        

        forum-math-guide-percents.png

        1 Reply Last reply Reply Quote 1
        • D
          debbie ADMIN M0★ M1 M5
          last edited by debbie Jul 3, 2020, 7:06 PM Jun 23, 2020, 4:19 PM

          Additionally, to make colored text, you can use the "color{colorname}" command within math mode. Everything you enter until the end of the math mode will render in the color name entered as colorname.

          ````math
          \color{red} \text{Latex does not regard spaces:} 1 2 3 4 5 6 
          \color{blue} Text written without the \text{ \text{command} } formatting looks squished like this 
          \color{green} \text{ A green equation: } \frac{a + b}{c} + 2.5 - x^2 
          \color{purple} \text{ Purple text using the command 'text'} \\) 
          
          

          forum-math-guide-colored-text1.png

          forum-math-guide-colored-text2.png

          1 Reply Last reply Reply Quote 3
          • D
            debbie ADMIN M0★ M1 M5
            last edited by debbie Sep 5, 2020, 10:18 PM Jun 28, 2020, 2:13 AM

            forum-how-to-type-math-sqrt.png

            1 Reply Last reply Reply Quote 2
            • S
              spaceblastxy1428 M1★ M3★ M4 M5★
              last edited by Jul 21, 2020, 5:02 PM

              \(\color{lightgray} \text{This post is deleted!}\)

              1 Reply Last reply Reply Quote 7
              • Potato2017P
                Potato2017 M5★
                last edited by Jul 22, 2020, 7:56 PM

                \(\color{lightgray}\text{This post is deleted!}\)

                The best Potato
                aops: Potato2017
                yt: http://bit.ly/potatosubscribe
                discord: Potato2017#1822 (it's tent#0001 now)
                tetr.io: https://ch.tetr.io/u/potato2017
                -Potato2017

                1 Reply Last reply Reply Quote 3
                • divinedolphinD
                  divinedolphin M0★ M1★ M2★ M3★ M4★ M5★ M6★
                  last edited by divinedolphin Jul 23, 2020, 3:25 PM Jul 23, 2020, 3:25 PM

                  \(\footnotesize\color{lightgray} \text{This post is deleted!}\)

                  👕👕👕👕👕👕👕👕👕👕🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌

                  divinedolphinD 1 Reply Last reply Jul 23, 2020, 3:26 PM Reply Quote 4
                  • divinedolphinD
                    divinedolphin M0★ M1★ M2★ M3★ M4★ M5★ M6★ @divinedolphin
                    last edited by divinedolphin Jul 23, 2020, 3:26 PM Jul 23, 2020, 3:26 PM

                    \(\small\color{lightgray} \text{This post is deleted!}\)
                    Hmmm.... How do you change the font?

                    👕👕👕👕👕👕👕👕👕👕🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌

                    D divinedolphinD 2 Replies Last reply Jul 23, 2020, 6:17 PM Reply Quote 4
                    • D
                      debbie ADMIN M0★ M1 M5 @divinedolphin
                      last edited by Jul 23, 2020, 6:17 PM

                      @divinedolphin I'd suggest searching for "Markdown change font." Markdown is the language that this forum uses, and it's a shorthand form of html code. I don't know how to do this myself, sorry! 🙂 I hope you have luck finding the answer!

                      1 Reply Last reply Reply Quote 5
                      • RZ923R
                        RZ923 M0★ M2★ M3★ M4★ M5
                        last edited by Jul 24, 2020, 7:32 AM

                        \( \color{gray} \text{This post is}\) \( \color{black} \text{not}\) \( \color{gray} \text{deleted.}\)
                        Lol 😂

                        Very Interesting

                        1 Reply Last reply Reply Quote 4
                        • The Blade DancerT
                          The Blade Dancer M0★ M1★ M2★ M3★ M4 M5
                          last edited by Jul 26, 2020, 1:27 AM

                          Does the sigma function work here?

                          The Blade Dancer
                          League of Legends, Valorant: Harlem Charades (#NA1)
                          Discord: Change nickname if gay#7585

                          D 1 Reply Last reply Jul 26, 2020, 2:15 AM Reply Quote 3
                          • D
                            debbie ADMIN M0★ M1 M5 @The Blade Dancer
                            last edited by debbie Jul 26, 2020, 2:16 AM Jul 26, 2020, 2:15 AM

                            @The-Rogue-Blade

                            Thanks for asking! You can type the Sigma \( \sum \) by itself like this:

                            \\( \sum \\) 
                            

                            or as the sum of a sequence of terms, like this:

                            \\( \sum_{n=1}^{n=10} n^2  \\) 
                            

                            \( \sum_{n=1}^{n=10} n^2 \)

                            \\( \sum_{n=1}^{\infty} n^2  \\) 
                            

                            \( \sum_{n=1}^{\infty} n^2 \)

                            I hope this helps! 🙂

                            1 Reply Last reply Reply Quote 5
                            • divinedolphinD
                              divinedolphin M0★ M1★ M2★ M3★ M4★ M5★ M6★ @divinedolphin
                              last edited by divinedolphin Aug 12, 2020, 3:45 PM Jul 31, 2020, 5:20 PM

                              \[\LaTeX\]

                              \[\text{L}^\text{A}\text{T}_\text{E}\text{X}\]

                              \[L^AT_EX\]

                              👕👕👕👕👕👕👕👕👕👕🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌

                              divinedolphinD 3 Replies Last reply Aug 12, 2020, 3:47 PM Reply Quote 2
                              • divinedolphinD
                                divinedolphin M0★ M1★ M2★ M3★ M4★ M5★ M6★ @divinedolphin
                                last edited by Aug 12, 2020, 3:47 PM

                                @divinedolphin How come that post still shows up as code? When I edit it the preview shows up fine, but this is what I see right now.2020-08-12 11_47_13-How to Type Math _ Forum — Daily Challenge.png

                                👕👕👕👕👕👕👕👕👕👕🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌

                                D 1 Reply Last reply Aug 12, 2020, 4:05 PM Reply Quote 4
                                • D
                                  debbie ADMIN M0★ M1 M5 @divinedolphin
                                  last edited by Aug 12, 2020, 4:05 PM

                                  @divinedolphin Try this instead:

                                  \(LaTeX\)

                                  \(\text{L}^\text{A}\text{T}_\text{E}\text{X}\)

                                  \\(LaTeX\\)
                                  
                                  \\(\text{L}^\text{A}\text{T}_\text{E}\text{X}\\) 
                                  

                                  🙂

                                  1 Reply Last reply Reply Quote 4
                                  • divinedolphinD
                                    divinedolphin M0★ M1★ M2★ M3★ M4★ M5★ M6★ @divinedolphin
                                    last edited by divinedolphin Aug 12, 2020, 9:40 PM Aug 12, 2020, 9:39 PM

                                    62464930-7a01-4839-bb73-2b26c932b242-image.png

                                    👕👕👕👕👕👕👕👕👕👕🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌

                                    D 1 Reply Last reply Aug 13, 2020, 12:45 AM Reply Quote 3
                                    • D
                                      debbie ADMIN M0★ M1 M5 @divinedolphin
                                      last edited by Aug 13, 2020, 12:45 AM

                                      @divinedolphin Yes, I've noticed that too; the square brackets don't seem to render. I usually use the double backslash with the round brackets. 🙂

                                      1 Reply Last reply Reply Quote 4
                                      • divinedolphinD
                                        divinedolphin M0★ M1★ M2★ M3★ M4★ M5★ M6★ @divinedolphin
                                        last edited by Aug 13, 2020, 2:44 PM

                                        \(\LaTeX\)
                                        \(\text{L}^\text{A}\text{T}_\text{E}\text{X}\)
                                        \(L^AT_EX\)

                                        👕👕👕👕👕👕👕👕👕👕🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌

                                        D 1 Reply Last reply Aug 13, 2020, 9:05 PM Reply Quote 4
                                        • D
                                          debbie ADMIN M0★ M1 M5 @divinedolphin
                                          last edited by Aug 13, 2020, 9:05 PM

                                          @divinedolphin Yay, you did it! 🎉

                                          1 Reply Last reply Reply Quote 5

                                          • 1 / 1
                                          • First post
                                            Last post
                                          Daily Challenge | Terms | COPPA