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

learn more… | top users | synonyms

0
votes
0answers
16 views

How to change the size of fractions [duplicate]

Here's the code for the query: \documentclass[12pt,twoside]{article} \usepackage{amsmath} \usepackage[makeroom]{cancel} \usepackage{amssymb} \usepackage{amsthm} \usepackage{amsfonts} \begin{document} ...
5
votes
1answer
184 views

\frac not working

I'm new here so bear with me if I don't catch on to something immediately. I'm trying to write some script for some copyediting I'm doing and it automatically converts the code into the format once ...
1
vote
1answer
48 views

How to type the '3/2' in Latex with different height as shown in the picture? [duplicate]

how to type the fraction 3/2 with different height in Latex as show in the picute
0
votes
0answers
44 views

Fraction where both numerator and denominator span multiple lines

I have an equation where both the numerator and denominator span multiple lines in my document, and I'm not sure how to make it look even slightly readable. They look like this (I'm going to make this ...
0
votes
1answer
41 views

word spacing in fraction [duplicate]

I want to have 2 separate words in a fraction (numerator & denominator), however, LaTeX would keep them together with no space. I'm using the amsmath package. And this is the line of the code: ...
1
vote
2answers
44 views

Move horizontal bar in fraction lower

In the picture I have below, the numerator is dense with terms but the denominator only has one term. Thus, it would be nice to shift the horizontal bar lower to save space and look nice. I have no ...
1
vote
0answers
36 views

How do you typeset a fraction of vectors?

I have my latex document setup as follows: % UniversalHyperbolicGeometry.tex \documentclass[12pt]{book} \usepackage{imakeidx} \usepackage{xcolor} \usepackage{setspace} \usepackage{lipsum} ...
1
vote
1answer
36 views

Globally change the size of \frac in align environment

I use the empheq package to display my equations, but I would like to change the size of fractions displayed inside the align or align* environment, from display style to text style. I know I can ...
1
vote
1answer
30 views

How to align column of mixed fractions (after whole number) in tabular?

I have a table that has a column with mixed fractions (that is, whole number plus fraction part) as entries which I need to reproduce in latex. The problem is that the fraction part of the mixed ...
2
votes
0answers
43 views

Latex Fraction Paranthesis/Bracket Format

How would I get the Paranthesis/Bracket to go around the entire fraction, instead of appearing at the height of a normal one
15
votes
5answers
10k views

How to print \frac{1}{2} by a single Unicode character?

I am looking for a command which would print simple fractions like 1/2, 1/3 etc using glyphs available in modern TTF/OTF fonts. Ideally, I want this command to output ordinary \frac{1}{2}, \frac{1}{3} ...
4
votes
3answers
94 views

Nested fraction parenthesis visualisation

Is there a way to adjust the size of the parentheses in such a way that they automatically adjust to the height of the formula? This seems easy but I cannot find anything on this. With \left( .. ...
1
vote
0answers
58 views

Space in fraction

See distance from/to fractionline...How can i lower little bit \partial W? \documentclass[10pt,a4paper]{letter} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} ...
2
votes
0answers
41 views

How to make an extensible double-fraction bar

I want to express a certain kind of quotient with a double-bar. The solution to the question this is a duplicate of (Fraction with doubled line) works for me, but I'd like to tinker with it a bit ...
4
votes
1answer
35 views

Recurring decimal with letter (aligning at top)

A picture is more than 100 words. How do I align the dotts (automatically) and properly at the top? Code currently in use is from here: \documentclass[12pt]{article} %% packages ...
12
votes
6answers
3k views

How to typeset a continued fraction in the following format?

How does one typeset the following continued fraction as shown below? Source: Notes on continued fractions and recurrence sequences by Alfred van der Poorten. Note: Alf van der Poorten's style is ...
3
votes
1answer
51 views

Numerators and denominators in fractions at different height

I'm trying to write a rather lengthy equation with a fraction multiplied by another fraction that has several \left( and \right) brackets. The height of the symbols above the fraction line is two high ...
0
votes
0answers
20 views

Diffrent size of a fraction [duplicate]

Is there someone who can explain me, why the fraction in align-mode looks bigger than the one in the math-mode? I would like to have the same size in both modes, hehe...Thank you! ...
1
vote
1answer
146 views

some text below fraction

I am trying to place some text below the fraction but I am getting the following error: ! Missing $ inserted. $ l.5 ...ac{1}{\alpha_{ideal}}}{\text{\leq r{i-1}} }$ Code: ...
1
vote
0answers
50 views

Numerator of three fractions combining when they shouldn't. Latex

I'm writing a latex thing where three individual fractions are combining numerators I'm presuming because they're all num of 1. for example i want 1/2 (1/5 - 1/4), but it just puts 1 in the ...
8
votes
2answers
169 views

Modifying fraction macro for in-line text and exponents

There's an amazing fraction macro here* for FontSpec with LuaLaTeX (*: that would be the second macro in that answer, called \unifrac, which I like better than the first "macro"/ using the frac ...
4
votes
1answer
38 views

How to get display style in both numerator/denominator in a fraction?

Test code: \documentclass{article} \usepackage[english]{babel} \usepackage{amsmath} \begin{document} \begin{equation} z = \frac{\sum_{i=1}^N{x_i}}{\sum_{i=1}^N{y_i}} \end{equation} \begin{equation} ...
2
votes
1answer
49 views

Mathematical fraction of text descriptions

I know exactly how to generate it, but I want a more efficient way. Anybody can help? \begin{equation} \nonumber n=\frac{\mathrm{maximum \ fraction \ of \ the \ river \ that \ a \ boat \ can ...
3
votes
2answers
111 views

How to get a horizontal line that is aligned at the bottom of a fraction?

$\frac{18e-12}{10}=\rule{5cm}{1pt}$ gives How do I get something that likes this Thanks.
2
votes
1answer
45 views

Fraction As Power: Alignment Problem (With Subscript)

I am trying to write an equation with the following code: \begin{align} p_{e,i}(k)=\frac{4}{b_{i}(k)} \left(1-2^-\frac{b_{i}(k)}{2}\right)Q \left( \sqrt{\frac{3\ ...
2
votes
2answers
206 views

Writing fraction in matrix

I am trying to write a fraction in a matrix. I am doing it using the following code: \[ \begin{bmatrix} \frac{1}{6} & \frac{5}{6} & 0 & 0 \\ 0 & 0 & 1 & 0 \\ ...
2
votes
1answer
54 views

Horizontal spacing for function arguments in fractions

I'm writing with collegues on a document that heavily uses one kind of custom operator (here: a probability density function). We have not decided finally what symbols to use. Consequently, we use a ...
3
votes
3answers
425 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? ...
4
votes
1answer
115 views

How can I improve my partial derivative in latex?

I am writint notes with a lot of partial derivatives. When the function to be differentiated is long the variable am differentiating with respect to (say t), \begin{equation*} \pd[2]{}{t} ...
5
votes
1answer
107 views

Simpler way to add color to equations in math mode?

I was looking for a simpler way to add color to math mode. Specifically, I wanted different parts of an equation to have different colors in order to better correlate with colors in a figure. The ...
2
votes
0answers
49 views

Increase margin between tilde and line of fraction [closed]

I've written a document with some complex formulars in it. I find the distance or the margin between a decoration of a variable, in this case a tilde and the line of the fraction, in which it stands ...
6
votes
2answers
129 views

vertical spacing in nested fraction

I have complicated math expression: Vertical spacing between text and fraction line is too small. I tried to define new \frac command (with amsmath package) with adjustable vertical spaces. As you ...
0
votes
0answers
37 views

Problem with too long numerator/denominator in fraction

I am using Texmaker for a math document. My problem is that sometimes I encounter certain fractions whose numerator or denominator is too long to be accommodated in a single line. Therefore I don't ...
10
votes
1answer
188 views

Correct typesetting of a formula with a long fraction

I have a two-column document and as you can see a long mathematical formula, consisting of a fraction, can't fit in the column width. What I don't know is what is the right way to typeset such kind ...
5
votes
3answers
270 views

Placing the arrow up higher than the fraction bar

I want to have an arrow as the below image upper than the fraction bar and have it cover part of the fraction bar so I can change its position(preferably without appealing to a package). Also is ...
5
votes
4answers
404 views

How can I fix the excessively large subscripts inside a complex nested fraction?

I have an fraction equation; under the denomination, the subscript looks larger than the variables. For example, for a_{GL}, GL looks larger than a. It looks weird. How can I handle this and make the ...
6
votes
2answers
399 views

How to replace all “slash” division expressions with \frac{}{}?

Is there a way to autoreplace .../... with \frac{...}{...}? For example, 143/23 should be rendered as \frac{143}{23}
1
vote
0answers
35 views

Raising denominator up in frac

I want to raise a denominator bit up in \frac{}{} but I cannot do it with \raisebox while I can push it down with it: $\frac{AAAAAAA}{\raisebox{-3mm}{$AAAA$}}$ % pushes down ...
1
vote
1answer
111 views

dfrac no larger than frac

I'm making a compound fraction for a review worksheet. I currently have this: \begin{multicols}{2} \begin{enumerate} \item Simplify \[ \dfrac{\frac{3}{5} + \frac{5}{5x}}{1 - \frac{1}{10x}} \] The ...
1
vote
2answers
109 views

Normal numbers are superscripted when using \fontspec{<font name>}[Fractions=On]

This MWE produces superscripted numbers on my Windows machine. \documentclass{article} \usepackage{fontspec} \begin{document} \noindent \fontspec{Times New Roman}[Fractions=On] Should not be ...
1
vote
1answer
177 views

Why is the space below the numerator different to the space above the denominator?

I've never noticed it before, but LaTeX puts a lot more space between the numerator and the bar than it puts between the bar and the denominator. Now maybe this makes sense for more complicated ...
1
vote
0answers
31 views

Fraction macro in lyx

I want to create a macro for word-like fraction sign in lyx. Namely, when I write 1/2 I want it to be \frac{1}{2} Any Ideas?
25
votes
3answers
9k views

Guidelines for typesetting fractions

I realize that this question is to some extent subjective. However, I suspect that there are some common standards regarding how fractions ought to be typeset in mathematics. The guide Mathematical ...
10
votes
4answers
762 views

TikZ Fill for Fraction Diagram

I'm trying to shade in one third of this circle. Obviously, it's not working. What did I do wrong? I got no error messages for either of my attempts in the code below, but neither filled anything ...
4
votes
2answers
269 views

TikZ: Intersection for Fraction Diagram

I am trying to create fraction diagrams for children using TikZ. Is there an elegant way to fix the top of this diagram of 1/2 in a way that will scale when I want to show, say 29/6 with triangles... ...
4
votes
3answers
309 views

Amplifying fractions

I want to make myself a math portofolio (as a quick reference) and I have a part where I have to 'amplify' a fraction like here: But I don't know how can I do this thing, can you help me? Thank ...
20
votes
3answers
14k views

Smaller fractions in displayed formulae?

How do you make script-sized fractions in display mode? In certain cases, I find that \frac-based fractions are too large for my tastes in displayed formulae. For example, I feel that the fractions ...
2
votes
2answers
168 views

Align numerator and denominator of a fraction

How do I align the numerator and denominator of a fraction? I am looking for something that achieves the following psuedocode: \frac{a^2 & b}{c & d} (The b and d should be aligned ...
4
votes
1answer
901 views

Formatting a fractional exponent in display math

Typographically, what is the correct way to display a fractional exponent in display math mode? There was a post regarding inline math, but consider this example. \documentclass{article} ...
3
votes
2answers
63 views

Display fractional formula nicely

I've tried using the split environment as well as dfrac, however, I can't seem to be able to make this equation look nice at all. \documentclass{article} \usepackage{amsmath} \begin{document} ...