# Tagged Questions

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

18 views

### How can I use a large solidus in a display fraction in LyX?

I would like to use the equivalent of the latex \middle/ in a display equation in LyX. I have a fraction with a large left hand side, and I want the solidus (/) to be automatically sized to match the ...
40 views

### Continued Fraction Expansions

I am a newbie at LaTex. I would like to know how to perform the following on native tex. Pls help me out. Thanks
46 views

### Fraction in \pmod bracket

I want to put a fraction into the \pmod brackets in math mode, i.e \documentclass{article} \usepackage{amsmath} \begin{document} $x\equiv y\pmod{\frac{a}{b}}$ \end{document} However, the ...
196 views

### Using braces with equations - how to make fractional terms 'bigger'

I have some equations which display perfectly until I put them inside a brace and they become 'squashed'. Example: \begin{alignat}{2} u = \frac{\partial\tilde{X}}{\partial x}, v = \frac{\...
56 views

### Substitute \frac for a slash (/) only on inline math mode

I was wondering if there is a way to have LaTeX interpret $\frac{a}{b}$ as $a/b$, but $\frac{a}{b}$ as $\frac{a}{b}$. It is a little tedious to change a inline equation $a/b$ to a display ...
80 views

### How to multiply a fraction

I have an equation in which inside I have a fraction. I want to put a number (3.3) that indicates multiplication. \begin{eqnarray} \phantom{0}LOD = \frac{\phantom{0}S}{N} = 0.1\phantom{0} \si{\ng/\...
172 views

### Fraction at the same height

$$\label{eq:pressure3} \cfrac{P_2}{P_0} = \cfrac{C_2}{C_2 + S^*_2}\cdot\cfrac{C_1}{C_1+S^*_1+\cfrac{C_2 S^*_2}{C_2+S^*_2}}$$ How can I bring the first denominator at the ...
93 views

### Horizontal alignment of numerator and denominator in a \frac expression

I need to typeset the derivative of l by z_a. Normally I would do \frac{\diff l} {\diff z_a} with \newcommand{\diff} {\mathop{}\!\mathrm{d}}. This gives: which does not look very good imho due to ...
64 views

### Large space between fraction bar and numerator containing \sum with subscript in display style

EDIT: I updated the picture to highlight what I meant. Notice the extra space between the two red lines in the left-most fraction. I'm not sure if that extra space was reserved for letters with a ...
37 views

### Make numerator and denominator terms of \frac bigger

Is there a way to make \frac{}{} bigger? By default looks like all equations keep the same size. That means if I write x=\frac{a}{b} x has the right size, while frac is a little bit smaller. I want ...
54 views

### Write in an easy way $\frac{a}{b}$. Shortcuts to output the fractions

Is there any way to create automatically fractions without writing every time \frac{a}{b}. Is there any easy method to write this?
127 views

### Mixed numbers (fractions) with big ''integer part'' size

In some math textbooks for primary level, the mixed numbers are written with the integer almost the same height as the fraction. For example: I want to write in LaTeX mixed numbers like the above ...
29 views

### Change the behavior of subscript \frac in inline math

I am writing a document which contains a lot of half-integer indices. In display mode, x_{i + \frac {1} {2}} looks fine. However, in inline mode, having several x_{i + \frac {1} {2}} messes up the ...
123 views

### Cancel out factorial fractions

I have the following fraction: How can I use a line and cross off the 3, 2, and 1s in the numerator and denominator? I need a line crossing off the 3s in the numerator and denominator - one line. ...
18 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} ...
200 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 ...
58 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
47 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: \...
49 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 ...
46 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} \usepackage[...
37 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 ...
37 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 ...
53 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
11k 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} ...
110 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( .. \...
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} \usepackage{...
54 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 ...
38 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 \usepackage{amsmath,...
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 ...
57 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 ...
21 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! \documentclass[...
157 views

49 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\ b_{i}(k)\gamma_{i}(k)}{2^{...
225 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 \\ ...
75 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 ...
471 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? \begin{...
158 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} \end{...
131 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 ...
68 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 ...
169 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 ...
43 views

### Problem with too long numerator/denominator in fraction [duplicate]

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 ...
191 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 ...
286 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 ...