# Tagged Questions

This tag is for questions regarding the display of fractions and related problems.

2answers
170 views

### Should superscripts be carried out of a fraction?

I can't help stumbling upon the usual way LaTeX renders fractions with superscripts: I think that the asterisk has a lower "weight" then the symbol and should not be treated as equal. I find ...
2answers
431 views

### Matrix doesn't shrink when put in fraction.

This is my minimal example, the problem is the different size of the two x. I would expect the matrix to be shrunken too, but it isn't. Why is this and how is it corrected? \documentclass[a4paper,...
1answer
243 views

### TeX, LaTeX and fractions

I just stumbled upon a Math SE answer which used {num \over den} for fractions. This seems perfectly equivalent to \frac{num}{den}. I'm guessing the former is TeX syntax and the latter is the LaTeX ...
3answers
2k views

### How to make fractions in powers look good

Quick question. When I type $e^{\frac{1}{2x}}$ it makes the fraction very small and hard to read. However when I type $e^{\displaystyle\frac{1}{2x}}$ it makes the fraction way to big. I guess in ...
0answers
36 views

### Cancelling in a Fraction [duplicate]

I am trying to create a step-by-step solution sheet for my homework and have discovered that I need to use "cancel" things in a fraction. For example, like in the following picture I would like to ...
1answer
146 views

### A notation for continued fractions

http://www.math.illinois.edu/~berndt/gausslandenmonthly.pdf On page 602 of this linked document (which is the 19th of 25 pages) there appears a notation for continued fractions which has been fairly ...
0answers
220 views

### Spacing of fractions in TeX Gyre Pagella Math [closed]

Using TeX Gyre Pagella Math with xelatex, some objects like \frac12 just seem way too large compared to the rest of the equations. Have a look: In the first line, the numerator looks like it's ...
0answers
1k views

### Slanted fractions

I'm trying to develop a command to typeset slanted fractions. I know about nicefrac and xfrac packages, have tried both, and disliked both. At the moment, in text mode I use \nicefrac with a bit of ...
1answer
249 views

### How to make equations the same size

When I write an equation using the simple $and$, it comes out to the correct size, with the fractions bulging above and below the lines and the parentheses surrounding them. But when I use the {...
0answers
36 views

### In the output the denominator appears in front of the fraction [duplicate]

Command \frac works in strange way: Any suggestions? \documentclass{report} \usepackage{polski} \usepackage[cp1250]{inputenc} \usepackage{graphicx} \begin{document} \setcounter{secnumdepth}{3} \...
1answer
209 views

### How to eliminate the gaps before and after \frac{}{}?

The macro \frac add a gap (approx 1.2pt) before and after the whole fraction. You could compare $\frac{1}{1}\frac{1}{1}\frac{1}{1}\frac{1}{1}\frac{1}{1}\frac{1}{1}\frac{1}{1}\frac{1}{1}$ and \...
2answers
1k views

### Square root in fraction space problem

I'm having some troubles with the square root symbol within a fraction. This code \documentclass{book} \begin{document} $$h_4 = \frac{\sqrt{1.5 \gamma_4 -3.5}-1}{18}$$ \...
1answer
117 views

### \center and size of \frac in my code

\documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{fullpage} \usepackage{secdot} \usepackage{setspace} \setlength\parindent{0pt} \title{\vspace{-3em} Quantum Mechanics} \author{...
2answers
947 views

### Problems with fractions in a square root [closed]

whenever i have a fraction inside a square root, the square root symbol drops down below the line and intercepts whatever is on the next line. I think the package savetrees may be causing the problem....
3answers
874 views

### How do I typeset a fraction of Young tableaux?

How do I typeset a fraction of Young tableaux so that the fraction is nicely spaced and diagonal? \documentclass{article} \usepackage{nicefrac} \usepackage{xfrac} \usepackage{youngtab} % for Young ...
1answer
534 views

### Multline & Splitfrac

\documentclass{article} \usepackage{amsmath} \usepackage{mathtools} \begin{document} \begin{multline*} -\dfrac{1}{64\pi^2} \left[ \dfrac{ \splitfrac{ (m_2-m_3)(2y_e^2-...
4answers
2k views

### Breaking the equation inside a fraction

I am trying to write this equation using the help provided in the link below How to break a long expression in the denominator of a fraction? Still the equation goes outside the margin. I using \...
1answer
52 views

### Sequential \frac that aren't nested [duplicate]

I'm new to Latex and am having trouble troubleshooting an equation that I can't get to display correctly. The equation I am trying to create in Latex is: ...but I keep getting nested fractions ...
2answers
572 views

### Convert hours (as decimals) to fractions for billable-time invoice

I'm creating an invoice in LaTeX and I've entered the hours I've worked as decimals (for example, 1, 1.5, 0.75, 2.25), but I want to display those decimals as fractions (1, 1½, ¾, 2¼). (The reason I'...
2answers
549 views

### Dante Monotype typeface and fractions

I am handling a text which is natively written in a proprietary LaTeX documentclass which implements Dante Monotype fontface. In this text there is a lot of maths and I would say that it works, ...
2answers
466 views

### A special fraction macro with raised fraction bar

I need to create a macro which allows me to get a fraction with a raised fraction bar. In a first approach, I mean to create two boxes (numerator and denominator), separated by a fixed horizontal rule ...
0answers
82 views

### Token not allowed in a PDF string: hyperref warning affecting the bookmarks in the PDF [duplicate]

I have written a text in documentclass book and I have quite a lot of maths into subsections titles. These titles are of course correctly rendered in the pdf page but are not in the bookmarks: for ...
3answers
415 views

### \frac command: height of the numerator vs height of denominator

I have the following code: \underline{W}^1_{\,q,\rho} = \left\lceil \frac{\sum\limits_{v \in Q, v \neq q}\underline{C}_{\,v} + \sum\limits_{i=\rho+1}^{|\Omega^{(U)}_q|}p_i+ \sum\...
1answer
199 views

### Problem with fraction

I have a problem with the appearance of a fraction which has in its numerator another fraction. It is not very beautiful as the second fraction is small, even though I use \displaystyle. How can I ...
2answers
328 views

### Displaying fractions nicely

I'd like the following to look nicer: $\frac{1 - \left(\frac{r-3}{r-1} \right)^{k-(p+q)+1}}{1 - \left(\frac{r-3}{r-1} \right)}$ As of now, the horizontal line is way too long.
2answers
3k views

### New to TeX; issue with compiling

I keep getting the compiling error >file ended while scanning use of \frac. I can't see any missing {}, so I'm not sure what to do. \documentclass[]{scrreprt} \usepackage{geometry} \begin{document}...
6answers
954 views

### derivative with respect to a vector

$\frac{\partial f} {\partial \left( \begin{array}{l} x \\ y \\ z \end{array} \right) }$ gives Can you help me to improve this by reducing the size of the denominator?
4answers
357 views