minipage for columns has problems with itemize
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

So the question is how can I force them the start at the same height?
itemize minipage
add a comment |
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

So the question is how can I force them the start at the same height?
itemize minipage
add a comment |
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

So the question is how can I force them the start at the same height?
itemize minipage
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

So the question is how can I force them the start at the same height?
itemize minipage
itemize minipage
edited 4 hours ago
AboAmmar
33.8k32883
33.8k32883
asked 6 hours ago
Nathanael SkrepekNathanael Skrepek
1496
1496
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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}
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}
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'scolumns.
– AboAmmar
5 hours ago
add a comment |
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}

add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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}
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}
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'scolumns.
– AboAmmar
5 hours ago
add a comment |
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}
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}
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'scolumns.
– AboAmmar
5 hours ago
add a comment |
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}
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}
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}
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}
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'scolumns.
– AboAmmar
5 hours ago
add a comment |
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'scolumns.
– 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
add a comment |
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}

add a comment |
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}

add a comment |
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}

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}

answered 5 hours ago
ZarkoZarko
125k866164
125k866164
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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

