Questions tagged [fractions]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
53 views

Chemical Formulae in fraction

I was trying to write an equation for equilibrium constant K, but I cannot put Fe(SCN)^2 in the fraction for some reasons. This is what my code was. K=\frac{\ce{[Fe(SCN)^2+]}}{\ce{[Fe^3+][SCN^-]}}
  • 1
0 votes
0 answers
26 views

How to adjust vertical space of item which with math mode in list?

PROBLEAM: When math mode which include fraction within enum item, it too compact too ugly MWE: \documentclass{book} \usepackage{enumitem} \usepackage{lipsum} \RequirePackage[bold-style=ISO, mathbf=...
4 votes
2 answers
220 views

Row misaligned when using \dfrac

I can't understand why it's misaligned, what am i doing wrong? It can be corrected if I use \frac, but it's not what I need \documentclass {article} \usepackage[utf8]{inputenc} \usepackage[spanish]{...
0 votes
0 answers
30 views

How to align number digits and fractions as shown in the image below [duplicate]

Please suggest how to align number as shown in image below
2 votes
1 answer
113 views

`sfrac` with fraction numerator and denominator

I want a fraction of derivatives, so I use this code: \documentclass{article} \usepackage{amsmath} \usepackage{xfrac} \begin{document} Good: $\sfrac{4}{5}$ Not good: $ \sfrac{\dfrac{dy}{...
2 votes
1 answer
30 views

SI Units power messing up fraction display

I realized that when I put the power on the unit, the m/s^2 is displayed inline instead of in a \frac format. MWE: \documentclass[12pt]{article} \usepackage{units} \usepackage{siunitx} \usepackage{...
  • 1,531
1 vote
1 answer
48 views

Fractions increasing spacing above and below fraction line (vinculum) and make more bold

I'd like to increase spacing between fraction line and numbers (numerator, denominator, and make the fraction more bold. I want same line thickness. One solution I've got from the website increases ...
  • 345
0 votes
2 answers
37 views

Array/tabular env. showing fractions directly in display mode and correctly spaced?

In my Latex documents I usually include arrays and tables with fraction that always get crushed to their inline form, giving an unpleasant result. I know I could solve the issue by switching every \...
1 vote
1 answer
118 views

Vertical space in a fraction

I found a solution here on Stack Exchange to separate the numerator and denominator further from the divide line. The solution is fine if you have fractions above and below the divide line but, if you ...
4 votes
2 answers
200 views

Display all fractions generated by the \over command in red

In my copy-editing work I need to fix the layout of equations in the submitted papers. To make it easier and faster it would be helpful to have the all fractions generated by the \over command ...
0 votes
0 answers
53 views

Fit a determinant inside a fraction

I want to put a determinant into a fraction, so it displays 1/matrix, (the reverse) I have the determinant that is this one, but putting inside \frac does not do the trick. What should I do instead? \...
3 votes
1 answer
44 views

Hiding the dividing line in a fraction [duplicate]

I would like to be able to hide the dividing line in the fraction that arises from applying a command such as \dfrac. In particular, what I would like to do is take an expression such as the following:...
  • 75
1 vote
1 answer
37 views

strange interaction between breqn and code that changes the sqrt sign. Alignments in fraction becomes bad

I thought to point out this strange problem. I was using code from answer in improving spacing between math expressions automatically? which changes the sqrt sign, so instead of It now looks like ...
  • 19.5k
0 votes
2 answers
61 views

How to type cancel to with a line not an arrow

I want to use cancel to but with just a line instead of an arrow
0 votes
0 answers
8 views

Continued fractions - Minimize the horizontal rules [duplicate]

Is there an easy way to display continued fractions like in the picture above? If you have one complicated solution, it is also ok because I will automatize the building of such outputs.
  • 12.7k
1 vote
1 answer
59 views

Problem with double integration

I was trying to type a double integral as follows: \documentclass{article} \begin{document} \[ x=x_0+\int_{t_0}^{t} u_0 +\frac{1}{m} \int_{t_0}^{t} F(t) \,dt \,dt \] \end{document} I would like ...
2 votes
2 answers
239 views

Problem with defined integral when using an exponent

I used the following line to overleaf LATEX: \[ u= u_0 +\frac{1}{m} \int_{t_0}^{t} F_0(\frac {t}{t_0})^α \,dt \] however the result was not what I expected and the "dt" showed as an ...
12 votes
4 answers
750 views

How to align 2 equations in fraction at `=`?

I was trying to answer this question on another stackexchange forum, to say that they could use Latex instead, only to find I can't figure how to do this in Latex myself. Is it possible to have 2 ...
  • 19.5k
0 votes
1 answer
37 views

Defining command for partials derivative in xelatex

I've been trying to write a command to display a partial derivative with as follow I've written this : \documentclass[11pt, french]{article} \usepackage[french]{babel} \selectlanguage{french} \...
0 votes
1 answer
64 views

Quantifier is too small next to dfrac

I want to work with fractions, quantifying a fraction as single element, but \forall and \exists are being displayed too small near \dfrac. And mathlarger doesn't seem to work. I know only the basics ...
6 votes
3 answers
360 views

How to produce display style fractions in plain tex

How to produce display style fractions in plain tex? I know that plain tex uses \over for fractions, for example {1}\over{2}. But how to do displaystyle fractions? I tried to use \displaystyle and it ...
  • 767
3 votes
1 answer
223 views

Wrapping long numerator

I have a long square root equation that walks off the edge of the page. See the following picture where the end of the equation is cutoff. \[ S=\sqrt{\frac{306.250+240.250+156.250+110.250+90.250+56....
  • 165
7 votes
1 answer
937 views

Why is latex typesetting my fractions with so much vertical space?

I am using the normal \frac in display mode (\begin{equation}). This happens whether I'm using align, or double $, or whatever else. This looks weird, right? Especially the numerator being so far away ...
0 votes
1 answer
67 views

Increasing vertical distance above and below the fraction line

How can I increase the vertical distance above and below the fraction line (see the screenshot below)? Note, that I used \displaystyle for this term. See my code here: \documentclass{article} \...
0 votes
2 answers
61 views

Integral symbol in the denominator with standard size

How can I display the integral symbol in the denominator with the standard size. See the screenshot below.
0 votes
1 answer
28 views

How can I add limits in the fraction? [duplicate]

I can't seem to add limits in fractions. I tried \[ \frac{\lim_ {x \to a}[f(x)]} {{\lim_ {x \to a} [g(x)]}} \] But it just doesn't want to do it. Can someone help me? Thank you in advance.
0 votes
1 answer
53 views

Can't make this fraction

I want to create a formula for summing an arithmetic sequence in which the first term is 'a1' and the nth term is 'an' through the following formula. ${{S_n}}$ = \frac{n(${{a_1}}$+${{a_n}}$)}{2} ...
1 vote
1 answer
40 views

Is \inferrule* inside gather* not centered?

Feeding \documentclass{article} \pagestyle{empty} \usepackage{amsmath} \usepackage{mathpartir}% version 1.3.2 or 1.4.0 \begin{document} \begin{gather*} \inferrule*[left=M,right=M]{premises}{...
user avatar
2 votes
1 answer
54 views

LaTeX Squeezes Notation in `\frac{}{}` Environment [duplicate]

I have to write an expression of the form \frac{1}{E_{s}^{x}} However, the term is squeezed by TeX in the denominator (the x does not have the same height as if I did not use a fraction). Here the ...
  • 215
4 votes
1 answer
207 views

Multiply a fraction

It is necessary to multiply the fraction in accordance with the figure. \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english]{babel} % локализация и ...
4 votes
3 answers
238 views

Error when using \begin{split} and \end{split} to align equation

The following code gives me exactly what I need as displayed in the image. It's however displaying error messages when I run. How do I get rid of the errors displayed. Below is the code and equation. \...
2 votes
0 answers
30 views

How do you properly print a fraction number with unit in siunitx? [duplicate]

I was basically trying to replicate the answer to this question: Print \frac{4}{3} m/s using the SI unit package In doing so, I hope to achieve a proper output of minus one third (as a fraction) the ...
1 vote
1 answer
63 views

Display fractions in normal fonts with subscripts attached to the terms

I would be grateful if someone could help me write a fraction in normal text with subscripts attached. This is the latex code I wrote \begin{equation} v= \frac{ \triangle \text{Z} }{ \text{a\...
1 vote
1 answer
76 views

Fraction in a table

I have this table which has a fraction in it. I don't like how it looks small and variables don't look clear. Is there a way to fix this or increase the size of the fraction or something? Thank you!! \...
  • 41
3 votes
1 answer
76 views

LaTeX table/tabular and math/maths mode, insufficient vertical distance between square root symbol and the top edge

Got a problem with the square root sign inside a table: SEE THE COMMENTED PART \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{indentfirst} \usepackage[left=1.2in,right=1.2in,top=...
5 votes
1 answer
133 views

Extra space between fractions

I have heavy fractions in my LaTeX equations. When there are 2 or more consecutive fractions in a row (i.e. I evaluate a product), they are too close to each other. Is there any way to add an extra ...
3 votes
3 answers
82 views

handling whitespace in denominator of complex fraction

I have a paper where I need to format a series of ugly 'fraction expressions' -- ugly because the term in the numerator is (often) a complex sum or series, and in order to get it to `fit', I usually ...
1 vote
1 answer
241 views

How to create a backslash fraction using sfrac

I tried to create a backslash fraction using sfrac, but the output looks like this: \documentclass{article} \usepackage{xfrac} \begin{document} $ \sfrac{A}[\backslash]{B} $ \end{document} Any ...
  • 15
3 votes
3 answers
148 views

How to indent each line after a fraction in a single expression?

How can I format the fractions to appear underneath like so in both images. For the second image the plus should not be under the expression above it. Here is my code for the second image: \...
  • 227
4 votes
2 answers
537 views

How can I display very large fractions nicely?

I want to replicate the following fraction: However, I don't know, how I can get this nice diagonal fraction line. The nicefrac package did not display it like I would like to. So far I used \frac{dN}...
  • 43
4 votes
2 answers
165 views

Aligning fractions with an alignment tab

I don't know whether this is really a good idea or not, but I'm wondering if it's possible to implement a version of \frac where the numerator and denominator can be aligned at an alignment tab (&)...
  • 3,547
3 votes
2 answers
104 views

How to make long equation inside fraction optimized for mobile view?

I'm actually using mathjax when coding, but it's quite similar to latex. When calculating standard deviation, I am using this line of code: $$\sqrt{\frac{( (2-6.125)^2 + (4-6.125)^2 + (4-6.125)^2 + (5-...
11 votes
3 answers
1k views

Minus sign not aligning with fraction

When I use subscripts and superscript with \frac the numerator and denominator looks very tight, \documentclass[a4paper,12pt]{article} \usepackage{mathtools,amssymb} \begin{document} \[e^{-\frac{(x-\...
  • 369
1 vote
6 answers
1k views

How to manage tables with many fractions, where I like to give some sufficient spacing for the numerators?

I am working on a table with a lot of formulas (Laplace Transforms of various functions). Using a standard command (\[2mm]), I am able to generate spacings for the denominators. But the numerators ...
1 vote
0 answers
77 views

Fraction bar not showing with custom math font

I'm using unicode-math package to change my math font. Initially the fractions weren't rentering correctly but now I've got almost everything to look good with some adjustments using \fontdimen but ...
  • 11
2 votes
1 answer
129 views

How do I write "text as fractions" without moving to the next line in the O/P?

I used this command to get (a+b+c)/2 x=\[\frac{\textrm{a+b+c}}{2}\] However, the output has shifted it to the next line, as shown Is there a way I can have this in-line with the text?
0 votes
1 answer
154 views

Strikeout in fraction equation [duplicate]

I am having trouble getting the strikeout to work in this equation. I'd appreciate your help.
  • 1
2 votes
2 answers
330 views

How show rational simplification?

I need to show the path to simplify fractions, i.e., through their common divisors, so that show the first simplifications. For example: 18/6 I'd want to show some like this: \frac{\cancel{18}^9}{\...
  • 33
2 votes
3 answers
95 views

How do you make the text fit in the fraction?

How do you fit the text in a fraction? I am trying to fit a text equation inside a colored box: \documentclass[11pt,twoside, a4paper]{report} \usepackage{fontspec} \setmainfont{TeX Gyre Schola} \...
3 votes
2 answers
104 views

Operation with continued fraction

Using this code b\cdot[0;a_1,a_2,a_3,\cdots]=\cfrac{b}{a_1+\cfrac{1}{a_2+\cfrac{1}{a_3+\cdots}}}= \cfrac{1}{\cfrac{1}{b} \left[a_1+\cfrac{1}{a_2+\cfrac{1}{a_3+\cdots}} \right ]} to represent an ...

1
2 3 4 5
11