0

How can i write the fractions in 1) so the numerator and denominator have the same height as the non-fraction in 2)

I'm using:

$1.\; \displaystyle{\lim_{x \to 1}}$ $\frac{x^2}{x-2}$  \\

$2.\; \displaystyle{\lim_{x \to 0}}$ $\tan(x+\pi/4)$  \\

enter image description here

  • Welcome to TeX.SE! Are you looking for \displaystyle? – user121799 Jan 14 '19 at 23:50
  • Welcome to TeX SX! Why do you split each line into two math groups? – Bernard Jan 14 '19 at 23:50
  • Change $1.\; \displaystyle{\lim_{x \to 1}}$ $\frac{x^2}{x-2}$ to $1.\; \displaystyle{\lim_{x \to 1}}\frac{x^2}{x-2}$. (i.e. remove the two $ in the middle). Actually, you should do this for both 1 and 2 anyway :-) – whatisit Jan 14 '19 at 23:51
  • ty, i had added it - what is the best way to add a small space between the limit and the fraction? – buffalo Jan 15 '19 at 0:13
  • Note that \displaystyle, if used correctly, will have two effects: (i) the fraction term will be typeset differently and (ii) the argument of \lim will be placed below rather than to the lower-right of "lim". – Mico Jan 15 '19 at 3:20
1

This should work, but isn't well coded. Are you tring to do an enumeration of maths formulæ?

$1.\; \displaystyle\lim_{x \to 1}\frac{x^2}{x-2}$  

$2.\; \displaystyle\lim_{x \to 0}\tan(x+\pi/4)$  
| improve this answer | |
  • ty, i had added the $ $ for a small space - what is the best way to add a small space between the limit and the fraction? ty – buffalo Jan 15 '19 at 0:14
  • Normally it is all taken care of by the system. If think it's as fine as you'd like, you may add a tin unbreakable space (\,) between the limit and the fraction. – Bernard Jan 15 '19 at 0:22
  • superb, tyvm works – buffalo Jan 15 '19 at 1:48
  • \displaystyle is a switch, i.e., it doesn't take an argument. – Mico Jan 15 '19 at 2:31
  • @David Carlisle; Yes. 'Tis fixed. Actually, I didn't notice the O.P. used \displaystyle as a command. Thanks! – Bernard Jan 15 '19 at 10:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.