Results 1 to 8 of 8
Like Tree1Likes
  • 1 Post By InteGrand

Thread: Learning to Math with LaTeX

  1. #1
    Cadet
    Join Date
    Jan 2018
    HSC
    2018
    Gender
    Male
    Posts
    56
    Rep Power
    1

    Learning to Math with LaTeX

    I'm learning to use LaTeX through MiKTeX and TeXMaker and can type most of the things I need but I want to be able to type on here using LaTeX for math stuff, it makes things easier to see and recommended by the forum. The text appears fine on the pdf preview but how can I copy and paste it over to here, or do I need to use snipping tool and insert/paste it as an image. Thanks.

  2. #2
    Rambling Spirit
    Join Date
    Dec 2014
    HSC
    N/A
    Gender
    Male
    Posts
    6,016
    Rep Power
    7

    Re: Learning to Math with LaTeX

    Quote Originally Posted by darkk_blu View Post
    I'm learning to use LaTeX through MiKTeX and TeXMaker and can type most of the things I need but I want to be able to type on here using LaTeX for math stuff, it makes things easier to see and recommended by the forum. The text appears fine on the pdf preview but how can I copy and paste it over to here, or do I need to use snipping tool and insert/paste it as an image. Thanks.
    Using LaTeX here (on BOS) is a bit different to using it on MiKTeX/TeXMaker etc. The biggest difference is that to use LaTeX here, you need to enclose the code within "TeX tags". These are like this: [tex.] <insert code here> [/tex.], except exclude those red full stops. (I only put the red full stops in because otherwise the tags don't display.)

    Example: To produce , the required code on BOS is:

    Code:
    [tex.] y = x^2 [/tex.]
    (again, exclude the red full stops).

    If you want to write text in LaTeX here, you can use dollar signs ($) to help with that, but maybe just get used to typing mathematical expressions on BOS LaTeX first.
    darkk_blu likes this.

  3. #3
    Cadet
    Join Date
    Jan 2018
    HSC
    2018
    Gender
    Male
    Posts
    56
    Rep Power
    1

    Re: Learning to Math with LaTeX

    Quote Originally Posted by InteGrand View Post
    Using LaTeX here (on BOS) is a bit different to using it on MiKTeX/TeXMaker etc. The biggest difference is that to use LaTeX here, you need to enclose the code within "TeX tags". These are like this: [tex.] <insert code here> [/tex.], except exclude those red full stops. (I only put the red full stops in because otherwise the tags don't display.)

    Example: To produce , the required code on BOS is:

    Code:
    [tex.] y = x^2 [/tex.]
    (again, exclude the red full stops).

    If you want to write text in LaTeX here, you can use dollar signs ($) to help with that, but maybe just get used to typing mathematical expressions on BOS LaTeX first.
    How can I do dy/dx or integral signs for BOS LaTeX? Is it ? How do i make it look "normal"?
    Last edited by darkk_blu; 5 Feb 2018 at 8:35 PM. Reason: trial and error

  4. #4
    Rambling Spirit
    Join Date
    Dec 2014
    HSC
    N/A
    Gender
    Male
    Posts
    6,016
    Rep Power
    7

    Re: Learning to Math with LaTeX

    Quote Originally Posted by darkk_blu View Post
    How can I do dy/dx or integral signs for BOS LaTeX? Is it [tex] dy/dx [tex] ?
    For dy/dx, just do it using a fraction. Code to type a fraction in LaTeX is shown below.

    Code:
    [tex.] \frac{a}{b} [/tex.]
    produces

    .

    i.e. you write "\frac{a}{b}".

    So to get dy/dx, the code is \frac{dy}{dx}.

    For an integral sign:

    Code:
    [tex.] \int f(x) dx [/tex.]
    produces

    .

    (As usual, exclude the red full stops from the TeX tags.)

    Also, you may find this site helpful: http://www.codecogs.com/latex/eqneditor.php . It lets you click buttons to obtain mathematical expressions, and then produces the LaTeX code for it for you.
    Last edited by InteGrand; 5 Feb 2018 at 8:43 PM.

  5. #5
    Junior Member fan96's Avatar
    Join Date
    May 2017
    HSC
    2018
    Gender
    Male
    Location
    NSW
    Posts
    127
    Rep Power
    1

    Re: Learning to Math with LaTeX

    Also, it might be useful to know these:

    \sqrt{x} produces and \sqrt[n]{x} produces
    _______________________________________________

    For inequalities, you can use special commands:

    \neq (not equal to)
    \geq (greater than or equal to)
    \leq (less than or equal to)
    _______________________________________________

    You can use \, to make an empty space.

    x = 5, \, y = 2


    _______________________________________________

    You can use subscripts _ and superscripts ^ to add more information to commands, e.g.

    \int^2_1



    \lim_{x \to \infty}



    _______________________________________________

    You can use Greek symbols like this:

    \theta (small)
    \Theta (capital)
    _______________________________________________

    And finally all of the trig functions have their own commands

    \sin

    \sin^2

    ...

    Same for other functions such as \log etc.
    HSC 2018 - [English Adv.] • [Maths Ext. 1] • [Maths Ext. 2] • [Chemistry] • [Software Design and Development]

  6. #6
    Taking a break! dan964's Avatar
    Join Date
    Jun 2014
    HSC
    2014
    Uni Grad
    2018
    Gender
    Male
    Location
    South of here
    Posts
    2,843
    Rep Power
    4

    Re: Learning to Math with LaTeX

    \displaystyle is my cheeky trick in LATEX for making fractions and integrals a bit more bitter if in a paragraph with $ $
    here it doesn't matter sometimes
    For example:

    versus

  7. #7
    Cadet
    Join Date
    Jan 2018
    HSC
    2018
    Gender
    Male
    Posts
    56
    Rep Power
    1

    Re: Learning to Math with LaTeX

    When using [tex], when do i need to use the $ symbols?

  8. #8
    Junior Member fan96's Avatar
    Join Date
    May 2017
    HSC
    2018
    Gender
    Male
    Location
    NSW
    Posts
    127
    Rep Power
    1

    Re: Learning to Math with LaTeX

    I think they're just for using plaintext.

    area

    vs.

    $area$
    HSC 2018 - [English Adv.] • [Maths Ext. 1] • [Maths Ext. 2] • [Chemistry] • [Software Design and Development]

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •