Questions tagged [fractions]
This tag is for questions regarding the display of fractions and related problems.
25
questions with no upvoted or accepted answers
4
votes
0
answers
114
views
Not usual vertical alignment between \partial symbol and command \frac
Starting from this MWE:
\documentclass[a4paper,12pt]{article}
\usepackage{mathtools,amssymb}
\usepackage{newtxtext}
\usepackage[lite]{mtpro2}
%%%%%%%%%%%%%%%%%%%%%% New \partial
\DeclareFontFamily{U}{...
3
votes
0
answers
2k
views
Vertical Spacing in \frac
So I am using \frac and it looks like the content in my denominator is touching the line, is there any way I can use a simple \vspace to correct the issue? Is there an easy fix or do I have to mess ...
2
votes
0
answers
113
views
More aesthetic norms, absolute values, parentheses, etc
This is nothing too important, and I've decided to make all three questions into one because they are more or less related. Sometimes when I type math equations, I find them not as beautiful as I ...
2
votes
0
answers
2k
views
How can i use subscripts and units with fractional powers in siunitx?
I have the following simple document
\documentclass[a4paper,10pt]{article}
\usepackage{siunitx}
\begin{document}
\si{\metre_{1}\tothe{1/2}}
\bigskip
% \si{\metre_{1}\tothe{-\frac{1}{2}}}
\...
2
votes
0
answers
897
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
2
votes
0
answers
581
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 ...
1
vote
0
answers
92
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 ...
1
vote
0
answers
299
views
How to display UNICODE fraction characters in verbatim?
I have the following snippet in my document, but the ⅔ is not displaying:
\begin{verbatim}
This is not displayed: ⅔
\end{verbatim}
The rendered version looks like this:
Is there any document ...
1
vote
0
answers
141
views
Simplifying fractions in SageTEX
I'm new to SageTex. Here's my code:
\documentclass[10pt]{article}
\usepackage{sagetex}
\begin{document}
\begin{sageblock}
var('a,b')
a = 3
\end{sageblock}\\
$\sage{(a-6)/(b-1)}$
\end{...
1
vote
0
answers
249
views
mathpartir: ottalt puts mathpartir premises each on their own line
I'm using the Ott tool to generate LaTeX for some inference rules in a Programming Language paper. To make the output look good, I'm using the OttAlt library.
OttAlt is based on mathpartir, and one ...
0
votes
0
answers
43
views
amsmath: request improved formatting to display an exponent multiplied by a fractional exponent
The mwe rendering for the distribution of a fractional exponent to a single digit exponent (basically a power to another power) is shown here:
To my eyes, the multiplication in the exponent seems a ...
0
votes
0
answers
27
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=...
0
votes
0
answers
63
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?
\...
0
votes
0
answers
49
views
Vertical spacing in fraction
How can I even out the spacing in these fraction?
\documentclass{article}
\begin{document}
\[\frac{8}{4}\]
\end{document}
0
votes
0
answers
76
views
How to arraystretch in LyX
When I make arrays with fractions in LyX, see picture attached happens, and I do not know how to fix it. For more info see minimal example.
Also, despite doing a minimal amount of searching and ...
0
votes
0
answers
66
views
How to stretch arrays in LyX
When I make arrays in LyX with fractions they always come out overlapping with each other, so I decided to figure out how to prevent that. After some searching I figured out that the two ways is to ...
0
votes
0
answers
222
views
Using amsmath package in elsarticle preprint
I am trying to add a fraction to my manuscript. I am using the elsarticle preprint template. Below you can find the important parts of the preamble. When I put \usepackage{amsmath} directly below \...
0
votes
0
answers
57
views
Problem with displaying brackets in fractions
I need display fraction with multiple levels and brackets in some levels. If i use standart left, right constructions, i have ugly fraction. I have a lot of empty place in brackets. Below you see ...
0
votes
0
answers
216
views
How to display overline above a fraction?
I'd like to add a bar / overline above a fractional statement, such as the one in this image:
I am using tasks package and this inside a \subparagraph inside a \paragraph.I have tried in some manners:...
0
votes
0
answers
32
views
Properly formatting a big fractional equation [Line won't change]
On solving a boundary value problem I have attained two coefficients which are huge even after simplification. I have the Latex code from Mathematica which I tried copy pasting in Overleaf and a ...
0
votes
0
answers
334
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{...
0
votes
0
answers
193
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
$\frac{AAAAAAA}{\...
0
votes
0
answers
691
views
Bad vertical spacing in simple fraction
How can I even out the spacing in these fractions? I have tried \frac vs \dfrac along with \strut and I get similar results:
\[ \bar{x} = \frac{0+1+2+5}{4} = \frac{8}{4} = 2 \]
\[ \bar{x} = \...
0
votes
0
answers
175
views
How do I write the partial derivatives without partitioning?
I have this code:
D_{1}\equiv - \frac{\partial^2 EU }{\partial \alpha \partial \widebar{d}}
which yields
I want to write this expression differently. Like this for example
0
votes
0
answers
262
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.