Equation Array Exceed Right MarginHow to prevent text generated with `Sweave` from running off the right...

Pinhole Camera with Instant Film

Counting certain elements in lists

Rejected in 4th interview round citing insufficient years of experience

Russian cases: A few examples, I'm really confused

Does this AnyDice function accurately calculate the number of ogres you make unconcious with three 4th-level castings of Sleep?

What options are left, if Britain cannot decide?

Why did it take so long to abandon sail after steamships were demonstrated?

Did CPM support custom hardware using device drivers?

At what level can a dragon innately cast its spells?

Does splitting a potentially monolithic application into several smaller ones help prevent bugs?

Font with correct density?

What has been your most complicated TikZ drawing?

Why do Australian milk farmers need to protest supermarkets' milk price?

Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?

Employee lack of ownership

How could a female member of a species produce eggs unto death?

Why doesn't the EU now just force the UK to choose between referendum and no-deal?

How is the Swiss post e-voting system supposed to work, and how was it wrong?

Happy pi day, everyone!

It's a yearly task, alright

Can anyone tell me why this program fails?

How to explain that I do not want to visit a country due to personal safety concern?

Could the Saturn V actually have launched astronauts around Venus?

Is having access to past exams cheating and, if yes, could it be proven just by a good grade?



Equation Array Exceed Right Margin


How to prevent text generated with `Sweave` from running off the right margin?Equation array troublesMulti-line equations in latexEquation left marginMinted. Code highlighting right marginHow to prevent the label of a long equation running into the right margin?Modify right MarginRight margin exceedsArray in multiple linesVertical alignment of different systems of equations













0















I write equations in eqnarrayuse Latex, but there are lines that exceed the right margin, how to fix it?
This is my code:



> begin{eqnarray}  k_1&=&hf(t_i, y_i)=hf_ilabel{$k_1$ RK-4}\
> k_2&=&hf(t_i+p_1h, y_i+q_11_k1)nonumber\
> &=&h(f_i+p_1hf_t+q_{11}k_1f_y)nonumber\
> &=&h(f_i+p_1hf_t+q_{11}hf_if_y)\ k_3&=&hf(t_i+p_2h,
> y_i+q_21k_1+q_22k_2)nonumber\
> &=&h(f_i+p_2hf_t+q_21k_1f_y+q_22k_2f_y)nonumber\
> &=&h(f_i+p_2hf_t+q_{21}hf_if_y+q_{22}h(f_i+p_1hf_t+q_{11}hf_if_y)f_y)nonumber\ &=&h(f_i+p_2hf_t+q_{21}hf_if_y+q_{22}hf_if_y+q_22h^2p_1f_tf_y+q_{11}q{22}h^2f_i(f_y)^2)\
> k_4&=&hf(t_i+p_3h, y_i+q_31k_1+q_32k_2+q_33k_3)nonumber\
> &=&h(f_i+p_3hf_t+q_{31}k_1f_y+q_{32}k_2f_y+q_{33}k_3f_y)nonumber\
> &=&h(f_i+p_3hf_t+q_{31}hf_if_y+q_{32}h(f_i+p_1hf_t+q_{11}hf_if_y)f_y+q_{33}h(f_i+p_2hf_t+q_{21}hf_if_y+q_{22}hf_if_y+q_{22}h^2p_1f_tf_y+q_{21}q_{22}h^2f_i(f_y)^2)f_y)nonumber\ &=&h(f_i+p_3hf_t+q_{31}hf_if_y+q_{32}hf_if_y+p_1q_{32}h^2f_tf_y+q_{11}q_{32}h^2f_i(f_y)^2+q_{33}hf_if_y+p_2q_{33}h^2f_tf_y+q_{21}q_{33}h^2f_i(f_y)^2+q_{22}q_{33}h^2f_i(f_y)^2+q_{22}q_{33}p_1h^3f_t(f_y)^2+q_{11}q_{22}q_{33}h^3f_i(f_y)^3)\
> end{eqnarray}


and this is the result:
enter image description here









share







New contributor




liswyhy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I write equations in eqnarrayuse Latex, but there are lines that exceed the right margin, how to fix it?
    This is my code:



    > begin{eqnarray}  k_1&=&hf(t_i, y_i)=hf_ilabel{$k_1$ RK-4}\
    > k_2&=&hf(t_i+p_1h, y_i+q_11_k1)nonumber\
    > &=&h(f_i+p_1hf_t+q_{11}k_1f_y)nonumber\
    > &=&h(f_i+p_1hf_t+q_{11}hf_if_y)\ k_3&=&hf(t_i+p_2h,
    > y_i+q_21k_1+q_22k_2)nonumber\
    > &=&h(f_i+p_2hf_t+q_21k_1f_y+q_22k_2f_y)nonumber\
    > &=&h(f_i+p_2hf_t+q_{21}hf_if_y+q_{22}h(f_i+p_1hf_t+q_{11}hf_if_y)f_y)nonumber\ &=&h(f_i+p_2hf_t+q_{21}hf_if_y+q_{22}hf_if_y+q_22h^2p_1f_tf_y+q_{11}q{22}h^2f_i(f_y)^2)\
    > k_4&=&hf(t_i+p_3h, y_i+q_31k_1+q_32k_2+q_33k_3)nonumber\
    > &=&h(f_i+p_3hf_t+q_{31}k_1f_y+q_{32}k_2f_y+q_{33}k_3f_y)nonumber\
    > &=&h(f_i+p_3hf_t+q_{31}hf_if_y+q_{32}h(f_i+p_1hf_t+q_{11}hf_if_y)f_y+q_{33}h(f_i+p_2hf_t+q_{21}hf_if_y+q_{22}hf_if_y+q_{22}h^2p_1f_tf_y+q_{21}q_{22}h^2f_i(f_y)^2)f_y)nonumber\ &=&h(f_i+p_3hf_t+q_{31}hf_if_y+q_{32}hf_if_y+p_1q_{32}h^2f_tf_y+q_{11}q_{32}h^2f_i(f_y)^2+q_{33}hf_if_y+p_2q_{33}h^2f_tf_y+q_{21}q_{33}h^2f_i(f_y)^2+q_{22}q_{33}h^2f_i(f_y)^2+q_{22}q_{33}p_1h^3f_t(f_y)^2+q_{11}q_{22}q_{33}h^3f_i(f_y)^3)\
    > end{eqnarray}


    and this is the result:
    enter image description here









    share







    New contributor




    liswyhy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I write equations in eqnarrayuse Latex, but there are lines that exceed the right margin, how to fix it?
      This is my code:



      > begin{eqnarray}  k_1&=&hf(t_i, y_i)=hf_ilabel{$k_1$ RK-4}\
      > k_2&=&hf(t_i+p_1h, y_i+q_11_k1)nonumber\
      > &=&h(f_i+p_1hf_t+q_{11}k_1f_y)nonumber\
      > &=&h(f_i+p_1hf_t+q_{11}hf_if_y)\ k_3&=&hf(t_i+p_2h,
      > y_i+q_21k_1+q_22k_2)nonumber\
      > &=&h(f_i+p_2hf_t+q_21k_1f_y+q_22k_2f_y)nonumber\
      > &=&h(f_i+p_2hf_t+q_{21}hf_if_y+q_{22}h(f_i+p_1hf_t+q_{11}hf_if_y)f_y)nonumber\ &=&h(f_i+p_2hf_t+q_{21}hf_if_y+q_{22}hf_if_y+q_22h^2p_1f_tf_y+q_{11}q{22}h^2f_i(f_y)^2)\
      > k_4&=&hf(t_i+p_3h, y_i+q_31k_1+q_32k_2+q_33k_3)nonumber\
      > &=&h(f_i+p_3hf_t+q_{31}k_1f_y+q_{32}k_2f_y+q_{33}k_3f_y)nonumber\
      > &=&h(f_i+p_3hf_t+q_{31}hf_if_y+q_{32}h(f_i+p_1hf_t+q_{11}hf_if_y)f_y+q_{33}h(f_i+p_2hf_t+q_{21}hf_if_y+q_{22}hf_if_y+q_{22}h^2p_1f_tf_y+q_{21}q_{22}h^2f_i(f_y)^2)f_y)nonumber\ &=&h(f_i+p_3hf_t+q_{31}hf_if_y+q_{32}hf_if_y+p_1q_{32}h^2f_tf_y+q_{11}q_{32}h^2f_i(f_y)^2+q_{33}hf_if_y+p_2q_{33}h^2f_tf_y+q_{21}q_{33}h^2f_i(f_y)^2+q_{22}q_{33}h^2f_i(f_y)^2+q_{22}q_{33}p_1h^3f_t(f_y)^2+q_{11}q_{22}q_{33}h^3f_i(f_y)^3)\
      > end{eqnarray}


      and this is the result:
      enter image description here









      share







      New contributor




      liswyhy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I write equations in eqnarrayuse Latex, but there are lines that exceed the right margin, how to fix it?
      This is my code:



      > begin{eqnarray}  k_1&=&hf(t_i, y_i)=hf_ilabel{$k_1$ RK-4}\
      > k_2&=&hf(t_i+p_1h, y_i+q_11_k1)nonumber\
      > &=&h(f_i+p_1hf_t+q_{11}k_1f_y)nonumber\
      > &=&h(f_i+p_1hf_t+q_{11}hf_if_y)\ k_3&=&hf(t_i+p_2h,
      > y_i+q_21k_1+q_22k_2)nonumber\
      > &=&h(f_i+p_2hf_t+q_21k_1f_y+q_22k_2f_y)nonumber\
      > &=&h(f_i+p_2hf_t+q_{21}hf_if_y+q_{22}h(f_i+p_1hf_t+q_{11}hf_if_y)f_y)nonumber\ &=&h(f_i+p_2hf_t+q_{21}hf_if_y+q_{22}hf_if_y+q_22h^2p_1f_tf_y+q_{11}q{22}h^2f_i(f_y)^2)\
      > k_4&=&hf(t_i+p_3h, y_i+q_31k_1+q_32k_2+q_33k_3)nonumber\
      > &=&h(f_i+p_3hf_t+q_{31}k_1f_y+q_{32}k_2f_y+q_{33}k_3f_y)nonumber\
      > &=&h(f_i+p_3hf_t+q_{31}hf_if_y+q_{32}h(f_i+p_1hf_t+q_{11}hf_if_y)f_y+q_{33}h(f_i+p_2hf_t+q_{21}hf_if_y+q_{22}hf_if_y+q_{22}h^2p_1f_tf_y+q_{21}q_{22}h^2f_i(f_y)^2)f_y)nonumber\ &=&h(f_i+p_3hf_t+q_{31}hf_if_y+q_{32}hf_if_y+p_1q_{32}h^2f_tf_y+q_{11}q_{32}h^2f_i(f_y)^2+q_{33}hf_if_y+p_2q_{33}h^2f_tf_y+q_{21}q_{33}h^2f_i(f_y)^2+q_{22}q_{33}h^2f_i(f_y)^2+q_{22}q_{33}p_1h^3f_t(f_y)^2+q_{11}q_{22}q_{33}h^3f_i(f_y)^3)\
      > end{eqnarray}


      and this is the result:
      enter image description here







      equations margins eqnarray





      share







      New contributor




      liswyhy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      liswyhy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      liswyhy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 6 mins ago









      liswyhyliswyhy

      163




      163




      New contributor




      liswyhy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      liswyhy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      liswyhy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          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
          });


          }
          });






          liswyhy is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f479557%2fequation-array-exceed-right-margin%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          liswyhy is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          liswyhy is a new contributor. Be nice, and check out our Code of Conduct.













          liswyhy is a new contributor. Be nice, and check out our Code of Conduct.












          liswyhy is a new contributor. Be nice, and check out our Code of Conduct.
















          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%2f479557%2fequation-array-exceed-right-margin%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

          Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

          Schneeberg (Smreczany) Bibliografia | Menu...

          Hans Bellmer Spis treści Życiorys | Upamiętnienie | Przypisy | Bibliografia | Linki zewnętrzne |...