Increase the space between numerator and denominatorReformat frac depending on numerator/denominator size differenceAligned numerator and denominator in frac or any other variantequal size numerator and denominatorfrac command: height of the numerator vs height of denominatorthe numerator and denominator is not aligned well?Numbers are very small in numerator and denominator using fracAlign numerator and denominator of a fractionWhy is the space below the numerator different to the space above the denominator?Horizontal alignment of numerator and denominator in a frac expressionEqual space between numerator and denominator in fraction

The (Easy) Road to Code

Is it a Cyclops number? "Nobody" knows!

Vector-transposing function

How do you use environments that have the same name within a single latex document?

Paper published similar to PhD thesis

direct sum of representation of product groups

Does an unused member variable take up memory?

How can I have x-axis ticks that show ticks scaled in powers of ten?

Short SF story. Females use stingers to implant eggs in yearfathers

What is Tony Stark injecting into himself in Iron Man 3?

Is there a math expression equivalent to the conditional ternary operator?

What exactly is the meaning of "fine wine"?

Why does a car's steering wheel get lighter with increasing speed

Why does this boat have a landing pad? (SpaceX's GO Searcher) Any plans for propulsive capsule landings?

Is this Paypal Github SDK reference really a dangerous site?

What does it take to become a wilderness skills guide as a business?

How to distinguish easily different soldier of ww2?

Will the concrete slab in a partially heated shed conduct a lot of heat to the unconditioned area?

Can I negotiate a patent idea for a raise, under French law?

What is the oldest European royal house?

How to install "rounded" brake pads

PTIJ: Sport in the Torah

Is it appropriate to ask a former professor to order a library book for me through ILL?

Is the differential, dp, exact or not?



Increase the space between numerator and denominator


Reformat frac depending on numerator/denominator size differenceAligned numerator and denominator in frac or any other variantequal size numerator and denominatorfrac command: height of the numerator vs height of denominatorthe numerator and denominator is not aligned well?Numbers are very small in numerator and denominator using fracAlign numerator and denominator of a fractionWhy is the space below the numerator different to the space above the denominator?Horizontal alignment of numerator and denominator in a frac expressionEqual space between numerator and denominator in fraction













4















I have created two fractions (see example below), but the denominator is a little too close to the division bar. Can I change this somehow?



documentclassarticle
usepackageamsmath

begindocument
Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2, sigma_2^2$ yields a new Gaussian with mean $mu = fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 = frac1frac1sigma_1^2 + frac1sigma_2^2$
enddocument









share|improve this question

















  • 3





    Use dfrac instead of frac.

    – JouleV
    19 hours ago











  • You could add a vphantom command (for examle vphantomA^A^A) in the beginning of each problematic dominator, and keep the style as inline math.

    – koleygr
    19 hours ago
















4















I have created two fractions (see example below), but the denominator is a little too close to the division bar. Can I change this somehow?



documentclassarticle
usepackageamsmath

begindocument
Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2, sigma_2^2$ yields a new Gaussian with mean $mu = fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 = frac1frac1sigma_1^2 + frac1sigma_2^2$
enddocument









share|improve this question

















  • 3





    Use dfrac instead of frac.

    – JouleV
    19 hours ago











  • You could add a vphantom command (for examle vphantomA^A^A) in the beginning of each problematic dominator, and keep the style as inline math.

    – koleygr
    19 hours ago














4












4








4








I have created two fractions (see example below), but the denominator is a little too close to the division bar. Can I change this somehow?



documentclassarticle
usepackageamsmath

begindocument
Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2, sigma_2^2$ yields a new Gaussian with mean $mu = fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 = frac1frac1sigma_1^2 + frac1sigma_2^2$
enddocument









share|improve this question














I have created two fractions (see example below), but the denominator is a little too close to the division bar. Can I change this somehow?



documentclassarticle
usepackageamsmath

begindocument
Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2, sigma_2^2$ yields a new Gaussian with mean $mu = fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 = frac1frac1sigma_1^2 + frac1sigma_2^2$
enddocument






fractions






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 19 hours ago









user503842user503842

1136




1136







  • 3





    Use dfrac instead of frac.

    – JouleV
    19 hours ago











  • You could add a vphantom command (for examle vphantomA^A^A) in the beginning of each problematic dominator, and keep the style as inline math.

    – koleygr
    19 hours ago













  • 3





    Use dfrac instead of frac.

    – JouleV
    19 hours ago











  • You could add a vphantom command (for examle vphantomA^A^A) in the beginning of each problematic dominator, and keep the style as inline math.

    – koleygr
    19 hours ago








3




3





Use dfrac instead of frac.

– JouleV
19 hours ago





Use dfrac instead of frac.

– JouleV
19 hours ago













You could add a vphantom command (for examle vphantomA^A^A) in the beginning of each problematic dominator, and keep the style as inline math.

– koleygr
19 hours ago






You could add a vphantom command (for examle vphantomA^A^A) in the beginning of each problematic dominator, and keep the style as inline math.

– koleygr
19 hours ago











2 Answers
2






active

oldest

votes


















6














You have two main options:



  • Switch from frac......-notation to inline-fraction notation


  • Switch to display math to typeset the formulas for mu and sigma^2.


enter image description here



documentclassarticle
usepackageamsmath % for "text" macro
begindocument

noindent
1. OP's original version:

Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2, sigma_2^2$ yields a new Gaussian with mean $mu = fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 = frac1frac1sigma_1^2 + frac1sigma_2^2$.

medskipnoindent
2. Partial switch to inline-math notation

Combining two Gaussians with mean $mu_1, mu_2$ and variance
$sigma_1^2, sigma_2^2$ yields a new Gaussian with mean
$mu = fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2$
and variance $sigma^2 = frac11/sigma_1^2 + 1/sigma_2^2$.

medskipnoindent
3. Full switch to inline math notation

Combining two Gaussians with means $mu_1$ and $mu_2$ and
variances $sigma_1^2$ and $sigma_2^2$ yields a new Gaussian
with mean $mu = (sigma_2^2 mu_1 + sigma_1^2 mu_2)/(sigma_1^2 +
sigma_2^2)$ and variance $sigma^2 = 1/(1/sigma_1^2 + 1/sigma_2^2)$.

medskipnoindent
4. Switch to display math

Combining two Gaussians with means $mu_1$ and $mu_2$ and
variances $sigma_1^2$ and $sigma_2^2$ yields a new Gaussian
with mean $mu$ and variance $sigma^2$ given by
[
mu=fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2
quadtextandquad
sigma^2 = frac11/sigma_1^2 + 1/sigma_2^2,.
]

enddocument





share|improve this answer

























  • everymathdisplaystyle would be an additional option (Just in case that the document can afford such thing.) Of course I would not use it often, but have used in special cases that looked ok. (+1)

    – koleygr
    18 hours ago







  • 1





    @koleygr - Unless the paragraph in question is double-spaced (and hence already damaged beyond repair, typographically speaking), typesetting a dfrac expression in running text must surely be a high crime against all known forms of decent typography. :-) If you doubt this claim, just look at the outputs of Sebastiano's and Steven's solutions...

    – Mico
    18 hours ago






  • 1





    Thanks for the info, I also didn't like these kind of solutions but just added the comment in order to propose a more general answer for every case. But of course you are right!

    – koleygr
    18 hours ago






  • 1





    went for the last option. Thx, Mico!

    – user503842
    18 hours ago


















4














Here, I preserve the fraction in its native textstyle, but add a (default) 1pt buffer above and below the numerator and denominator of each fraction, which can be changed with an optional argument. I call it qfrac[]. The MWE shows before and after.



documentclassarticle
usepackagestackengine,scalerel
stackMath
newcommandqfrac[3][1pt]frac%
ThisStyleaddstackgap[#1]SavedStyle#2%
ThisStyleaddstackgap[#1]SavedStyle#3%

usepackageamsmath

begindocument
Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2,
sigma_2^2$ yields a new Gaussian with mean $mu = fracsigma_2^2 mu_1 +
sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 =
frac1frac1sigma_1^2 + frac1sigma_2^2$

Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2,
sigma_2^2$ yields a new Gaussian with mean $mu = qfracsigma_2^2 mu_1 +
sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 =
qfrac[.5pt]1qfrac1sigma_1^2 + qfrac1sigma_2^2$
enddocument


enter image description here






share|improve this answer




















  • 1





    (+1)... I would add your "1pt" inside an extra optional argument of the command.

    – koleygr
    19 hours ago











  • @koleygr Excellent idea. Thanks

    – Steven B. Segletes
    19 hours ago












  • Nice answer... Straightforward to the OP's problem. Welcome.

    – koleygr
    18 hours ago











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f478396%2fincrease-the-space-between-numerator-and-denominator%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









6














You have two main options:



  • Switch from frac......-notation to inline-fraction notation


  • Switch to display math to typeset the formulas for mu and sigma^2.


enter image description here



documentclassarticle
usepackageamsmath % for "text" macro
begindocument

noindent
1. OP's original version:

Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2, sigma_2^2$ yields a new Gaussian with mean $mu = fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 = frac1frac1sigma_1^2 + frac1sigma_2^2$.

medskipnoindent
2. Partial switch to inline-math notation

Combining two Gaussians with mean $mu_1, mu_2$ and variance
$sigma_1^2, sigma_2^2$ yields a new Gaussian with mean
$mu = fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2$
and variance $sigma^2 = frac11/sigma_1^2 + 1/sigma_2^2$.

medskipnoindent
3. Full switch to inline math notation

Combining two Gaussians with means $mu_1$ and $mu_2$ and
variances $sigma_1^2$ and $sigma_2^2$ yields a new Gaussian
with mean $mu = (sigma_2^2 mu_1 + sigma_1^2 mu_2)/(sigma_1^2 +
sigma_2^2)$ and variance $sigma^2 = 1/(1/sigma_1^2 + 1/sigma_2^2)$.

medskipnoindent
4. Switch to display math

Combining two Gaussians with means $mu_1$ and $mu_2$ and
variances $sigma_1^2$ and $sigma_2^2$ yields a new Gaussian
with mean $mu$ and variance $sigma^2$ given by
[
mu=fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2
quadtextandquad
sigma^2 = frac11/sigma_1^2 + 1/sigma_2^2,.
]

enddocument





share|improve this answer

























  • everymathdisplaystyle would be an additional option (Just in case that the document can afford such thing.) Of course I would not use it often, but have used in special cases that looked ok. (+1)

    – koleygr
    18 hours ago







  • 1





    @koleygr - Unless the paragraph in question is double-spaced (and hence already damaged beyond repair, typographically speaking), typesetting a dfrac expression in running text must surely be a high crime against all known forms of decent typography. :-) If you doubt this claim, just look at the outputs of Sebastiano's and Steven's solutions...

    – Mico
    18 hours ago






  • 1





    Thanks for the info, I also didn't like these kind of solutions but just added the comment in order to propose a more general answer for every case. But of course you are right!

    – koleygr
    18 hours ago






  • 1





    went for the last option. Thx, Mico!

    – user503842
    18 hours ago















6














You have two main options:



  • Switch from frac......-notation to inline-fraction notation


  • Switch to display math to typeset the formulas for mu and sigma^2.


enter image description here



documentclassarticle
usepackageamsmath % for "text" macro
begindocument

noindent
1. OP's original version:

Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2, sigma_2^2$ yields a new Gaussian with mean $mu = fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 = frac1frac1sigma_1^2 + frac1sigma_2^2$.

medskipnoindent
2. Partial switch to inline-math notation

Combining two Gaussians with mean $mu_1, mu_2$ and variance
$sigma_1^2, sigma_2^2$ yields a new Gaussian with mean
$mu = fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2$
and variance $sigma^2 = frac11/sigma_1^2 + 1/sigma_2^2$.

medskipnoindent
3. Full switch to inline math notation

Combining two Gaussians with means $mu_1$ and $mu_2$ and
variances $sigma_1^2$ and $sigma_2^2$ yields a new Gaussian
with mean $mu = (sigma_2^2 mu_1 + sigma_1^2 mu_2)/(sigma_1^2 +
sigma_2^2)$ and variance $sigma^2 = 1/(1/sigma_1^2 + 1/sigma_2^2)$.

medskipnoindent
4. Switch to display math

Combining two Gaussians with means $mu_1$ and $mu_2$ and
variances $sigma_1^2$ and $sigma_2^2$ yields a new Gaussian
with mean $mu$ and variance $sigma^2$ given by
[
mu=fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2
quadtextandquad
sigma^2 = frac11/sigma_1^2 + 1/sigma_2^2,.
]

enddocument





share|improve this answer

























  • everymathdisplaystyle would be an additional option (Just in case that the document can afford such thing.) Of course I would not use it often, but have used in special cases that looked ok. (+1)

    – koleygr
    18 hours ago







  • 1





    @koleygr - Unless the paragraph in question is double-spaced (and hence already damaged beyond repair, typographically speaking), typesetting a dfrac expression in running text must surely be a high crime against all known forms of decent typography. :-) If you doubt this claim, just look at the outputs of Sebastiano's and Steven's solutions...

    – Mico
    18 hours ago






  • 1





    Thanks for the info, I also didn't like these kind of solutions but just added the comment in order to propose a more general answer for every case. But of course you are right!

    – koleygr
    18 hours ago






  • 1





    went for the last option. Thx, Mico!

    – user503842
    18 hours ago













6












6








6







You have two main options:



  • Switch from frac......-notation to inline-fraction notation


  • Switch to display math to typeset the formulas for mu and sigma^2.


enter image description here



documentclassarticle
usepackageamsmath % for "text" macro
begindocument

noindent
1. OP's original version:

Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2, sigma_2^2$ yields a new Gaussian with mean $mu = fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 = frac1frac1sigma_1^2 + frac1sigma_2^2$.

medskipnoindent
2. Partial switch to inline-math notation

Combining two Gaussians with mean $mu_1, mu_2$ and variance
$sigma_1^2, sigma_2^2$ yields a new Gaussian with mean
$mu = fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2$
and variance $sigma^2 = frac11/sigma_1^2 + 1/sigma_2^2$.

medskipnoindent
3. Full switch to inline math notation

Combining two Gaussians with means $mu_1$ and $mu_2$ and
variances $sigma_1^2$ and $sigma_2^2$ yields a new Gaussian
with mean $mu = (sigma_2^2 mu_1 + sigma_1^2 mu_2)/(sigma_1^2 +
sigma_2^2)$ and variance $sigma^2 = 1/(1/sigma_1^2 + 1/sigma_2^2)$.

medskipnoindent
4. Switch to display math

Combining two Gaussians with means $mu_1$ and $mu_2$ and
variances $sigma_1^2$ and $sigma_2^2$ yields a new Gaussian
with mean $mu$ and variance $sigma^2$ given by
[
mu=fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2
quadtextandquad
sigma^2 = frac11/sigma_1^2 + 1/sigma_2^2,.
]

enddocument





share|improve this answer















You have two main options:



  • Switch from frac......-notation to inline-fraction notation


  • Switch to display math to typeset the formulas for mu and sigma^2.


enter image description here



documentclassarticle
usepackageamsmath % for "text" macro
begindocument

noindent
1. OP's original version:

Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2, sigma_2^2$ yields a new Gaussian with mean $mu = fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 = frac1frac1sigma_1^2 + frac1sigma_2^2$.

medskipnoindent
2. Partial switch to inline-math notation

Combining two Gaussians with mean $mu_1, mu_2$ and variance
$sigma_1^2, sigma_2^2$ yields a new Gaussian with mean
$mu = fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2$
and variance $sigma^2 = frac11/sigma_1^2 + 1/sigma_2^2$.

medskipnoindent
3. Full switch to inline math notation

Combining two Gaussians with means $mu_1$ and $mu_2$ and
variances $sigma_1^2$ and $sigma_2^2$ yields a new Gaussian
with mean $mu = (sigma_2^2 mu_1 + sigma_1^2 mu_2)/(sigma_1^2 +
sigma_2^2)$ and variance $sigma^2 = 1/(1/sigma_1^2 + 1/sigma_2^2)$.

medskipnoindent
4. Switch to display math

Combining two Gaussians with means $mu_1$ and $mu_2$ and
variances $sigma_1^2$ and $sigma_2^2$ yields a new Gaussian
with mean $mu$ and variance $sigma^2$ given by
[
mu=fracsigma_2^2 mu_1 + sigma_1^2 mu_2sigma_1^2 + sigma_2^2
quadtextandquad
sigma^2 = frac11/sigma_1^2 + 1/sigma_2^2,.
]

enddocument






share|improve this answer














share|improve this answer



share|improve this answer








edited 7 hours ago

























answered 19 hours ago









MicoMico

282k31385774




282k31385774












  • everymathdisplaystyle would be an additional option (Just in case that the document can afford such thing.) Of course I would not use it often, but have used in special cases that looked ok. (+1)

    – koleygr
    18 hours ago







  • 1





    @koleygr - Unless the paragraph in question is double-spaced (and hence already damaged beyond repair, typographically speaking), typesetting a dfrac expression in running text must surely be a high crime against all known forms of decent typography. :-) If you doubt this claim, just look at the outputs of Sebastiano's and Steven's solutions...

    – Mico
    18 hours ago






  • 1





    Thanks for the info, I also didn't like these kind of solutions but just added the comment in order to propose a more general answer for every case. But of course you are right!

    – koleygr
    18 hours ago






  • 1





    went for the last option. Thx, Mico!

    – user503842
    18 hours ago

















  • everymathdisplaystyle would be an additional option (Just in case that the document can afford such thing.) Of course I would not use it often, but have used in special cases that looked ok. (+1)

    – koleygr
    18 hours ago







  • 1





    @koleygr - Unless the paragraph in question is double-spaced (and hence already damaged beyond repair, typographically speaking), typesetting a dfrac expression in running text must surely be a high crime against all known forms of decent typography. :-) If you doubt this claim, just look at the outputs of Sebastiano's and Steven's solutions...

    – Mico
    18 hours ago






  • 1





    Thanks for the info, I also didn't like these kind of solutions but just added the comment in order to propose a more general answer for every case. But of course you are right!

    – koleygr
    18 hours ago






  • 1





    went for the last option. Thx, Mico!

    – user503842
    18 hours ago
















everymathdisplaystyle would be an additional option (Just in case that the document can afford such thing.) Of course I would not use it often, but have used in special cases that looked ok. (+1)

– koleygr
18 hours ago






everymathdisplaystyle would be an additional option (Just in case that the document can afford such thing.) Of course I would not use it often, but have used in special cases that looked ok. (+1)

– koleygr
18 hours ago





1




1





@koleygr - Unless the paragraph in question is double-spaced (and hence already damaged beyond repair, typographically speaking), typesetting a dfrac expression in running text must surely be a high crime against all known forms of decent typography. :-) If you doubt this claim, just look at the outputs of Sebastiano's and Steven's solutions...

– Mico
18 hours ago





@koleygr - Unless the paragraph in question is double-spaced (and hence already damaged beyond repair, typographically speaking), typesetting a dfrac expression in running text must surely be a high crime against all known forms of decent typography. :-) If you doubt this claim, just look at the outputs of Sebastiano's and Steven's solutions...

– Mico
18 hours ago




1




1





Thanks for the info, I also didn't like these kind of solutions but just added the comment in order to propose a more general answer for every case. But of course you are right!

– koleygr
18 hours ago





Thanks for the info, I also didn't like these kind of solutions but just added the comment in order to propose a more general answer for every case. But of course you are right!

– koleygr
18 hours ago




1




1





went for the last option. Thx, Mico!

– user503842
18 hours ago





went for the last option. Thx, Mico!

– user503842
18 hours ago











4














Here, I preserve the fraction in its native textstyle, but add a (default) 1pt buffer above and below the numerator and denominator of each fraction, which can be changed with an optional argument. I call it qfrac[]. The MWE shows before and after.



documentclassarticle
usepackagestackengine,scalerel
stackMath
newcommandqfrac[3][1pt]frac%
ThisStyleaddstackgap[#1]SavedStyle#2%
ThisStyleaddstackgap[#1]SavedStyle#3%

usepackageamsmath

begindocument
Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2,
sigma_2^2$ yields a new Gaussian with mean $mu = fracsigma_2^2 mu_1 +
sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 =
frac1frac1sigma_1^2 + frac1sigma_2^2$

Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2,
sigma_2^2$ yields a new Gaussian with mean $mu = qfracsigma_2^2 mu_1 +
sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 =
qfrac[.5pt]1qfrac1sigma_1^2 + qfrac1sigma_2^2$
enddocument


enter image description here






share|improve this answer




















  • 1





    (+1)... I would add your "1pt" inside an extra optional argument of the command.

    – koleygr
    19 hours ago











  • @koleygr Excellent idea. Thanks

    – Steven B. Segletes
    19 hours ago












  • Nice answer... Straightforward to the OP's problem. Welcome.

    – koleygr
    18 hours ago
















4














Here, I preserve the fraction in its native textstyle, but add a (default) 1pt buffer above and below the numerator and denominator of each fraction, which can be changed with an optional argument. I call it qfrac[]. The MWE shows before and after.



documentclassarticle
usepackagestackengine,scalerel
stackMath
newcommandqfrac[3][1pt]frac%
ThisStyleaddstackgap[#1]SavedStyle#2%
ThisStyleaddstackgap[#1]SavedStyle#3%

usepackageamsmath

begindocument
Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2,
sigma_2^2$ yields a new Gaussian with mean $mu = fracsigma_2^2 mu_1 +
sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 =
frac1frac1sigma_1^2 + frac1sigma_2^2$

Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2,
sigma_2^2$ yields a new Gaussian with mean $mu = qfracsigma_2^2 mu_1 +
sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 =
qfrac[.5pt]1qfrac1sigma_1^2 + qfrac1sigma_2^2$
enddocument


enter image description here






share|improve this answer




















  • 1





    (+1)... I would add your "1pt" inside an extra optional argument of the command.

    – koleygr
    19 hours ago











  • @koleygr Excellent idea. Thanks

    – Steven B. Segletes
    19 hours ago












  • Nice answer... Straightforward to the OP's problem. Welcome.

    – koleygr
    18 hours ago














4












4








4







Here, I preserve the fraction in its native textstyle, but add a (default) 1pt buffer above and below the numerator and denominator of each fraction, which can be changed with an optional argument. I call it qfrac[]. The MWE shows before and after.



documentclassarticle
usepackagestackengine,scalerel
stackMath
newcommandqfrac[3][1pt]frac%
ThisStyleaddstackgap[#1]SavedStyle#2%
ThisStyleaddstackgap[#1]SavedStyle#3%

usepackageamsmath

begindocument
Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2,
sigma_2^2$ yields a new Gaussian with mean $mu = fracsigma_2^2 mu_1 +
sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 =
frac1frac1sigma_1^2 + frac1sigma_2^2$

Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2,
sigma_2^2$ yields a new Gaussian with mean $mu = qfracsigma_2^2 mu_1 +
sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 =
qfrac[.5pt]1qfrac1sigma_1^2 + qfrac1sigma_2^2$
enddocument


enter image description here






share|improve this answer















Here, I preserve the fraction in its native textstyle, but add a (default) 1pt buffer above and below the numerator and denominator of each fraction, which can be changed with an optional argument. I call it qfrac[]. The MWE shows before and after.



documentclassarticle
usepackagestackengine,scalerel
stackMath
newcommandqfrac[3][1pt]frac%
ThisStyleaddstackgap[#1]SavedStyle#2%
ThisStyleaddstackgap[#1]SavedStyle#3%

usepackageamsmath

begindocument
Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2,
sigma_2^2$ yields a new Gaussian with mean $mu = fracsigma_2^2 mu_1 +
sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 =
frac1frac1sigma_1^2 + frac1sigma_2^2$

Combining two Gaussians with mean $mu_1, mu_2$ and variance $sigma_1^2,
sigma_2^2$ yields a new Gaussian with mean $mu = qfracsigma_2^2 mu_1 +
sigma_1^2 mu_2sigma_1^2 + sigma_2^2$ and variance $sigma^2 =
qfrac[.5pt]1qfrac1sigma_1^2 + qfrac1sigma_2^2$
enddocument


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited 18 hours ago

























answered 19 hours ago









Steven B. SegletesSteven B. Segletes

157k9204411




157k9204411







  • 1





    (+1)... I would add your "1pt" inside an extra optional argument of the command.

    – koleygr
    19 hours ago











  • @koleygr Excellent idea. Thanks

    – Steven B. Segletes
    19 hours ago












  • Nice answer... Straightforward to the OP's problem. Welcome.

    – koleygr
    18 hours ago













  • 1





    (+1)... I would add your "1pt" inside an extra optional argument of the command.

    – koleygr
    19 hours ago











  • @koleygr Excellent idea. Thanks

    – Steven B. Segletes
    19 hours ago












  • Nice answer... Straightforward to the OP's problem. Welcome.

    – koleygr
    18 hours ago








1




1





(+1)... I would add your "1pt" inside an extra optional argument of the command.

– koleygr
19 hours ago





(+1)... I would add your "1pt" inside an extra optional argument of the command.

– koleygr
19 hours ago













@koleygr Excellent idea. Thanks

– Steven B. Segletes
19 hours ago






@koleygr Excellent idea. Thanks

– Steven B. Segletes
19 hours ago














Nice answer... Straightforward to the OP's problem. Welcome.

– koleygr
18 hours ago






Nice answer... Straightforward to the OP's problem. Welcome.

– koleygr
18 hours ago


















draft saved

draft discarded
















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f478396%2fincrease-the-space-between-numerator-and-denominator%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Solar Wings Breeze Design and development Specifications (Breeze) References Navigation menu1368-485X"Hang glider: Breeze (Solar Wings)"e

Kathakali Contents Etymology and nomenclature History Repertoire Songs and musical instruments Traditional plays Styles: Sampradayam Training centers and awards Relationship to other dance forms See also Notes References External links Navigation menueThe Illustrated Encyclopedia of Hinduism: A-MSouth Asian Folklore: An EncyclopediaRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to Play10.1353/atj.2005.0004The Illustrated Encyclopedia of Hinduism: A-MEncyclopedia of HinduismKathakali Dance-drama: Where Gods and Demons Come to PlaySonic Liturgy: Ritual and Music in Hindu Tradition"The Mirror of Gesture"Kathakali Dance-drama: Where Gods and Demons Come to Play"Kathakali"Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceMedieval Indian Literature: An AnthologyThe Oxford Companion to Indian TheatreSouth Asian Folklore: An Encyclopedia : Afghanistan, Bangladesh, India, Nepal, Pakistan, Sri LankaThe Rise of Performance Studies: Rethinking Richard Schechner's Broad SpectrumIndian Theatre: Traditions of PerformanceModern Asian Theatre and Performance 1900-2000Critical Theory and PerformanceBetween Theater and AnthropologyKathakali603847011Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceBetween Theater and AnthropologyBetween Theater and AnthropologyNambeesan Smaraka AwardsArchivedThe Cambridge Guide to TheatreRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeThe Garland Encyclopedia of World Music: South Asia : the Indian subcontinentThe Ethos of Noh: Actors and Their Art10.2307/1145740By Means of Performance: Intercultural Studies of Theatre and Ritual10.1017/s204912550000100xReconceiving the Renaissance: A Critical ReaderPerformance TheoryListening to Theatre: The Aural Dimension of Beijing Opera10.2307/1146013Kathakali: The Art of the Non-WorldlyOn KathakaliKathakali, the dance theatreThe Kathakali Complex: Performance & StructureKathakali Dance-Drama: Where Gods and Demons Come to Play10.1093/obo/9780195399318-0071Drama and Ritual of Early Hinduism"In the Shadow of Hollywood Orientalism: Authentic East Indian Dancing"10.1080/08949460490274013Sanskrit Play Production in Ancient IndiaIndian Music: History and StructureBharata, the Nāṭyaśāstra233639306Table of Contents2238067286469807Dance In Indian Painting10.2307/32047833204783Kathakali Dance-Theatre: A Visual Narrative of Sacred Indian MimeIndian Classical Dance: The Renaissance and BeyondKathakali: an indigenous art-form of Keralaeee

Method to test if a number is a perfect power? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Detecting perfect squares faster than by extracting square rooteffective way to get the integer sequence A181392 from oeisA rarely mentioned fact about perfect powersHow many numbers such $n$ are there that $n<100,lfloorsqrtn rfloor mid n$Check perfect squareness by modulo division against multiple basesFor what pair of integers $(a,b)$ is $3^a + 7^b$ a perfect square.Do there exist any positive integers $n$ such that $lfloore^nrfloor$ is a perfect power? What is the probability that one exists?finding perfect power factors of an integerProve that the sequence contains a perfect square for any natural number $m $ in the domain of $f$ .Counting Perfect Powers