minipage for columns has problems with itemize












1















I tried to make two columns in my beamer presentation, but apparently there is an issue with itemize. The the columns don't start at the same height for some reason I don't understand.



Here is the code:



documentclass[%
hyperref={colorlinks=true,urlcolor=blue},%
t,%
aspectratio=169%
]{beamer}
begin{document}
begin{frame}
frametitle{Introduction}
fbox{begin{minipage}[t]{.5textwidth}
begin{itemize}
item hallo
end{itemize}
end{minipage}}%
fbox{begin{minipage}[t]{.5textwidth}
hallo
end{minipage}}
end{frame}
end{document}


and the result



enter image description here



So the question is how can I force them the start at the same height?










share|improve this question





























    1















    I tried to make two columns in my beamer presentation, but apparently there is an issue with itemize. The the columns don't start at the same height for some reason I don't understand.



    Here is the code:



    documentclass[%
    hyperref={colorlinks=true,urlcolor=blue},%
    t,%
    aspectratio=169%
    ]{beamer}
    begin{document}
    begin{frame}
    frametitle{Introduction}
    fbox{begin{minipage}[t]{.5textwidth}
    begin{itemize}
    item hallo
    end{itemize}
    end{minipage}}%
    fbox{begin{minipage}[t]{.5textwidth}
    hallo
    end{minipage}}
    end{frame}
    end{document}


    and the result



    enter image description here



    So the question is how can I force them the start at the same height?










    share|improve this question



























      1












      1








      1








      I tried to make two columns in my beamer presentation, but apparently there is an issue with itemize. The the columns don't start at the same height for some reason I don't understand.



      Here is the code:



      documentclass[%
      hyperref={colorlinks=true,urlcolor=blue},%
      t,%
      aspectratio=169%
      ]{beamer}
      begin{document}
      begin{frame}
      frametitle{Introduction}
      fbox{begin{minipage}[t]{.5textwidth}
      begin{itemize}
      item hallo
      end{itemize}
      end{minipage}}%
      fbox{begin{minipage}[t]{.5textwidth}
      hallo
      end{minipage}}
      end{frame}
      end{document}


      and the result



      enter image description here



      So the question is how can I force them the start at the same height?










      share|improve this question
















      I tried to make two columns in my beamer presentation, but apparently there is an issue with itemize. The the columns don't start at the same height for some reason I don't understand.



      Here is the code:



      documentclass[%
      hyperref={colorlinks=true,urlcolor=blue},%
      t,%
      aspectratio=169%
      ]{beamer}
      begin{document}
      begin{frame}
      frametitle{Introduction}
      fbox{begin{minipage}[t]{.5textwidth}
      begin{itemize}
      item hallo
      end{itemize}
      end{minipage}}%
      fbox{begin{minipage}[t]{.5textwidth}
      hallo
      end{minipage}}
      end{frame}
      end{document}


      and the result



      enter image description here



      So the question is how can I force them the start at the same height?







      itemize minipage






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 4 hours ago









      AboAmmar

      33.8k32883




      33.8k32883










      asked 6 hours ago









      Nathanael SkrepekNathanael Skrepek

      1496




      1496






















          2 Answers
          2






          active

          oldest

          votes


















          2














          A quick fix; use the T option for the minipage instead.



          documentclass[%
          hyperref={colorlinks=true,urlcolor=blue},%
          t,%
          aspectratio=169%
          ]{beamer}
          begin{document}
          begin{frame}
          frametitle{Introduction}
          fbox{begin{minipage}[T]{.5textwidth}
          begin{itemize}
          item hallo
          end{itemize}
          end{minipage}}%
          fbox{begin{minipage}[T]{.5textwidth}
          hallo
          end{minipage}}
          end{frame}
          end{document}



          enter image description here




          Edit:



          And the beamer solution is using columns:



          documentclass[%
          hyperref={colorlinks=true,urlcolor=blue},%
          t,%
          aspectratio=169%
          ]{beamer}
          begin{document}

          begin{frame}{Introduction}

          begin{columns}
          begin{column}[T]{0.5textwidth}
          fbox{begin{minipage}{textwidth}%
          begin{itemize}
          item hallo
          item hallo
          end{itemize}
          end{minipage}}%
          end{column}
          begin{column}[T]{0.5textwidth}
          fbox{begin{minipage}{textwidth}
          hallo
          end{minipage}}
          end{column}
          end{columns}

          end{frame}

          end{document}



          enter image description here







          share|improve this answer


























          • okay the capital T is the solution. However, now If the boxes don't have the same height they again don't start at the same position :(

            – Nathanael Skrepek
            6 hours ago











          • I've added another solution using beamer's columns.

            – AboAmmar
            5 hours ago





















          2














          with tabularx and small manual tweak?



          documentclass[ hyperref={colorlinks=true,urlcolor=blue},%
          t,%
          aspectratio=169%
          ]{beamer}
          usepackage{tabularx}
          makeatletter
          newcommand*{compress}{@minipagetrue}
          makeatother
          newcolumntype{I}{ >{compressitemize}X<{enditemize}}

          begin{document}
          begin{frame}
          frametitle{Introduction}
          begin{tabularx}{linewidth}{|I|X|}
          hline
          item hallo
          item hallo
          & vspace*{-2pt}
          hallo \
          hline
          end{tabularx}
          end{frame}
          end{document}


          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%2f475539%2fminipage-for-columns-has-problems-with-itemize%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









            2














            A quick fix; use the T option for the minipage instead.



            documentclass[%
            hyperref={colorlinks=true,urlcolor=blue},%
            t,%
            aspectratio=169%
            ]{beamer}
            begin{document}
            begin{frame}
            frametitle{Introduction}
            fbox{begin{minipage}[T]{.5textwidth}
            begin{itemize}
            item hallo
            end{itemize}
            end{minipage}}%
            fbox{begin{minipage}[T]{.5textwidth}
            hallo
            end{minipage}}
            end{frame}
            end{document}



            enter image description here




            Edit:



            And the beamer solution is using columns:



            documentclass[%
            hyperref={colorlinks=true,urlcolor=blue},%
            t,%
            aspectratio=169%
            ]{beamer}
            begin{document}

            begin{frame}{Introduction}

            begin{columns}
            begin{column}[T]{0.5textwidth}
            fbox{begin{minipage}{textwidth}%
            begin{itemize}
            item hallo
            item hallo
            end{itemize}
            end{minipage}}%
            end{column}
            begin{column}[T]{0.5textwidth}
            fbox{begin{minipage}{textwidth}
            hallo
            end{minipage}}
            end{column}
            end{columns}

            end{frame}

            end{document}



            enter image description here







            share|improve this answer


























            • okay the capital T is the solution. However, now If the boxes don't have the same height they again don't start at the same position :(

              – Nathanael Skrepek
              6 hours ago











            • I've added another solution using beamer's columns.

              – AboAmmar
              5 hours ago


















            2














            A quick fix; use the T option for the minipage instead.



            documentclass[%
            hyperref={colorlinks=true,urlcolor=blue},%
            t,%
            aspectratio=169%
            ]{beamer}
            begin{document}
            begin{frame}
            frametitle{Introduction}
            fbox{begin{minipage}[T]{.5textwidth}
            begin{itemize}
            item hallo
            end{itemize}
            end{minipage}}%
            fbox{begin{minipage}[T]{.5textwidth}
            hallo
            end{minipage}}
            end{frame}
            end{document}



            enter image description here




            Edit:



            And the beamer solution is using columns:



            documentclass[%
            hyperref={colorlinks=true,urlcolor=blue},%
            t,%
            aspectratio=169%
            ]{beamer}
            begin{document}

            begin{frame}{Introduction}

            begin{columns}
            begin{column}[T]{0.5textwidth}
            fbox{begin{minipage}{textwidth}%
            begin{itemize}
            item hallo
            item hallo
            end{itemize}
            end{minipage}}%
            end{column}
            begin{column}[T]{0.5textwidth}
            fbox{begin{minipage}{textwidth}
            hallo
            end{minipage}}
            end{column}
            end{columns}

            end{frame}

            end{document}



            enter image description here







            share|improve this answer


























            • okay the capital T is the solution. However, now If the boxes don't have the same height they again don't start at the same position :(

              – Nathanael Skrepek
              6 hours ago











            • I've added another solution using beamer's columns.

              – AboAmmar
              5 hours ago
















            2












            2








            2







            A quick fix; use the T option for the minipage instead.



            documentclass[%
            hyperref={colorlinks=true,urlcolor=blue},%
            t,%
            aspectratio=169%
            ]{beamer}
            begin{document}
            begin{frame}
            frametitle{Introduction}
            fbox{begin{minipage}[T]{.5textwidth}
            begin{itemize}
            item hallo
            end{itemize}
            end{minipage}}%
            fbox{begin{minipage}[T]{.5textwidth}
            hallo
            end{minipage}}
            end{frame}
            end{document}



            enter image description here




            Edit:



            And the beamer solution is using columns:



            documentclass[%
            hyperref={colorlinks=true,urlcolor=blue},%
            t,%
            aspectratio=169%
            ]{beamer}
            begin{document}

            begin{frame}{Introduction}

            begin{columns}
            begin{column}[T]{0.5textwidth}
            fbox{begin{minipage}{textwidth}%
            begin{itemize}
            item hallo
            item hallo
            end{itemize}
            end{minipage}}%
            end{column}
            begin{column}[T]{0.5textwidth}
            fbox{begin{minipage}{textwidth}
            hallo
            end{minipage}}
            end{column}
            end{columns}

            end{frame}

            end{document}



            enter image description here







            share|improve this answer















            A quick fix; use the T option for the minipage instead.



            documentclass[%
            hyperref={colorlinks=true,urlcolor=blue},%
            t,%
            aspectratio=169%
            ]{beamer}
            begin{document}
            begin{frame}
            frametitle{Introduction}
            fbox{begin{minipage}[T]{.5textwidth}
            begin{itemize}
            item hallo
            end{itemize}
            end{minipage}}%
            fbox{begin{minipage}[T]{.5textwidth}
            hallo
            end{minipage}}
            end{frame}
            end{document}



            enter image description here




            Edit:



            And the beamer solution is using columns:



            documentclass[%
            hyperref={colorlinks=true,urlcolor=blue},%
            t,%
            aspectratio=169%
            ]{beamer}
            begin{document}

            begin{frame}{Introduction}

            begin{columns}
            begin{column}[T]{0.5textwidth}
            fbox{begin{minipage}{textwidth}%
            begin{itemize}
            item hallo
            item hallo
            end{itemize}
            end{minipage}}%
            end{column}
            begin{column}[T]{0.5textwidth}
            fbox{begin{minipage}{textwidth}
            hallo
            end{minipage}}
            end{column}
            end{columns}

            end{frame}

            end{document}



            enter image description here








            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 5 hours ago

























            answered 6 hours ago









            AboAmmarAboAmmar

            33.8k32883




            33.8k32883













            • okay the capital T is the solution. However, now If the boxes don't have the same height they again don't start at the same position :(

              – Nathanael Skrepek
              6 hours ago











            • I've added another solution using beamer's columns.

              – AboAmmar
              5 hours ago





















            • okay the capital T is the solution. However, now If the boxes don't have the same height they again don't start at the same position :(

              – Nathanael Skrepek
              6 hours ago











            • I've added another solution using beamer's columns.

              – AboAmmar
              5 hours ago



















            okay the capital T is the solution. However, now If the boxes don't have the same height they again don't start at the same position :(

            – Nathanael Skrepek
            6 hours ago





            okay the capital T is the solution. However, now If the boxes don't have the same height they again don't start at the same position :(

            – Nathanael Skrepek
            6 hours ago













            I've added another solution using beamer's columns.

            – AboAmmar
            5 hours ago







            I've added another solution using beamer's columns.

            – AboAmmar
            5 hours ago













            2














            with tabularx and small manual tweak?



            documentclass[ hyperref={colorlinks=true,urlcolor=blue},%
            t,%
            aspectratio=169%
            ]{beamer}
            usepackage{tabularx}
            makeatletter
            newcommand*{compress}{@minipagetrue}
            makeatother
            newcolumntype{I}{ >{compressitemize}X<{enditemize}}

            begin{document}
            begin{frame}
            frametitle{Introduction}
            begin{tabularx}{linewidth}{|I|X|}
            hline
            item hallo
            item hallo
            & vspace*{-2pt}
            hallo \
            hline
            end{tabularx}
            end{frame}
            end{document}


            enter image description here






            share|improve this answer




























              2














              with tabularx and small manual tweak?



              documentclass[ hyperref={colorlinks=true,urlcolor=blue},%
              t,%
              aspectratio=169%
              ]{beamer}
              usepackage{tabularx}
              makeatletter
              newcommand*{compress}{@minipagetrue}
              makeatother
              newcolumntype{I}{ >{compressitemize}X<{enditemize}}

              begin{document}
              begin{frame}
              frametitle{Introduction}
              begin{tabularx}{linewidth}{|I|X|}
              hline
              item hallo
              item hallo
              & vspace*{-2pt}
              hallo \
              hline
              end{tabularx}
              end{frame}
              end{document}


              enter image description here






              share|improve this answer


























                2












                2








                2







                with tabularx and small manual tweak?



                documentclass[ hyperref={colorlinks=true,urlcolor=blue},%
                t,%
                aspectratio=169%
                ]{beamer}
                usepackage{tabularx}
                makeatletter
                newcommand*{compress}{@minipagetrue}
                makeatother
                newcolumntype{I}{ >{compressitemize}X<{enditemize}}

                begin{document}
                begin{frame}
                frametitle{Introduction}
                begin{tabularx}{linewidth}{|I|X|}
                hline
                item hallo
                item hallo
                & vspace*{-2pt}
                hallo \
                hline
                end{tabularx}
                end{frame}
                end{document}


                enter image description here






                share|improve this answer













                with tabularx and small manual tweak?



                documentclass[ hyperref={colorlinks=true,urlcolor=blue},%
                t,%
                aspectratio=169%
                ]{beamer}
                usepackage{tabularx}
                makeatletter
                newcommand*{compress}{@minipagetrue}
                makeatother
                newcolumntype{I}{ >{compressitemize}X<{enditemize}}

                begin{document}
                begin{frame}
                frametitle{Introduction}
                begin{tabularx}{linewidth}{|I|X|}
                hline
                item hallo
                item hallo
                & vspace*{-2pt}
                hallo \
                hline
                end{tabularx}
                end{frame}
                end{document}


                enter image description here







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 5 hours ago









                ZarkoZarko

                125k866164




                125k866164






























                    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%2f475539%2fminipage-for-columns-has-problems-with-itemize%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

                    Mouse cursor on multiple screens with different PPI

                    Agildo Ribeiro

                    Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”