“Not in outer par mode” using table and tabular











up vote
0
down vote

favorite












This table is generating a "Not in outer par mode" error. I've tried reordering elements a few times but have yet to resolve the error.



begin{sidebar}
begin{table}
label{Tab:coding}
caption{Teacher and Notebook Codes}
begin{center}
begin{tabular}{|c|c|}
hline
Teacher ID & Notebook ID\
hline
T1 & NB1 \
T2 & NB2 \
T3 & NB3 \
T4 & NB4 \
T5 & NB5 \
hline
end{tabular}
end{center}
end{table}


end{sidebar}










share|improve this question









New contributor




Eric Mattson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1




    The problem is in sidebar, I think.
    – Sigur
    yesterday






  • 1




    please extend your code snippet to complete but small document (beginning with documentclass... and ending with end{document}), which we can test. also clarify where you like to have this table. welcome to tex.se
    – Zarko
    yesterday








  • 1




    Just to reiterate the above comments: without a complete document the chances are slim that you get help. Why? sidebar is usually associated with the beamer class, but you neither tag this question beamer nor would it make too much sense to use such a table in a beamer sidebar. So your sidebar is most likely something else, but it is clearly your responsibility to clarify this since otherwise users here may see themselves forced to close this question as "unclear what you are asking".
    – marmot
    22 hours ago






  • 1




    table is not really related to tabular (you could just use tabular directly), it is a floating environment that takes its content out of the document flow and inserts it where convenient for page breaking. As such it is not allowed in any nested box (and I guess your sidebar environment, for which you have not shown a definition, is such a box)
    – David Carlisle
    17 hours ago

















up vote
0
down vote

favorite












This table is generating a "Not in outer par mode" error. I've tried reordering elements a few times but have yet to resolve the error.



begin{sidebar}
begin{table}
label{Tab:coding}
caption{Teacher and Notebook Codes}
begin{center}
begin{tabular}{|c|c|}
hline
Teacher ID & Notebook ID\
hline
T1 & NB1 \
T2 & NB2 \
T3 & NB3 \
T4 & NB4 \
T5 & NB5 \
hline
end{tabular}
end{center}
end{table}


end{sidebar}










share|improve this question









New contributor




Eric Mattson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1




    The problem is in sidebar, I think.
    – Sigur
    yesterday






  • 1




    please extend your code snippet to complete but small document (beginning with documentclass... and ending with end{document}), which we can test. also clarify where you like to have this table. welcome to tex.se
    – Zarko
    yesterday








  • 1




    Just to reiterate the above comments: without a complete document the chances are slim that you get help. Why? sidebar is usually associated with the beamer class, but you neither tag this question beamer nor would it make too much sense to use such a table in a beamer sidebar. So your sidebar is most likely something else, but it is clearly your responsibility to clarify this since otherwise users here may see themselves forced to close this question as "unclear what you are asking".
    – marmot
    22 hours ago






  • 1




    table is not really related to tabular (you could just use tabular directly), it is a floating environment that takes its content out of the document flow and inserts it where convenient for page breaking. As such it is not allowed in any nested box (and I guess your sidebar environment, for which you have not shown a definition, is such a box)
    – David Carlisle
    17 hours ago















up vote
0
down vote

favorite









up vote
0
down vote

favorite











This table is generating a "Not in outer par mode" error. I've tried reordering elements a few times but have yet to resolve the error.



begin{sidebar}
begin{table}
label{Tab:coding}
caption{Teacher and Notebook Codes}
begin{center}
begin{tabular}{|c|c|}
hline
Teacher ID & Notebook ID\
hline
T1 & NB1 \
T2 & NB2 \
T3 & NB3 \
T4 & NB4 \
T5 & NB5 \
hline
end{tabular}
end{center}
end{table}


end{sidebar}










share|improve this question









New contributor




Eric Mattson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











This table is generating a "Not in outer par mode" error. I've tried reordering elements a few times but have yet to resolve the error.



begin{sidebar}
begin{table}
label{Tab:coding}
caption{Teacher and Notebook Codes}
begin{center}
begin{tabular}{|c|c|}
hline
Teacher ID & Notebook ID\
hline
T1 & NB1 \
T2 & NB2 \
T3 & NB3 \
T4 & NB4 \
T5 & NB5 \
hline
end{tabular}
end{center}
end{table}


end{sidebar}







tables errors






share|improve this question









New contributor




Eric Mattson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Eric Mattson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday









Zarko

116k865154




116k865154






New contributor




Eric Mattson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









Eric Mattson

1




1




New contributor




Eric Mattson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Eric Mattson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Eric Mattson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1




    The problem is in sidebar, I think.
    – Sigur
    yesterday






  • 1




    please extend your code snippet to complete but small document (beginning with documentclass... and ending with end{document}), which we can test. also clarify where you like to have this table. welcome to tex.se
    – Zarko
    yesterday








  • 1




    Just to reiterate the above comments: without a complete document the chances are slim that you get help. Why? sidebar is usually associated with the beamer class, but you neither tag this question beamer nor would it make too much sense to use such a table in a beamer sidebar. So your sidebar is most likely something else, but it is clearly your responsibility to clarify this since otherwise users here may see themselves forced to close this question as "unclear what you are asking".
    – marmot
    22 hours ago






  • 1




    table is not really related to tabular (you could just use tabular directly), it is a floating environment that takes its content out of the document flow and inserts it where convenient for page breaking. As such it is not allowed in any nested box (and I guess your sidebar environment, for which you have not shown a definition, is such a box)
    – David Carlisle
    17 hours ago
















  • 1




    The problem is in sidebar, I think.
    – Sigur
    yesterday






  • 1




    please extend your code snippet to complete but small document (beginning with documentclass... and ending with end{document}), which we can test. also clarify where you like to have this table. welcome to tex.se
    – Zarko
    yesterday








  • 1




    Just to reiterate the above comments: without a complete document the chances are slim that you get help. Why? sidebar is usually associated with the beamer class, but you neither tag this question beamer nor would it make too much sense to use such a table in a beamer sidebar. So your sidebar is most likely something else, but it is clearly your responsibility to clarify this since otherwise users here may see themselves forced to close this question as "unclear what you are asking".
    – marmot
    22 hours ago






  • 1




    table is not really related to tabular (you could just use tabular directly), it is a floating environment that takes its content out of the document flow and inserts it where convenient for page breaking. As such it is not allowed in any nested box (and I guess your sidebar environment, for which you have not shown a definition, is such a box)
    – David Carlisle
    17 hours ago










1




1




The problem is in sidebar, I think.
– Sigur
yesterday




The problem is in sidebar, I think.
– Sigur
yesterday




1




1




please extend your code snippet to complete but small document (beginning with documentclass... and ending with end{document}), which we can test. also clarify where you like to have this table. welcome to tex.se
– Zarko
yesterday






please extend your code snippet to complete but small document (beginning with documentclass... and ending with end{document}), which we can test. also clarify where you like to have this table. welcome to tex.se
– Zarko
yesterday






1




1




Just to reiterate the above comments: without a complete document the chances are slim that you get help. Why? sidebar is usually associated with the beamer class, but you neither tag this question beamer nor would it make too much sense to use such a table in a beamer sidebar. So your sidebar is most likely something else, but it is clearly your responsibility to clarify this since otherwise users here may see themselves forced to close this question as "unclear what you are asking".
– marmot
22 hours ago




Just to reiterate the above comments: without a complete document the chances are slim that you get help. Why? sidebar is usually associated with the beamer class, but you neither tag this question beamer nor would it make too much sense to use such a table in a beamer sidebar. So your sidebar is most likely something else, but it is clearly your responsibility to clarify this since otherwise users here may see themselves forced to close this question as "unclear what you are asking".
– marmot
22 hours ago




1




1




table is not really related to tabular (you could just use tabular directly), it is a floating environment that takes its content out of the document flow and inserts it where convenient for page breaking. As such it is not allowed in any nested box (and I guess your sidebar environment, for which you have not shown a definition, is such a box)
– David Carlisle
17 hours ago






table is not really related to tabular (you could just use tabular directly), it is a floating environment that takes its content out of the document flow and inserts it where convenient for page breaking. As such it is not allowed in any nested box (and I guess your sidebar environment, for which you have not shown a definition, is such a box)
– David Carlisle
17 hours ago

















active

oldest

votes











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',
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
});


}
});






Eric Mattson is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461649%2fnot-in-outer-par-mode-using-table-and-tabular%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








Eric Mattson is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















Eric Mattson is a new contributor. Be nice, and check out our Code of Conduct.













Eric Mattson is a new contributor. Be nice, and check out our Code of Conduct.












Eric Mattson is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461649%2fnot-in-outer-par-mode-using-table-and-tabular%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

Entries order in /etc/network/interfaces

新発田市

Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)