Math & Science ⇒ Regarding subscript and inequality
Regarding subscript and inequality
Please help me with these 2 questions:
Q1. To output x greater than equal to y, I use $x \geq y$. Output is correct, but x and y are displayed in italics. How can I get regular x and y (i.e. NOT in italics).
Q2. How to output something like P subscript {x greater than equal to y}. Somehow P_{$x \geq v$} is not working.
Thank you.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10330
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Regarding subscript and inequality
welcome to the board!
It's very common to write variables in italic. Have a look at books - do you find any math book where variables have the same font as the text, such that "any" looks like the product of a, n and y?
Also, write $P_{x \geq v}$. Subscripts require math mode. If it's really necessary it's possible, but at first think over using math italic font for math expressions.
Stefan
Re: Regarding subscript and inequality
Yes, it surely makes sense to have variables in italics
