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

learn more… | top users | synonyms

2
votes
2answers
264 views

Improve a fraction's appearance

I am using \documentclass[a4paper,11pt]{article} \usepackage{kerkis} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{amsthm} \begin{document} \begin{equation} ...
2
votes
1answer
2k views

Fractions with `\dfrac` cause compile error

I'm new to LyX. I'm writing my next homework with it to give it a try. My example code is below: % Preview source code %% LyX 2.0.5.1 created this file. For more info, see http://www.lyx.org/. %% ...
2
votes
2answers
982 views

Line spacing with inline formula including fraction

I have a fraction in an inline formula as can be seen in the picture. \dfrac from the amsmath package was used. (This is article class with 14pts and linespread 0.9.) Though the space between the ...
2
votes
2answers
183 views

Can I not use the align & operator within a \frac?

This code is causing LaTeX to throw an error: Missing } inserted. It appears to be because I put a & inside a \frac command (on line 4). I feel as though it should be possible to accomplish my ...
2
votes
1answer
52 views

typing a straightline next to a dfrac? [duplicate]

I would like to type how do I do it? Thanks!
2
votes
0answers
35 views

In the output the denominator appears in front of the fraction [duplicate]

Command \frac works in strange way: Any suggestions? \documentclass{report} \usepackage{polski} \usepackage[cp1250]{inputenc} \usepackage{graphicx} \begin{document} \setcounter{secnumdepth}{3} ...
2
votes
1answer
386 views

Compound fractions (i.e., “mixed numbers”) look bad in displaystyle

I find that in display mode, fractions that represent simple rational numbers look way too big. For instance, consider this case: $$ a = \frac12(b+c) $$ The fraction gets inordinately large ...
2
votes
0answers
131 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, ...
1
vote
2answers
758 views

How can I embed \lvert and \rvert into the numerator ?

How can I embed \lvert and \rvert into the numerator? $1 - \frac{ \lvert 1 - t_2 \rvert}{y}$ The above line gives Undefined control sequence error.
1
vote
3answers
201 views

Fraction in brackets

I want to have a fraction in brackets. Something like: $${\log C \brack \log 2}$$, but with the line in the middle. I know this possibility: $$\left[\frac{\log C}{\log 2}\right]$$. Nonetheless, does ...
1
vote
1answer
174 views

Unsqueeze the fraction

For the LaTeX code below, \begin{equation} Fitness(\CS)= \begin{cases} 0.5 + 0.5 \cdot G(\CS) & if\ V(\CS)=0 \\ 0.5\cdot G(\CS)-\frac{V(\CS)}{V_{Tot}(\CS)} & ...
1
vote
1answer
186 views

Using \sqrt in the denominator of the \frac command [closed]

Below is the following code that I am trying to use in math mode. When I do this it distorts the sqrt line and blends into the fraction line. z=$\frac{ Estimate_{t} - Estimate_{t-1}} \sqrt{Var_{t} + ...
1
vote
1answer
3k views

How can I write a latex fraction without a bar? [duplicate]

Possible Duplicate: Separate long math text under sum symbol into different lines? I'm trying to write a math formula like this: \sum_{ \frac{n=0}{(n+k-i) \text{~even}} }^{k-i} This ...
1
vote
1answer
322 views

Bold fraction line

I would like to use a "bold style" for the fraction line in a math formula. I've seen it in some PDFs, but I do not know the proper command.
1
vote
1answer
34 views

Sequential \frac that aren't nested [duplicate]

I'm new to Latex and am having trouble troubleshooting an equation that I can't get to display correctly. The equation I am trying to create in Latex is: ...but I keep getting nested fractions ...
1
vote
1answer
125 views

Ways to show fractions

As I use TexMaths in LibreOffice and it has a problem with \frac and \over; are there other ways to show fractions in Tex? In LibreOffice with \frac the line is not shown:
1
vote
0answers
39 views

Spacing of fractions in TeX Gyre Pagella Math

Using TeX Gyre Pagella Math with xelatex, some objects like \frac12 just seem way too large compared to the rest of the equations. Have a look: In the first line, the numerator looks like it's ...
1
vote
0answers
68 views

Slanted fractions

I'm trying to develop a command to typeset slanted fractions. I know about nicefrac and xfrac packages, have tried both, and disliked both. At the moment, in text mode I use \nicefrac with a bit of ...
1
vote
2answers
163 views

Problems with fractions in a square root [closed]

whenever i have a fraction inside a square root, the square root symbol drops down below the line and intercepts whatever is on the next line. I think the package savetrees may be causing the ...
1
vote
0answers
52 views

Token not allowed in a PDF string: hyperref warning affecting the bookmarks in the PDF [duplicate]

I have written a text in documentclass book and I have quite a lot of maths into subsections titles. These titles are of course correctly rendered in the pdf page but are not in the bookmarks: for ...
1
vote
1answer
107 views

How to avoid a continuous fraction line going through the equals sign in MathJaX? [closed]

When I use Math.SE, and I type a equation such as: I get this continuous line. Is there a way to avoid this?
1
vote
0answers
121 views

How to keep alignment consistent with non-LaTeX contents? [closed]

I am using "almost LaTeX" from the JetPack plugin for my WordPress blog where I post course work. How do I get the generated formulae to centre on the line so the equals sign lines up with the normal ...
0
votes
1answer
28 views

`\center` and size of `\frac` in my code

\documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{fullpage} \usepackage{secdot} \usepackage{setspace} \setlength\parindent{0pt} \title{\vspace{-3em} Quantum Mechanics} ...
0
votes
1answer
68 views

Multline & Splitfrac

\documentclass{article} \usepackage{amsmath} \usepackage{mathtools} \begin{document} \begin{multline*} -\dfrac{1}{64\pi^2} \left[ \dfrac{ \splitfrac{ ...
0
votes
2answers
155 views

How to control the font size in complex fractions? [duplicate]

I am writing an equation and for part of that, I have the following fraction: \begin{eqnarray} \frac{u_{fe}\frac{\frac{u_{i,j,k}^n+u_{i,j,k}^{*}}{2}+ \frac{u_{i+1,j,k}^n+u_{i+1,j,k}^{*}}{2}}{2}- ...
0
votes
1answer
2k views

Using \frac within tabular [duplicate]

Possible Duplicate: Using \frac within a table I'm trying to do that within CodeCogs renderer, but it don't work: \begin{tabular}{cc} \hline \frac{x}{2} & \frac{2}{x} \\ \hline ...