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

learn more… | top users | synonyms

1
vote
1answer
37 views

Fraction Brackets size

I wanted to write the following equation but somehow my first bracket before the fraction is shorter, last one is fine. but I have no clue what happened to the first one, also is it possible to ...
2
votes
3answers
103 views

Help on typesetting an equation with fraction in numerator and denominator

I have the following equation: \documentclass{report} \begin{document} \begin{equation} T_e=\frac{T_{disch}\cdot e^{\frac{T_{ahe}-T_{disch}}{LMTD}}-T_{ahe}}{e^{\frac{T_{ahe}-T_{disch}}{LMTD}}-1} ...
0
votes
1answer
35 views

Double subscript not coming with product in this formula

I am not able to write this in latex with the subscript p|n (maybe more than one line) under the product and above the product sign also I need something to be written( say k). Moreover it would be ...
4
votes
4answers
128 views

Numbers are very small in numerator and denominator using \frac

When I use the \frac command, I notice that the characters used for the fraction terms become smaller than those which are not in the \frac command. Is there a way to correct it?
0
votes
1answer
55 views

having problems with \frac command [on hold]

in my formula I have typed , the first term , SF1 ,doesn't go above the nominator line, A11 = \frac{ \frac{\sum SF_{1_{i}}}{E}}{\epsilon_{11}} could you please help me spot the problem? I hope ...
2
votes
1answer
53 views

How to add additional numbers in simple fraction cancellation example

\documentclass{article} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{shapes.misc} \newcommand{\strikeout}[1]{% \ifmmode% \tikz[inner sep=0.5pt,baseline] \node [strike ...
5
votes
1answer
91 views

How to remove the space before and after fraction line of \frac command

I find the \frac command add a space of 1.2 pt before and after a fraction. See the figure below \documentclass{article} \usepackage{amsmath} \def\abc{\genfrac{}{}{0pt}{0}{0}{0}} \def\Abc{\frac00} ...
2
votes
2answers
95 views

typesetting addition of fractions

I was wondering what the most efficient way is to typset this: My first thought was doing this with tabular but seems quite messy to me.
3
votes
3answers
129 views

Make big fractions look nicer

I've got a few lines of calculation that involve large fractions and it is looking horrible on Latex. Does anyone have any suggestions as to how to make the fractions bigger with more space so that ...
3
votes
1answer
39 views

Left justifying in \genfrac

Is there an easy way to left-justify the "numerator" and "denominator" in \genfrac? By default it centers the "numerator" and "denominator." I am using it for a custom \atop command, per suggestion ...
5
votes
3answers
303 views

Can this kind of “variant fraction notation” be created in latex?

I'd like to be able to write math that looks a little like this: So it is a bit like a fraction, but there's a also a top line, and there's an arbitrary symbol or formula immediately left of where ...
2
votes
0answers
65 views

Argument of \genfrac has an extra } [closed]

Can't figure out what is wrong with the syntax below, for which I get the error mentioned in the title: \documentclass[11pt]{report} \usepackage{amsmath} \begin{document} $k = \frac{\omega M}{2 ...
2
votes
3answers
224 views

Problem with \frac macro

I am using this code for a mathematics problem. The code works but the lower fraction looks really dull, the parenthesis is doing something it isn't supposed to. What I can do about this? ...
3
votes
1answer
99 views

How do I make fractions automatically displayed in lines properly?

I would like to know how to make code of fractions in article class more easy to handle. Usually, if I type ${a \over b}$ then LaTeX does not display $a/b$, which is what I want. So I have to say ...
3
votes
2answers
198 views

How to get a vertical bar which is the exact size of the object?

I wish to use two vertical bars to sandwich a whole object: What I found is that (Failure 1) if I use usual \mid or \rvert or |, it is too small. (Failure 2) if I use usual \left| or ...
2
votes
1answer
45 views

Bigger rows with fractions in pseudocode

I had previous question how to write pseudocode in latex. I would like to use fractions in pseudocode, but rows with fractions are a little small. Anybody know how to make rows with fractions a little ...
1
vote
0answers
34 views

adjust vertical space between horizontal line of the radix in denominator and the horizontal line of the fraction [closed]

Even in display math I guess that there is too little space between the top horizontal line of the radix symbol and the horizontal line of a \frac. How can I control that vertical space? I have a ...
0
votes
0answers
53 views

Fractions in Latex

I typed instruction below into a tex document and the fraction came out smaller than the rest of the equation. Is there any way of making the b, c and d the same size as the a? $a = \frac{b}{c+d}$
0
votes
0answers
57 views

the numerator and denominator is not aligned well?

Here is the my code: $\sup_{v\neq 0}\frac{|Av|}{\|v\|^2}$ it displays as follow: But it doesn't look very well. I want the subscript to be under the sup and the fraction to aligned well.
2
votes
0answers
32 views

Issues with fractions and align [closed]

I'm really new to LaTeX, I only started last week and I'm having an issue with trying to align equations involving fractions. I want to align at the '=' but I am getting errors: ...
3
votes
2answers
123 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 ...
4
votes
1answer
157 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 ...
13
votes
3answers
797 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 ...
0
votes
0answers
31 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 ...
4
votes
1answer
88 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 ...
1
vote
0answers
120 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 ...
1
vote
0answers
277 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 ...
4
votes
1answer
96 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 ...
2
votes
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} ...
8
votes
1answer
201 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 ...
0
votes
1answer
43 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} ...
5
votes
2answers
355 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} \begin{equation} h_4 = \frac{\sqrt{1.5 \gamma_4 -3.5}-1}{18} \end{equation} ...
8
votes
3answers
434 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 ...
0
votes
1answer
207 views

Multline & Splitfrac

\documentclass{article} \usepackage{amsmath} \usepackage{mathtools} \begin{document} \begin{multline*} -\dfrac{1}{64\pi^2} \left[ \dfrac{ \splitfrac{ ...
4
votes
4answers
358 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 ...
1
vote
1answer
37 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 ...
5
votes
2answers
373 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 ...
5
votes
2answers
349 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, ...
1
vote
2answers
244 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 ...
4
votes
2answers
93 views

Multiple lines in equation environment

I have to put an two equations inside one equation environment. I could do it with this piece o code: \begin{equation} \begin{array}{ccl} \nabla \cdot F & = & \left(\frac{\partial}{\partial ...
1
vote
0answers
67 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 ...
11
votes
3answers
319 views

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

I have the following code: \begin{equation} \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+ ...
3
votes
1answer
122 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 ...
3
votes
2answers
273 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.
4
votes
2answers
939 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} ...
7
votes
6answers
806 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?
3
votes
4answers
141 views

Latex incorporate a fraction in tan

I want to write in latex that an angle equals to tan of (BM/AB). I wrote this: $\widehat{BAM}$ = $ \tan ($ \dfrac {BM} {AB} $)$ But I have an error "missing $ inserted. Can someone help me?
14
votes
2answers
292 views

Aesthetic issue in fractions

While I was typing a document related to special relativity, I came across this slight misalignment in \frac{V}{c}(shown with huge text size so that the effect is easily seen) The 'problem' is that ...
4
votes
1answer
1k views

Schrodinger's equation [duplicate]

Trying to get Schrodinger's equation to format better. The first term is -\dfrac{\hslash^2}{2m} \, \dfrac{\mathrm{d}^2 \psi}{\mathrm{d} x^2} However, because of the exponent in the denominator, ...
10
votes
1answer
214 views

How and whether to fine-tune the vertical placement of a fraction line

This is a question about the aesthetics of mathematical typesetting, as well as a technical question about LaTeX. I'm writing a lot of expressions like this: (\log\frac{p_{i\to j}}{p_{j\to i}} in ...