Getting error with itemize and column using in succession
up vote
3
down vote
favorite
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 |
up vote
3
down vote
favorite
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 |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
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 2 days ago
Bernard
162k767192
162k767192
asked 2 days ago
Salman Khan
376
376
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
4
down vote
accepted
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
2 days ago
Thanks everyone :-)
– Salman Khan
2 days ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
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
2 days ago
Thanks everyone :-)
– Salman Khan
2 days ago
add a comment |
up vote
4
down vote
accepted
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
2 days ago
Thanks everyone :-)
– Salman Khan
2 days ago
add a comment |
up vote
4
down vote
accepted
up vote
4
down vote
accepted
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 2 days ago
answered 2 days ago
marmot
78.3k487166
78.3k487166
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
2 days ago
Thanks everyone :-)
– Salman Khan
2 days ago
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
2 days ago
Thanks everyone :-)
– Salman Khan
2 days ago
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
2 days ago
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
2 days ago
Thanks everyone :-)
– Salman Khan
2 days ago
Thanks everyone :-)
– Salman Khan
2 days ago
add a comment |
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