- Documentation
- Manuals
- Tutorials
- Presentations
- LyX Functions
- Troubleshooting
- Suggested reading
- Official web site
Edit Links |
FAQ /
## Math
<< | Page list | >>
Frequently Asked Questions related to Math - How do I put normal text inside a mathematical equation?
- Equation numbering doesn't work. Help?
- How do I make a cube root (or higher)?
- How can I change the appearance of limits in integrals etc?
- How can I add a matrix to a math expression without using the math-panel?
- How can I remove an equation label?
- How can I stack math symbols? I want one symbol on top of the other.
- How can I write an inline formula (inline math) in the style of a display formula (bigger symbols etc?)
- How can I add a tag/comment/note etc to a display equation?
- How can I reuse a number in a display equation?
Most of these questions are also answered by LyX's Math manual that you find in LyX's Help menu. ## § How do I put normal text inside a mathematical equation?Type \text and then press space while inside the equation to enter "math text mode". ## § Equation numbering doesn't work. Help?To number an equation, use Insert→Math→Display formula (Shift+Ctrl+M). Make sure you are not using ## § How do I make a cube root (or higher)?Type "M-m r" or \root to insert a root box. Use the cursor keys to navigate the entry boxes. ## § How can I change the appearance of limits in integrals etc?M-m l (or Alt-M l or Edit→Math→Change Limits Type) toggle between the two commands \limits and \nolimits. (You can write the example in the following way: ```
\int \limits _b ^a
``` For integrals the limits are always set beside the operator ( `nolimits-mode` ). For sums the limits are set beside the operator in inline formulas and over/under them (`limits-mode` ) in dislay-style formulas. So M-m l has nothing to do with inline ore display-style mode.
For a detailed explanation, please refer to Help→Math, section ## § How can I add a matrix to a math expression without using the math-panel?- Type in the minibuffer (open it with M-x): math-matrix cols rows
- Type in the formula: \matrix . Now use the minibuffer as decribed below.
- For a matrix with parenthesis, replace \matrix by \pmatrix. For a matrix with lines use \vmatrix.
## § How can I remove an equation label?Enter the equation and press M-m n. Pressing M-m n once more will show the equation label again.
You can try switching the 'display mode' on/off - while inside the equation, select Insert→Math→Display Formula twice, or use the corresponding keyboard shortcut (Ctrl+Shift+M). Note that this way the multiline (achieved by Ctrl+Enter) can be lost. ## § How can I stack math symbols? I want one symbol on top of the other.Use the LaTeX-command \overset{symbols above}{symbols below}. Here an example for an "a" over a maltese-symbol: \overset{a}{\maltese}
You can enter this command in TeX-mode or in a formula. ## § How can I write an inline formula (inline math) in the style of a display formula (bigger symbols etc?)Wrap it inside the command: \displaystyle ## § How can I add a tag/comment/note etc to a display equation?Try adding \tag{a comment} in ERT in the equation. (I've not tested this myself since I'm on Windows now). Note: Make sure to switch on "Use AMS math" in Layout→Document for this to work. ## § How can I reuse a number in a display equation?Use the comment tag to add a cross reference to the equation that you want to reuse. Instruction video. << | FAQ.PageList | >> |

Page last modified on 2012-02-13 23:34 CET