# Questions tagged [fractions]

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

573 questions
Filter by
Sorted by
Tagged with
28 views

### Math mode: centering/aligning the entire fraction height, vertically, in a series sum with the operation signs exactly centered, as well

I'm interested in learning something more about LaTex syntax and semantics. So this isn't a question about best-practices when writing math-mode expressions. That's a different discussion I'd prefer ...
• 143
77 views

### How can I modify the \dfrac command to automatically display thousands separators?

In small math classes, students are asked to respect the thousand separators, like this: This forces me to use the \num{} command from the siunitx package in each argument of the \dfrac command. How ...
• 26.2k
453 views

### Subscripts in fractions on an exponent look terrible

It seems that whenever we have a fraction in an exponent, the denominator looks terrible. For example, The K in the subscript looks unduly large. This is definitely a bug or something. Is there any ...
• 171
436 views

### Problem with superscripts on fractions

I am a bit of a novice with LaTeX so excuse if this is a silly question. I am writing a "common methods" booklet for my department, and one of the agreed methods is to show fractional ...
55 views

### x/y and y/x having different-sized parentheses

I wrapped \dfrac xy and \dfrac yx in left and right LaTeX tags with parentheses, and I expected that the parentheses would be the same size since x/y and y/x should technically be the same height. ...
271 views

### How can I format these "cases" better?

How can I edit the following fraction, so the "x" is bigger? \documentclass{minimal} \usepackage{amsmath} \begin{document} \(\tfrac{x_{\left(\tfrac{n}{2}\right)} + x_{\left(\tfrac{n}{2} + 1\...
1 vote
167 views

### I made a complex number command

So I've written a command as a homework assignment to render complex numbers correctly. Like, when I write \complfull{5}{-2} the output is 5-2i \documentclass{scrartcl} \usepackage{amsmath} \...
• 23
375 views

### Right side of the equation is a denominator

Below is my overleaf latex code: \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} \begin{equation*} \frac{\partial \log L(\theta)} {\partial\theta_k} = \sum_{i=1}^{n}\delta_i \...
429 views

### Spacing in fractions

I have a fraction whose denominator is a fraction again. I want to write the denominator in parantheses, but I have the feeling that the space is not really nice. The lower term is nice from the ...
• 471
45 views

### How to automatically break fractions generated by Mathematica

I am looking for an automated way of presenting my Mathematica results in latex. My workflow at the moment is the following I use TeXForm[] Mathematica function to generate a latex code from my ...
1 vote
54 views

### How do I make a good northeast arrow to represent continued fractions?

I'm taking notes on a book which represents continued fractions like this: When I'm doing this in LaTeX, I've been using \nearrow, but that looks more like this: I don't love how everything is on ...
1 vote
58 views

### Problem with writing a fraction expression

I am trying to obtain an expression where I want to write the numerator in multiple aligned lines, and I need a denominator covering all of the numerator terms in a single line. My equation is: But I ...
• 13
121 views

### Large vertical spacing in denominator above \rho

The vertical spacing above rho in the denominator here is off. I'm not sure if it's caused by the descender in the numerator, or if that only exaggerates the issue. I think both 2/μ and μ/2 look ...
• 837
1 vote
77 views

### Line spacing between lines containing inline math

Honestly I give up on this. I searched for a solution to this for so long, but nothing seemed to work (well) for me. I just want my equations to no longer look squashed together, referring to how ...
• 361
738 views

### Continued fraction is hard to read

So this sort of ties into this question on Puzzling.SE about making π out of the numbers [1...n] for n=[1,2,3...20]. I am currently working on a document using LAT EX that I am going to publish as an ...
• 153
1 vote
77 views

### Fraction with double line with ams environment

I am not sure if this counts as a duplicate question, but I would like to have a fraction where the delimiter consists of two lines. I tried using the Tfrac solution at Fraction with doubled line and ...
• 25
155 views

### Latex for Continued Fractions

The current formula I have is: \begin{displaymath} 1 = \frac{1}{\cfrac{2}{1-\cfrac{1}{3}}} \end{displaymath} How should I proceed further?
230 views

### How to make this fraction balanced?

I want to balance this fraction \frac{2.5^{13.6}}{100} \sim 2700. Without any modifications, the numerator 2.5 goes too far left and the balance is with the numerator and exponent combined . I tried ...
• 2,025
244 views

### Extra space in fractions

What is the civilized way to modify \frac so that there is a little horizontal padding — using CSS terms — so as to avoid things like which looks like it is going to tip over? One can (use a command ...
292 views

### Adopting a fraction Graph in TikZ

with this MWE \documentclass[letterpaper]{article} \usepackage{amsmath, tikz} \usetikzlibrary{calc} \newcounter{CountOfSections} \newcommand{\fracgraph}[3][1]{% % #1 = optional height \begin{...
• 171
1 vote
69 views

### Fit equation with long fraction in two column setting

I have a an equation with a long fraction and at each derivation step the fraction gets longer and the final fraction looks something like this : \begin{equation*} \begin{split} \frac{\sum_{A} P(Y|...
• 35
76 views

### How to draw an arc beetween two fractions? [duplicate]

I want to mark a fraction, which I shorten, with an arc. Haver anybody an idea how to start? I wish that it looks like the text in the picture. Is there a way to do it?
• 171
203 views

### delimeter not extending enough in relation to the denominator of a major fraction containing itself an extensible delimeter and a minor fraction

I have the following MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} A1 &= \left\{\frac{1}{2\omega} \right. \\ & \enspace \left. \left[\frac{z_{v}^2}{...
• 53
76 views

### Intermediate size between \textstyle and \displaystyle

I am looking for a way to write equations in a paragraph that are bigger than the \textstyle option but smaller than the \displaystyle option. The screenshot below explains what I'm talking about. ...
• 547
47 views

### Attempting to put arrows above equation with fractions - assume no or minimal packages installed

i am attempting to put arrows above and below fractions to help students with addition of fractions - only to be displayed on a web page Something like this This is the code for the fractions: \LARGE ...
• 11
617 views

### Adjusting the height of math floor symbol

Recently I started to play with LaTeX again just to train for when I have to use it again. I like to write mathematical formulas and I am trying to nail down floor and ceil symbols with fractions. ...
• 73
274 views

### Half fraction symbol in the style of pifont's xmark/cmark

As noted in this answer, the pifont package provides a set of dingbats which includes a popular \xmark and \cmark pair as displayed below. \documentclass{article} \usepackage{amssymb}% http://ctan.org/...
• 143
1 vote
56 views

### Trying to vertically 3 align fractions - one has a hidden rule

Im attempting to align the X12 over X12 with the fractions. It looks OK until I make the text LARGE then the vertical alignment is off - I think I need to change the baseline for the X12 over X12 but ...
• 11
1 vote
52 views

### Change spacing in a fraction with parentheses?

I have the exponential function that I wrote as: $$e^{\left(\frac{R_G^2\cdot q^2}{3}\right)}$$ which appears as: and I don't like the spacing in particular the ...
• 13
109 views

• 1,211
155 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,625
1 vote
155 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 ...
• 569
84 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
212 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 ...