Getting error with itemize and column using in succession












3














In my presentation, I need to put two graphs under a list item. I am trying the following code but am getting an error stating that "Missing number, treated as zero. end{frame}". If I remove this piece of code, it works fine. The piece of code is;



begin{frame}[t]{Simulation Results & Observations}
begin{itemize}
item NCMSE based analysis of SiT-OMP & SiT-CoSaMP with variations in Sparsity (S)
end{itemize}
begin{columns}
begin{column}{width=0.5textwidth}
Here is something.
end{column}
begin{column}{width=0.5textwidth}
Here is something.
end{column}
end{columns}
end{frame}









share|improve this question





























    3














    In my presentation, I need to put two graphs under a list item. I am trying the following code but am getting an error stating that "Missing number, treated as zero. end{frame}". If I remove this piece of code, it works fine. The piece of code is;



    begin{frame}[t]{Simulation Results & Observations}
    begin{itemize}
    item NCMSE based analysis of SiT-OMP & SiT-CoSaMP with variations in Sparsity (S)
    end{itemize}
    begin{columns}
    begin{column}{width=0.5textwidth}
    Here is something.
    end{column}
    begin{column}{width=0.5textwidth}
    Here is something.
    end{column}
    end{columns}
    end{frame}









    share|improve this question



























      3












      3








      3







      In my presentation, I need to put two graphs under a list item. I am trying the following code but am getting an error stating that "Missing number, treated as zero. end{frame}". If I remove this piece of code, it works fine. The piece of code is;



      begin{frame}[t]{Simulation Results & Observations}
      begin{itemize}
      item NCMSE based analysis of SiT-OMP & SiT-CoSaMP with variations in Sparsity (S)
      end{itemize}
      begin{columns}
      begin{column}{width=0.5textwidth}
      Here is something.
      end{column}
      begin{column}{width=0.5textwidth}
      Here is something.
      end{column}
      end{columns}
      end{frame}









      share|improve this question















      In my presentation, I need to put two graphs under a list item. I am trying the following code but am getting an error stating that "Missing number, treated as zero. end{frame}". If I remove this piece of code, it works fine. The piece of code is;



      begin{frame}[t]{Simulation Results & Observations}
      begin{itemize}
      item NCMSE based analysis of SiT-OMP & SiT-CoSaMP with variations in Sparsity (S)
      end{itemize}
      begin{columns}
      begin{column}{width=0.5textwidth}
      Here is something.
      end{column}
      begin{column}{width=0.5textwidth}
      Here is something.
      end{column}
      end{columns}
      end{frame}






      beamer itemize columns






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 24 at 14:13









      Bernard

      164k769193




      164k769193










      asked Nov 24 at 13:34









      Salman Khan

      376




      376






















          1 Answer
          1






          active

          oldest

          votes


















          4














          The culprit is width= in begin{column}{width=0.5textwidth}.



          documentclass{beamer}
          begin{document}
          begin{frame}[t]{Simulation Results & Observations}
          begin{itemize}
          item NCMSE based analysis of SiT-OMP & SiT-CoSaMP with variations in Sparsity (S)
          end{itemize}
          begin{columns}
          begin{column}{0.48textwidth}
          Here is something.
          end{column}
          begin{column}{0.48textwidth}
          Here is something.
          end{column}
          end{columns}
          end{frame}
          end{document}


          enter image description here



          EDIT: Decreased the width a tiny bit to prevent the second row from running over the frame. Big thanks to @samcarter!






          share|improve this answer



















          • 2




            Nice answer! Just a tiny suggestion: I would either use begin{columns}[onlytextwidth] or begin{column}{0.48textwidth}. Otherwise the columns will spill over into the margin.
            – samcarter
            Nov 24 at 13:59










          • Thanks everyone :-)
            – Salman Khan
            Nov 24 at 14:11











          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%2f461552%2fgetting-error-with-itemize-and-column-using-in-succession%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          4














          The culprit is width= in begin{column}{width=0.5textwidth}.



          documentclass{beamer}
          begin{document}
          begin{frame}[t]{Simulation Results & Observations}
          begin{itemize}
          item NCMSE based analysis of SiT-OMP & SiT-CoSaMP with variations in Sparsity (S)
          end{itemize}
          begin{columns}
          begin{column}{0.48textwidth}
          Here is something.
          end{column}
          begin{column}{0.48textwidth}
          Here is something.
          end{column}
          end{columns}
          end{frame}
          end{document}


          enter image description here



          EDIT: Decreased the width a tiny bit to prevent the second row from running over the frame. Big thanks to @samcarter!






          share|improve this answer



















          • 2




            Nice answer! Just a tiny suggestion: I would either use begin{columns}[onlytextwidth] or begin{column}{0.48textwidth}. Otherwise the columns will spill over into the margin.
            – samcarter
            Nov 24 at 13:59










          • Thanks everyone :-)
            – Salman Khan
            Nov 24 at 14:11
















          4














          The culprit is width= in begin{column}{width=0.5textwidth}.



          documentclass{beamer}
          begin{document}
          begin{frame}[t]{Simulation Results & Observations}
          begin{itemize}
          item NCMSE based analysis of SiT-OMP & SiT-CoSaMP with variations in Sparsity (S)
          end{itemize}
          begin{columns}
          begin{column}{0.48textwidth}
          Here is something.
          end{column}
          begin{column}{0.48textwidth}
          Here is something.
          end{column}
          end{columns}
          end{frame}
          end{document}


          enter image description here



          EDIT: Decreased the width a tiny bit to prevent the second row from running over the frame. Big thanks to @samcarter!






          share|improve this answer



















          • 2




            Nice answer! Just a tiny suggestion: I would either use begin{columns}[onlytextwidth] or begin{column}{0.48textwidth}. Otherwise the columns will spill over into the margin.
            – samcarter
            Nov 24 at 13:59










          • Thanks everyone :-)
            – Salman Khan
            Nov 24 at 14:11














          4












          4








          4






          The culprit is width= in begin{column}{width=0.5textwidth}.



          documentclass{beamer}
          begin{document}
          begin{frame}[t]{Simulation Results & Observations}
          begin{itemize}
          item NCMSE based analysis of SiT-OMP & SiT-CoSaMP with variations in Sparsity (S)
          end{itemize}
          begin{columns}
          begin{column}{0.48textwidth}
          Here is something.
          end{column}
          begin{column}{0.48textwidth}
          Here is something.
          end{column}
          end{columns}
          end{frame}
          end{document}


          enter image description here



          EDIT: Decreased the width a tiny bit to prevent the second row from running over the frame. Big thanks to @samcarter!






          share|improve this answer














          The culprit is width= in begin{column}{width=0.5textwidth}.



          documentclass{beamer}
          begin{document}
          begin{frame}[t]{Simulation Results & Observations}
          begin{itemize}
          item NCMSE based analysis of SiT-OMP & SiT-CoSaMP with variations in Sparsity (S)
          end{itemize}
          begin{columns}
          begin{column}{0.48textwidth}
          Here is something.
          end{column}
          begin{column}{0.48textwidth}
          Here is something.
          end{column}
          end{columns}
          end{frame}
          end{document}


          enter image description here



          EDIT: Decreased the width a tiny bit to prevent the second row from running over the frame. Big thanks to @samcarter!







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 24 at 14:05

























          answered Nov 24 at 13:37









          marmot

          84.6k495179




          84.6k495179








          • 2




            Nice answer! Just a tiny suggestion: I would either use begin{columns}[onlytextwidth] or begin{column}{0.48textwidth}. Otherwise the columns will spill over into the margin.
            – samcarter
            Nov 24 at 13:59










          • Thanks everyone :-)
            – Salman Khan
            Nov 24 at 14:11














          • 2




            Nice answer! Just a tiny suggestion: I would either use begin{columns}[onlytextwidth] or begin{column}{0.48textwidth}. Otherwise the columns will spill over into the margin.
            – samcarter
            Nov 24 at 13:59










          • Thanks everyone :-)
            – Salman Khan
            Nov 24 at 14:11








          2




          2




          Nice answer! Just a tiny suggestion: I would either use begin{columns}[onlytextwidth] or begin{column}{0.48textwidth}. Otherwise the columns will spill over into the margin.
          – samcarter
          Nov 24 at 13:59




          Nice answer! Just a tiny suggestion: I would either use begin{columns}[onlytextwidth] or begin{column}{0.48textwidth}. Otherwise the columns will spill over into the margin.
          – samcarter
          Nov 24 at 13:59












          Thanks everyone :-)
          – Salman Khan
          Nov 24 at 14:11




          Thanks everyone :-)
          – Salman Khan
          Nov 24 at 14:11


















          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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2f461552%2fgetting-error-with-itemize-and-column-using-in-succession%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

          Aardman Animations

          Are they similar matrix

          “minimization” problem in Euclidean space related to orthonormal basis