How to align my equation to left?How to left align the element when usig begin align, not the whole equation?Aligning equations with left and right commentLeft align 3 different equationsHow to add comments in align environmentLeft align three columns in LatexAlign math to the leftProblem to left align within a splitAlign a running list of expressions to the leftLeft aligning a align* with spacing?How can I align this equation in the center?

Can you lasso down a wizard who is using the Levitate spell?

A Journey Through Space and Time

Japan - Any leeway for max visa duration due to unforeseen circumstances?

Chess with symmetric move-square

Is there really no realistic way for a skeleton monster to move around without magic?

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

What do you call something that goes against the spirit of the law, but is legal when interpreting the law to the letter?

How to type dʒ symbol (IPA) on Mac?

"which" command doesn't work / path of Safari?

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

declaring a variable twice in IIFE

Prevent a directory in /tmp from being deleted

Should I join an office cleaning event for free?

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?

Why are 150k or 200k jobs considered good when there are 300k+ births a month?

What does "enim et" mean?

least quadratic residue under GRH: an EXPLICIT bound

Why was the small council so happy for Tyrion to become the Master of Coin?

How do I create uniquely male characters?

Example of a relative pronoun

Is Social Media Science Fiction?

N.B. ligature in Latex

Extreme, but not acceptable situation and I can't start the work tomorrow morning

Why don't electron-positron collisions release infinite energy?



How to align my equation to left?


How to left align the element when usig begin align, not the whole equation?Aligning equations with left and right commentLeft align 3 different equationsHow to add comments in align environmentLeft align three columns in LatexAlign math to the leftProblem to left align within a splitAlign a running list of expressions to the leftLeft aligning a align* with spacing?How can I align this equation in the center?













8















I want to display four equations which have different length. I want they align left like this.enter image description here



But my code give thisenter image description here



The following are my code:



$$beginaligned p(a) &=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a) \ 
&=scriptstyle frac12 frac23+frac14 frac13+frac13+frac13=frac12
endaligned$$
$$beginaligned p(b) &=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b) \
&=scriptstylefrac12 frac16+frac14 frac12+frac13 frac13=frac14 endaligned$$
$$beginaligned p(c) &=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c) \
&=scriptstylefrac12 frac112+frac14 frac16+frac18 0+frac18=frac18 endaligned$$
$$beginaligned p(d) &=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d) \
&=scriptstylefrac12 frac112+frac18 frac13+frac18 frac13=frac13 endaligned$$


Can anyone tell me what I can do?










share|improve this question
























  • never use $$ in latex, use [ and then the fleqn option will left align equations.

    – David Carlisle
    Mar 22 at 8:45















8















I want to display four equations which have different length. I want they align left like this.enter image description here



But my code give thisenter image description here



The following are my code:



$$beginaligned p(a) &=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a) \ 
&=scriptstyle frac12 frac23+frac14 frac13+frac13+frac13=frac12
endaligned$$
$$beginaligned p(b) &=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b) \
&=scriptstylefrac12 frac16+frac14 frac12+frac13 frac13=frac14 endaligned$$
$$beginaligned p(c) &=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c) \
&=scriptstylefrac12 frac112+frac14 frac16+frac18 0+frac18=frac18 endaligned$$
$$beginaligned p(d) &=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d) \
&=scriptstylefrac12 frac112+frac18 frac13+frac18 frac13=frac13 endaligned$$


Can anyone tell me what I can do?










share|improve this question
























  • never use $$ in latex, use [ and then the fleqn option will left align equations.

    – David Carlisle
    Mar 22 at 8:45













8












8








8








I want to display four equations which have different length. I want they align left like this.enter image description here



But my code give thisenter image description here



The following are my code:



$$beginaligned p(a) &=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a) \ 
&=scriptstyle frac12 frac23+frac14 frac13+frac13+frac13=frac12
endaligned$$
$$beginaligned p(b) &=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b) \
&=scriptstylefrac12 frac16+frac14 frac12+frac13 frac13=frac14 endaligned$$
$$beginaligned p(c) &=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c) \
&=scriptstylefrac12 frac112+frac14 frac16+frac18 0+frac18=frac18 endaligned$$
$$beginaligned p(d) &=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d) \
&=scriptstylefrac12 frac112+frac18 frac13+frac18 frac13=frac13 endaligned$$


Can anyone tell me what I can do?










share|improve this question
















I want to display four equations which have different length. I want they align left like this.enter image description here



But my code give thisenter image description here



The following are my code:



$$beginaligned p(a) &=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a) \ 
&=scriptstyle frac12 frac23+frac14 frac13+frac13+frac13=frac12
endaligned$$
$$beginaligned p(b) &=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b) \
&=scriptstylefrac12 frac16+frac14 frac12+frac13 frac13=frac14 endaligned$$
$$beginaligned p(c) &=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c) \
&=scriptstylefrac12 frac112+frac14 frac16+frac18 0+frac18=frac18 endaligned$$
$$beginaligned p(d) &=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d) \
&=scriptstylefrac12 frac112+frac18 frac13+frac18 frac13=frac13 endaligned$$


Can anyone tell me what I can do?







math-mode align






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 22 at 8:44









JouleV

11.4k22561




11.4k22561










asked Mar 22 at 8:39









cholechole

411




411












  • never use $$ in latex, use [ and then the fleqn option will left align equations.

    – David Carlisle
    Mar 22 at 8:45

















  • never use $$ in latex, use [ and then the fleqn option will left align equations.

    – David Carlisle
    Mar 22 at 8:45
















never use $$ in latex, use [ and then the fleqn option will left align equations.

– David Carlisle
Mar 22 at 8:45





never use $$ in latex, use [ and then the fleqn option will left align equations.

– David Carlisle
Mar 22 at 8:45










2 Answers
2






active

oldest

votes


















7














Here is a proposal



documentclassarticle
usepackageamsmath
begindocument
beginalign*
p(a)&=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a)\
&;=scriptstyle frac12 frac23+frac14 frac13+frac13+frac13=frac12\
p(b)&=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b)\
&;=scriptstylefrac12 frac16+frac14 frac12+frac13 frac13=frac14\
p(c)&=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c)\
&;=scriptstylefrac12 frac112+frac14 frac16+frac18 0+frac18=frac18\
p(d)&=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d)\
&;=scriptstylefrac12 frac112+frac18 frac13+frac18 frac13=frac13
endalign*
enddocument


enter image description here



Why do you use scriptstyle? It is very hard to read the fractions! Use tfrac instead!



You should remove ; in the &;={scriptstyle... lines to align the =s. I prefer that way.




I strongly recommend this one



documentclassarticle
usepackageamsmath
begindocument
beginalign*
p(a)&=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a)\
&=tfrac12 tfrac23+tfrac14 tfrac13+tfrac13+tfrac13=tfrac12\
p(b)&=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b)\
&=tfrac12 tfrac16+tfrac14 tfrac12+tfrac13 tfrac13=tfrac14\
p(c)&=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c)\
&=tfrac12 tfrac112+tfrac14 tfrac16+tfrac18 0+tfrac18=tfrac18\
p(d)&=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d)\
&=tfrac12 tfrac112+tfrac18 tfrac13+tfrac18 tfrac13=tfrac13
endalign*
enddocument


enter image description here






share|improve this answer

























  • Thank you very much. I use 'scriptstyle' because I want the second line of the equation to be small.

    – chole
    Mar 22 at 8:55






  • 1





    @chole Then you should use tfrac instead of scriptstylefrac.

    – JouleV
    Mar 22 at 8:58






  • 2





    +1 for recommending tfrac in place of scriptstylefrac.

    – Mico
    Mar 22 at 9:00











  • @chole If my answer helps you, please mark your question as resolved by clicking the checkmark on the left of my answer.

    – JouleV
    Mar 22 at 9:02






  • 1





    +1 yes as I commented under the question the direct answer why there was no left alignment was due to using $$ but If I had answered I would also have suggested align* rather than [beginaligned :-)

    – David Carlisle
    Mar 22 at 9:08


















6














I propose this layout, using the fleqn environment and, as in my opinion, medium sized fractions will look best, I also use the medmath and mfrac commands, each from nccmath:



documentclassarticle
usepackageamsmath, nccmath

begindocument

beginfleqn
beginalign*
p(a)&=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a)\
&quad= medmathfrac12cdot frac23+frac14cdot frac13+frac13+frac13=mfrac12 \[1ex]
p(b)&=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b)\
&quad= medmathfrac12cdot frac16+frac14cdot frac12+frac13cdot frac13=mfrac14 \[1ex]
p(c)&=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c)\
&quad= medmathfrac12cdot frac112+frac14cdot frac16+frac18,0 + frac18=mfrac18 \[1ex]
p(d)&=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d)\
&quad= medmathfrac12cdot frac112+frac18cdot frac13+frac18cdot frac13=mfrac13
endalign*
endfleqn

enddocument


enter image description here






share|improve this answer

























    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%2f480865%2fhow-to-align-my-equation-to-left%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









    7














    Here is a proposal



    documentclassarticle
    usepackageamsmath
    begindocument
    beginalign*
    p(a)&=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a)\
    &;=scriptstyle frac12 frac23+frac14 frac13+frac13+frac13=frac12\
    p(b)&=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b)\
    &;=scriptstylefrac12 frac16+frac14 frac12+frac13 frac13=frac14\
    p(c)&=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c)\
    &;=scriptstylefrac12 frac112+frac14 frac16+frac18 0+frac18=frac18\
    p(d)&=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d)\
    &;=scriptstylefrac12 frac112+frac18 frac13+frac18 frac13=frac13
    endalign*
    enddocument


    enter image description here



    Why do you use scriptstyle? It is very hard to read the fractions! Use tfrac instead!



    You should remove ; in the &;={scriptstyle... lines to align the =s. I prefer that way.




    I strongly recommend this one



    documentclassarticle
    usepackageamsmath
    begindocument
    beginalign*
    p(a)&=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a)\
    &=tfrac12 tfrac23+tfrac14 tfrac13+tfrac13+tfrac13=tfrac12\
    p(b)&=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b)\
    &=tfrac12 tfrac16+tfrac14 tfrac12+tfrac13 tfrac13=tfrac14\
    p(c)&=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c)\
    &=tfrac12 tfrac112+tfrac14 tfrac16+tfrac18 0+tfrac18=tfrac18\
    p(d)&=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d)\
    &=tfrac12 tfrac112+tfrac18 tfrac13+tfrac18 tfrac13=tfrac13
    endalign*
    enddocument


    enter image description here






    share|improve this answer

























    • Thank you very much. I use 'scriptstyle' because I want the second line of the equation to be small.

      – chole
      Mar 22 at 8:55






    • 1





      @chole Then you should use tfrac instead of scriptstylefrac.

      – JouleV
      Mar 22 at 8:58






    • 2





      +1 for recommending tfrac in place of scriptstylefrac.

      – Mico
      Mar 22 at 9:00











    • @chole If my answer helps you, please mark your question as resolved by clicking the checkmark on the left of my answer.

      – JouleV
      Mar 22 at 9:02






    • 1





      +1 yes as I commented under the question the direct answer why there was no left alignment was due to using $$ but If I had answered I would also have suggested align* rather than [beginaligned :-)

      – David Carlisle
      Mar 22 at 9:08















    7














    Here is a proposal



    documentclassarticle
    usepackageamsmath
    begindocument
    beginalign*
    p(a)&=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a)\
    &;=scriptstyle frac12 frac23+frac14 frac13+frac13+frac13=frac12\
    p(b)&=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b)\
    &;=scriptstylefrac12 frac16+frac14 frac12+frac13 frac13=frac14\
    p(c)&=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c)\
    &;=scriptstylefrac12 frac112+frac14 frac16+frac18 0+frac18=frac18\
    p(d)&=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d)\
    &;=scriptstylefrac12 frac112+frac18 frac13+frac18 frac13=frac13
    endalign*
    enddocument


    enter image description here



    Why do you use scriptstyle? It is very hard to read the fractions! Use tfrac instead!



    You should remove ; in the &;={scriptstyle... lines to align the =s. I prefer that way.




    I strongly recommend this one



    documentclassarticle
    usepackageamsmath
    begindocument
    beginalign*
    p(a)&=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a)\
    &=tfrac12 tfrac23+tfrac14 tfrac13+tfrac13+tfrac13=tfrac12\
    p(b)&=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b)\
    &=tfrac12 tfrac16+tfrac14 tfrac12+tfrac13 tfrac13=tfrac14\
    p(c)&=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c)\
    &=tfrac12 tfrac112+tfrac14 tfrac16+tfrac18 0+tfrac18=tfrac18\
    p(d)&=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d)\
    &=tfrac12 tfrac112+tfrac18 tfrac13+tfrac18 tfrac13=tfrac13
    endalign*
    enddocument


    enter image description here






    share|improve this answer

























    • Thank you very much. I use 'scriptstyle' because I want the second line of the equation to be small.

      – chole
      Mar 22 at 8:55






    • 1





      @chole Then you should use tfrac instead of scriptstylefrac.

      – JouleV
      Mar 22 at 8:58






    • 2





      +1 for recommending tfrac in place of scriptstylefrac.

      – Mico
      Mar 22 at 9:00











    • @chole If my answer helps you, please mark your question as resolved by clicking the checkmark on the left of my answer.

      – JouleV
      Mar 22 at 9:02






    • 1





      +1 yes as I commented under the question the direct answer why there was no left alignment was due to using $$ but If I had answered I would also have suggested align* rather than [beginaligned :-)

      – David Carlisle
      Mar 22 at 9:08













    7












    7








    7







    Here is a proposal



    documentclassarticle
    usepackageamsmath
    begindocument
    beginalign*
    p(a)&=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a)\
    &;=scriptstyle frac12 frac23+frac14 frac13+frac13+frac13=frac12\
    p(b)&=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b)\
    &;=scriptstylefrac12 frac16+frac14 frac12+frac13 frac13=frac14\
    p(c)&=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c)\
    &;=scriptstylefrac12 frac112+frac14 frac16+frac18 0+frac18=frac18\
    p(d)&=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d)\
    &;=scriptstylefrac12 frac112+frac18 frac13+frac18 frac13=frac13
    endalign*
    enddocument


    enter image description here



    Why do you use scriptstyle? It is very hard to read the fractions! Use tfrac instead!



    You should remove ; in the &;={scriptstyle... lines to align the =s. I prefer that way.




    I strongly recommend this one



    documentclassarticle
    usepackageamsmath
    begindocument
    beginalign*
    p(a)&=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a)\
    &=tfrac12 tfrac23+tfrac14 tfrac13+tfrac13+tfrac13=tfrac12\
    p(b)&=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b)\
    &=tfrac12 tfrac16+tfrac14 tfrac12+tfrac13 tfrac13=tfrac14\
    p(c)&=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c)\
    &=tfrac12 tfrac112+tfrac14 tfrac16+tfrac18 0+tfrac18=tfrac18\
    p(d)&=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d)\
    &=tfrac12 tfrac112+tfrac18 tfrac13+tfrac18 tfrac13=tfrac13
    endalign*
    enddocument


    enter image description here






    share|improve this answer















    Here is a proposal



    documentclassarticle
    usepackageamsmath
    begindocument
    beginalign*
    p(a)&=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a)\
    &;=scriptstyle frac12 frac23+frac14 frac13+frac13+frac13=frac12\
    p(b)&=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b)\
    &;=scriptstylefrac12 frac16+frac14 frac12+frac13 frac13=frac14\
    p(c)&=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c)\
    &;=scriptstylefrac12 frac112+frac14 frac16+frac18 0+frac18=frac18\
    p(d)&=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d)\
    &;=scriptstylefrac12 frac112+frac18 frac13+frac18 frac13=frac13
    endalign*
    enddocument


    enter image description here



    Why do you use scriptstyle? It is very hard to read the fractions! Use tfrac instead!



    You should remove ; in the &;={scriptstyle... lines to align the =s. I prefer that way.




    I strongly recommend this one



    documentclassarticle
    usepackageamsmath
    begindocument
    beginalign*
    p(a)&=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a)\
    &=tfrac12 tfrac23+tfrac14 tfrac13+tfrac13+tfrac13=tfrac12\
    p(b)&=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b)\
    &=tfrac12 tfrac16+tfrac14 tfrac12+tfrac13 tfrac13=tfrac14\
    p(c)&=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c)\
    &=tfrac12 tfrac112+tfrac14 tfrac16+tfrac18 0+tfrac18=tfrac18\
    p(d)&=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d)\
    &=tfrac12 tfrac112+tfrac18 tfrac13+tfrac18 tfrac13=tfrac13
    endalign*
    enddocument


    enter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Mar 22 at 8:59

























    answered Mar 22 at 8:49









    JouleVJouleV

    11.4k22561




    11.4k22561












    • Thank you very much. I use 'scriptstyle' because I want the second line of the equation to be small.

      – chole
      Mar 22 at 8:55






    • 1





      @chole Then you should use tfrac instead of scriptstylefrac.

      – JouleV
      Mar 22 at 8:58






    • 2





      +1 for recommending tfrac in place of scriptstylefrac.

      – Mico
      Mar 22 at 9:00











    • @chole If my answer helps you, please mark your question as resolved by clicking the checkmark on the left of my answer.

      – JouleV
      Mar 22 at 9:02






    • 1





      +1 yes as I commented under the question the direct answer why there was no left alignment was due to using $$ but If I had answered I would also have suggested align* rather than [beginaligned :-)

      – David Carlisle
      Mar 22 at 9:08

















    • Thank you very much. I use 'scriptstyle' because I want the second line of the equation to be small.

      – chole
      Mar 22 at 8:55






    • 1





      @chole Then you should use tfrac instead of scriptstylefrac.

      – JouleV
      Mar 22 at 8:58






    • 2





      +1 for recommending tfrac in place of scriptstylefrac.

      – Mico
      Mar 22 at 9:00











    • @chole If my answer helps you, please mark your question as resolved by clicking the checkmark on the left of my answer.

      – JouleV
      Mar 22 at 9:02






    • 1





      +1 yes as I commented under the question the direct answer why there was no left alignment was due to using $$ but If I had answered I would also have suggested align* rather than [beginaligned :-)

      – David Carlisle
      Mar 22 at 9:08
















    Thank you very much. I use 'scriptstyle' because I want the second line of the equation to be small.

    – chole
    Mar 22 at 8:55





    Thank you very much. I use 'scriptstyle' because I want the second line of the equation to be small.

    – chole
    Mar 22 at 8:55




    1




    1





    @chole Then you should use tfrac instead of scriptstylefrac.

    – JouleV
    Mar 22 at 8:58





    @chole Then you should use tfrac instead of scriptstylefrac.

    – JouleV
    Mar 22 at 8:58




    2




    2





    +1 for recommending tfrac in place of scriptstylefrac.

    – Mico
    Mar 22 at 9:00





    +1 for recommending tfrac in place of scriptstylefrac.

    – Mico
    Mar 22 at 9:00













    @chole If my answer helps you, please mark your question as resolved by clicking the checkmark on the left of my answer.

    – JouleV
    Mar 22 at 9:02





    @chole If my answer helps you, please mark your question as resolved by clicking the checkmark on the left of my answer.

    – JouleV
    Mar 22 at 9:02




    1




    1





    +1 yes as I commented under the question the direct answer why there was no left alignment was due to using $$ but If I had answered I would also have suggested align* rather than [beginaligned :-)

    – David Carlisle
    Mar 22 at 9:08





    +1 yes as I commented under the question the direct answer why there was no left alignment was due to using $$ but If I had answered I would also have suggested align* rather than [beginaligned :-)

    – David Carlisle
    Mar 22 at 9:08











    6














    I propose this layout, using the fleqn environment and, as in my opinion, medium sized fractions will look best, I also use the medmath and mfrac commands, each from nccmath:



    documentclassarticle
    usepackageamsmath, nccmath

    begindocument

    beginfleqn
    beginalign*
    p(a)&=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a)\
    &quad= medmathfrac12cdot frac23+frac14cdot frac13+frac13+frac13=mfrac12 \[1ex]
    p(b)&=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b)\
    &quad= medmathfrac12cdot frac16+frac14cdot frac12+frac13cdot frac13=mfrac14 \[1ex]
    p(c)&=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c)\
    &quad= medmathfrac12cdot frac112+frac14cdot frac16+frac18,0 + frac18=mfrac18 \[1ex]
    p(d)&=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d)\
    &quad= medmathfrac12cdot frac112+frac18cdot frac13+frac18cdot frac13=mfrac13
    endalign*
    endfleqn

    enddocument


    enter image description here






    share|improve this answer





























      6














      I propose this layout, using the fleqn environment and, as in my opinion, medium sized fractions will look best, I also use the medmath and mfrac commands, each from nccmath:



      documentclassarticle
      usepackageamsmath, nccmath

      begindocument

      beginfleqn
      beginalign*
      p(a)&=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a)\
      &quad= medmathfrac12cdot frac23+frac14cdot frac13+frac13+frac13=mfrac12 \[1ex]
      p(b)&=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b)\
      &quad= medmathfrac12cdot frac16+frac14cdot frac12+frac13cdot frac13=mfrac14 \[1ex]
      p(c)&=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c)\
      &quad= medmathfrac12cdot frac112+frac14cdot frac16+frac18,0 + frac18=mfrac18 \[1ex]
      p(d)&=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d)\
      &quad= medmathfrac12cdot frac112+frac18cdot frac13+frac18cdot frac13=mfrac13
      endalign*
      endfleqn

      enddocument


      enter image description here






      share|improve this answer



























        6












        6








        6







        I propose this layout, using the fleqn environment and, as in my opinion, medium sized fractions will look best, I also use the medmath and mfrac commands, each from nccmath:



        documentclassarticle
        usepackageamsmath, nccmath

        begindocument

        beginfleqn
        beginalign*
        p(a)&=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a)\
        &quad= medmathfrac12cdot frac23+frac14cdot frac13+frac13+frac13=mfrac12 \[1ex]
        p(b)&=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b)\
        &quad= medmathfrac12cdot frac16+frac14cdot frac12+frac13cdot frac13=mfrac14 \[1ex]
        p(c)&=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c)\
        &quad= medmathfrac12cdot frac112+frac14cdot frac16+frac18,0 + frac18=mfrac18 \[1ex]
        p(d)&=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d)\
        &quad= medmathfrac12cdot frac112+frac18cdot frac13+frac18cdot frac13=mfrac13
        endalign*
        endfleqn

        enddocument


        enter image description here






        share|improve this answer















        I propose this layout, using the fleqn environment and, as in my opinion, medium sized fractions will look best, I also use the medmath and mfrac commands, each from nccmath:



        documentclassarticle
        usepackageamsmath, nccmath

        begindocument

        beginfleqn
        beginalign*
        p(a)&=p(a) p(a rightarrow a)+p(b) p(b rightarrow a)+p(c) p(c rightarrow a)+p(d) p(d rightarrow a)\
        &quad= medmathfrac12cdot frac23+frac14cdot frac13+frac13+frac13=mfrac12 \[1ex]
        p(b)&=p(a) p(a rightarrow b)+p(b) p(b rightarrow b)+p(c) p(c rightarrow b)\
        &quad= medmathfrac12cdot frac16+frac14cdot frac12+frac13cdot frac13=mfrac14 \[1ex]
        p(c)&=p(a) p(a rightarrow c)+p(b) p(b rightarrow c)+p(c) p(c rightarrow c)+p(d) p(d rightarrow c)\
        &quad= medmathfrac12cdot frac112+frac14cdot frac16+frac18,0 + frac18=mfrac18 \[1ex]
        p(d)&=p(a) p(a rightarrow d)+p(c) p(c rightarrow d)+p(d) p(d rightarrow d)\
        &quad= medmathfrac12cdot frac112+frac18cdot frac13+frac18cdot frac13=mfrac13
        endalign*
        endfleqn

        enddocument


        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 22 at 10:50

























        answered Mar 22 at 10:12









        BernardBernard

        175k778208




        175k778208



























            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%2f480865%2fhow-to-align-my-equation-to-left%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

            How should I support this large drywall patch? Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How do I cover large gaps in drywall?How do I keep drywall around a patch from crumbling?Can I glue a second layer of drywall?How to patch long strip on drywall?Large drywall patch: how to avoid bulging seams?Drywall Mesh Patch vs. Bulge? To remove or not to remove?How to fix this drywall job?Prep drywall before backsplashWhat's the best way to fix this horrible drywall patch job?Drywall patching using 3M Patch Plus Primer

            random experiment with two different functions on unit interval Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Random variable and probability space notionsRandom Walk with EdgesFinding functions where the increase over a random interval is Poisson distributedNumber of days until dayCan an observed event in fact be of zero probability?Unit random processmodels of coins and uniform distributionHow to get the number of successes given $n$ trials , probability $P$ and a random variable $X$Absorbing Markov chain in a computer. Is “almost every” turned into always convergence in computer executions?Stopped random walk is not uniformly integrable

            Lowndes Grove History Architecture References Navigation menu32°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661132°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661178002500"National Register Information System"Historic houses of South Carolina"Lowndes Grove""+32° 48' 6.00", −79° 57' 58.00""Lowndes Grove, Charleston County (260 St. Margaret St., Charleston)""Lowndes Grove"The Charleston ExpositionIt Happened in South Carolina"Lowndes Grove (House), Saint Margaret Street & Sixth Avenue, Charleston, Charleston County, SC(Photographs)"Plantations of the Carolina Low Countrye