algorithm float envirmonment3 Algorithms in the same column with algorithmicAlgorithm in LaTeXSlight change...

Can a hotel cancel a confirmed reservation?

Can a Pact of the Blade warlock use the correct existing pact magic weapon so it functions as a "Returning" weapon?

The use of the spellings -zz- vs. -z-

Why was Lupin comfortable with saying Voldemort's name?

LuaTex and em dashes

What is 6÷2×(1+2) =?

Is it a fallacy if someone claims they need an explanation for every word of your argument to the point where they don't understand common terms?

Why did Democrats in the Senate oppose the Born-Alive Abortion Survivors Protection Act (2019 S.130)?

How should I handle players who ignore the session zero agreement?

Why publish a research paper when a blog post or a lecture slide can have more citation count than a journal paper?

Can a long polymer chain interact with itself via van der Waals forces?

How do you funnel food off a cutting board?

What incentives do banks have to gather up loans into pools (backed by Ginnie Mae)and selling them?

Why is working on the same position for more than 15 years not a red flag?

Advice for a new journal editor

Bash Script Function Return True-False

Why exactly do action photographers need high fps burst cameras?

What is the wife of a henpecked husband called?

A title for a history book

Positioning node within rectangle Tikz

What would the chemical name be for C13H8Cl3NO

IGBT transistor with auxiliary emitter

I will be going to Sweden on business purpose .Can I visit London from Sweden and how much UK visa will cost?

In Linux what happens if 1000 files in a directory are moved to another location while another 300 files were added to the source directory?



algorithm float envirmonment


3 Algorithms in the same column with algorithmicAlgorithm in LaTeXSlight change in algorithmDivide algorithm inside If EndIfAlgorithms in mdframedProblem in Algorithm CodeAlgorithm, blocks not closedAlgorithm2e line breaks missinginteractive algorithm line numbering hyperrefIEEE Algorithms in figure environment caption should read Algorithm













0















I would like to put 2 algorithms next to each other.
I followed several suggestions and I ended up with something like:



 begin{figure*}[ttt!]
begin{minipage}[t]{.38linewidth}
begin{algorithm}[H]
caption{scheme 1}
label{alg:s1}
begin{algorithmic}[1]
State{bla1}
end{algorithmic}
end{algorithm}
end{minipage}
hfill
begin{minipage}[t]{.61linewidth}
begin{algorithm}[H]
caption{scheme2}
label{alg:s2}
begin{algorithmic}[1]
State{bla2}
end{algorithmic}
end{algorithm}
end{minipage}
end{figure*}


This code works perfectly fine with latex article template.
However, when I add it to journal template, it does not compile anymore.
Error says: Not in outer par mode



I am wondering, is there any other way how to put algorithms next to each other? I can do it, if I skip algorithm and keep just algorithmic, but it does not look nice.









share









New contributor




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

























    0















    I would like to put 2 algorithms next to each other.
    I followed several suggestions and I ended up with something like:



     begin{figure*}[ttt!]
    begin{minipage}[t]{.38linewidth}
    begin{algorithm}[H]
    caption{scheme 1}
    label{alg:s1}
    begin{algorithmic}[1]
    State{bla1}
    end{algorithmic}
    end{algorithm}
    end{minipage}
    hfill
    begin{minipage}[t]{.61linewidth}
    begin{algorithm}[H]
    caption{scheme2}
    label{alg:s2}
    begin{algorithmic}[1]
    State{bla2}
    end{algorithmic}
    end{algorithm}
    end{minipage}
    end{figure*}


    This code works perfectly fine with latex article template.
    However, when I add it to journal template, it does not compile anymore.
    Error says: Not in outer par mode



    I am wondering, is there any other way how to put algorithms next to each other? I can do it, if I skip algorithm and keep just algorithmic, but it does not look nice.









    share









    New contributor




    scientist 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 would like to put 2 algorithms next to each other.
      I followed several suggestions and I ended up with something like:



       begin{figure*}[ttt!]
      begin{minipage}[t]{.38linewidth}
      begin{algorithm}[H]
      caption{scheme 1}
      label{alg:s1}
      begin{algorithmic}[1]
      State{bla1}
      end{algorithmic}
      end{algorithm}
      end{minipage}
      hfill
      begin{minipage}[t]{.61linewidth}
      begin{algorithm}[H]
      caption{scheme2}
      label{alg:s2}
      begin{algorithmic}[1]
      State{bla2}
      end{algorithmic}
      end{algorithm}
      end{minipage}
      end{figure*}


      This code works perfectly fine with latex article template.
      However, when I add it to journal template, it does not compile anymore.
      Error says: Not in outer par mode



      I am wondering, is there any other way how to put algorithms next to each other? I can do it, if I skip algorithm and keep just algorithmic, but it does not look nice.









      share









      New contributor




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












      I would like to put 2 algorithms next to each other.
      I followed several suggestions and I ended up with something like:



       begin{figure*}[ttt!]
      begin{minipage}[t]{.38linewidth}
      begin{algorithm}[H]
      caption{scheme 1}
      label{alg:s1}
      begin{algorithmic}[1]
      State{bla1}
      end{algorithmic}
      end{algorithm}
      end{minipage}
      hfill
      begin{minipage}[t]{.61linewidth}
      begin{algorithm}[H]
      caption{scheme2}
      label{alg:s2}
      begin{algorithmic}[1]
      State{bla2}
      end{algorithmic}
      end{algorithm}
      end{minipage}
      end{figure*}


      This code works perfectly fine with latex article template.
      However, when I add it to journal template, it does not compile anymore.
      Error says: Not in outer par mode



      I am wondering, is there any other way how to put algorithms next to each other? I can do it, if I skip algorithm and keep just algorithmic, but it does not look nice.







      algorithms algorithmicx





      share









      New contributor




      scientist 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




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








      share



      share








      edited just now







      scientist













      New contributor




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









      asked 9 mins ago









      scientistscientist

      1




      1




      New contributor




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





      New contributor





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






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


          }
          });






          scientist 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%2f477129%2falgorithm-float-envirmonment%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








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










          draft saved

          draft discarded


















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













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












          scientist 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%2f477129%2falgorithm-float-envirmonment%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 |...