This tag is for questions regarding the display of fractions and related problems.
9
votes
2answers
331 views
How do I typeset continued fractions in Pringsheim's concise notation?
I would like to obtain the following formatting so as to write continued fractions in my equations without wasting vertical space.
What I need is one command named \cFrac which writes one fraction ...
35
votes
2answers
683 views
Improved kerning in fractions?
Question
How can I apply selective kerning within the numerator and denominator of an inline fraction? Specifically, I'd like to:
Tighten kerning after the numerator if it ends in 7
Loosen kerning ...
26
votes
5answers
1k views
How do I typeset arbitrary fractions like the standard symbol for .5 = ½?
I know I've seen somewhere how to typeset 1/2 as ½, but with arbitrary fractions (that is, a macro that takes two arguments and makes the first denominator and the second numerator...). Now I can't ...
6
votes
1answer
294 views
Automatically add fractions and reduce the result (if neccessary)
I'm trying to figure out how to reduce fractions. Adding fractions is no problem, see this example:
\documentclass[parskip]{scrartcl}
\usepackage[margin=15mm]{geometry}
\usepackage{tikz}
...
5
votes
2answers
156 views
how to lower last term in a continued fraction after a diagonal row of dots?
How can I lower the last term of a continued fraction when it follows a diagonal row of dots?
35
votes
3answers
3k views
What is the difference between \over and \frac?
What is the difference between
{some-expression}\over{another-expression}
and
\frac{some-expression}{another-expression}
?
Which is preferable?
4
votes
4answers
388 views
\frac{1-z^{n+1}}{1-z} doesn't look very good and how to leave space equal to the size of a given text
When we write it by hand we usually align the 1's in numerator and denominator. Should I change it manually, i.e. defining a command for typing the sum of the geometric progression or is there a ...
8
votes
1answer
214 views
How to improve the looks of a fraction?
We may notice that the numerator and denominator in the following fraction are not aligned. And, to me it does not look good.
How to align the numerator and denominator?
\documentclass{article}
...
8
votes
4answers
258 views
Align denominator of fraction to left
The highlighted part has the equation centred, which looks rather imbalance with the top equation, is it possible to align the highlighted part to the left?
Below is the code I am using.
...
3
votes
1answer
123 views
Use catcode for alternative way of writing fractions
Writing fractions using different syntax would sometimes be useful, instead of using \frac{ab}{cd}, I would prefer to write something like
\frac{ab⌂cd}
where the Unicode ⌂ is the }{.
n.b., I don't ...
5
votes
1answer
161 views
how to place text on fraction for accounting formulas?
Sorry for the bad grammar. English is not my native language.
I want to have text on a fraction type line to show up in an accounting formula, here's an example of what I want:
So, I've tried ...
5
votes
1answer
399 views
How to make slash (/) paste with correct Unicode codepoint depending on context?
Unicode offers different characters for the slash:
U+002F (/) for the ordinary slash
U+2215 (∕) for the mathematical division operator
U+2044 (⁄) to designate vulgar fractions
How can I have these ...
4
votes
1answer
482 views
Fraction in Superscript
\documentclass[a4paper]{article}
\usepackage{amsmath}
\usepackage{fontspec}
\setmainfont[Script=Devanagari]{Sanskrit 2003}
\newcommand\sufr[2]{\textsuperscript{$\frac{#1}{#2}$}}
\begin{document}
...
7
votes
2answers
198 views
How to stop fractions in display equations from running into each other?
Is there some standard way to create multiple display equations like the following
without having to use:
\renewcommand*{\arraystretch}{2} (so that the two rows in the second equation don't get ...
7
votes
2answers
744 views
Please critique this “intermediate size” fraction macro.
I often write a lot of mathematics where I multiply various quantities/operators/etc. by fractions. The fractions are important for bookkeeping, but usually not the most important thing in the ...
6
votes
1answer
294 views
Dashed draw with a node including a fraction
Is this intended behavior (with plain XeTeX):
\input tikz
\tikz\draw[dashed] node {$3T\over4$};
\bye
It renders as: !?
The fraction line is dashed, too! Is this intentional? Is there something I ...
5
votes
3answers
264 views
Define my own xfrac command?
Is it possible to create my own xfrac command - without using that package (it is giving me too much trouble)? I know you can do superscript, subscript to make a fraction look.
Can I do something ...
3
votes
4answers
214 views
Subscripts in partial derivatives
I would like to print the partial derivative operator $\frac{\partial}{\partial k_x}$, but the spacing and the length of the bar bug me a little. I would really like the fraction to be typeset as ...
3
votes
1answer
118 views
Fraction whose items are words
I have troubles writing a fraction whose items are words not numbers.
In a nutshell I should write:
minaccia/vulnerabilità --> this is the numerator
----------------------
contromisure ...
2
votes
0answers
126 views
How to typeset a continued fraction in the following style? [duplicate]
Possible Duplicate:
How do I typeset continued fractions in Pringsheim's concise notation?
How to type a continued fraction in displaystyle as shown below?
Source: Fischler, Stéfane, ...