Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Typing math into LyX

  • 24-11-2009 3:12pm
    #1
    Moderators, Education Moderators, Motoring & Transport Moderators Posts: 7,396 Mod ✭✭✭✭


    I am extremely new to this LaTex thing. But in LyX, I don't know how to type maths the normal way, like you would do in the Latex tags on boards.ie

    For example, I would like to be just able to type \frac{7x}{\sqrt{2}} and have [latex]\frac{7x}{\sqrt{2}}[/latex] but when I select Math mode from the toolbar, and type \frac it changes into boxes, and I have to enter the fraction in a graphical method.

    Is there any way I could just type out maths functions as if I was typing source code and have it display on screen as actual maths, rather than trying to do everything through LyX's GUI interface.

    Thanks for reading. I hope I made sense :o


Comments

  • Closed Accounts Posts: 8,983 ✭✭✭leninbenjamin


    Lyx is just a latex GUI right?

    mathmode in latex is simply denoted by

    \begin{equation}
    blah blah
    \end{equation}

    or when using it in paragraphs $ blah blah $

    so i presume if you don't press the button you can just enter the source like that.

    another tip: or multiple lines avoid using eqnarray and use split instead. (been a while since i've used mathmode but i think it goes:

    \begin{equation}
    \begin{split}
    blah & = & blah \\ %newline
    bloo & = & bloo \\
    & = & bloo
    \end{split}
    \end{equation}

    the & is used for alignment here.


Advertisement