Getting error with itemize and column using in succession
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
add a comment |
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
add a comment |
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
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
beamer itemize columns
edited Nov 24 at 14:13
Bernard
164k769193
164k769193
asked Nov 24 at 13:34
Salman Khan
376
376
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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}
EDIT: Decreased the width a tiny bit to prevent the second row from running over the frame. Big thanks to @samcarter!
2
Nice answer! Just a tiny suggestion: I would either usebegin{columns}[onlytextwidth]
orbegin{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
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%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
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}
EDIT: Decreased the width a tiny bit to prevent the second row from running over the frame. Big thanks to @samcarter!
2
Nice answer! Just a tiny suggestion: I would either usebegin{columns}[onlytextwidth]
orbegin{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
add a comment |
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}
EDIT: Decreased the width a tiny bit to prevent the second row from running over the frame. Big thanks to @samcarter!
2
Nice answer! Just a tiny suggestion: I would either usebegin{columns}[onlytextwidth]
orbegin{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
add a comment |
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}
EDIT: Decreased the width a tiny bit to prevent the second row from running over the frame. Big thanks to @samcarter!
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}
EDIT: Decreased the width a tiny bit to prevent the second row from running over the frame. Big thanks to @samcarter!
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 usebegin{columns}[onlytextwidth]
orbegin{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
add a comment |
2
Nice answer! Just a tiny suggestion: I would either usebegin{columns}[onlytextwidth]
orbegin{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
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.
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.
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%2f461552%2fgetting-error-with-itemize-and-column-using-in-succession%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