Prevent table from going out of the page












3














Hi I am having an issue when trying to create tables that are twofold:



(1) The contents of the second columns keep going out of the page even when I try to create line breaks. (Preferably I would like to avoid using line breaks and would prefer if Texmaker would automatically create a new line instead of going out of the page).



(2) The contents of the second columns do not always start from the left of the box.



I only have two columns and it is the second column with the descriptions (i.e. blah blah) that are causing the problems.



begin{table}[h]
begin{center}
begin{tabular}{|l|r|}
hline
textbf{Architecture} & textbf{Limitations} \ hline

Header1 & begin{tabular}[c]{@{}l@{}}
blah blah blah blah blah blah blah blah \ blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah \ blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah \ blah blah blah blah blah blah blah blah\blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
end{tabular}\ hline

Header2&
begin{tabular}[c]{@{}l@{}}
blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah. \ \ \
end{tabular}\ hline
Header3&
begin{tabular}[c]{@{}l@{}}
blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
end{tabular} \ hline
Header4&
blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah. \ hline
end{tabular}
end{center}
end{table}









share|improve this question









New contributor




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




















  • You can see some other answers here or here. The first uses the array package, while the second simply uses the p{} column definition to do the job.
    – Partha D.
    2 days ago
















3














Hi I am having an issue when trying to create tables that are twofold:



(1) The contents of the second columns keep going out of the page even when I try to create line breaks. (Preferably I would like to avoid using line breaks and would prefer if Texmaker would automatically create a new line instead of going out of the page).



(2) The contents of the second columns do not always start from the left of the box.



I only have two columns and it is the second column with the descriptions (i.e. blah blah) that are causing the problems.



begin{table}[h]
begin{center}
begin{tabular}{|l|r|}
hline
textbf{Architecture} & textbf{Limitations} \ hline

Header1 & begin{tabular}[c]{@{}l@{}}
blah blah blah blah blah blah blah blah \ blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah \ blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah \ blah blah blah blah blah blah blah blah\blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
end{tabular}\ hline

Header2&
begin{tabular}[c]{@{}l@{}}
blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah. \ \ \
end{tabular}\ hline
Header3&
begin{tabular}[c]{@{}l@{}}
blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
end{tabular} \ hline
Header4&
blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah. \ hline
end{tabular}
end{center}
end{table}









share|improve this question









New contributor




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




















  • You can see some other answers here or here. The first uses the array package, while the second simply uses the p{} column definition to do the job.
    – Partha D.
    2 days ago














3












3








3


1





Hi I am having an issue when trying to create tables that are twofold:



(1) The contents of the second columns keep going out of the page even when I try to create line breaks. (Preferably I would like to avoid using line breaks and would prefer if Texmaker would automatically create a new line instead of going out of the page).



(2) The contents of the second columns do not always start from the left of the box.



I only have two columns and it is the second column with the descriptions (i.e. blah blah) that are causing the problems.



begin{table}[h]
begin{center}
begin{tabular}{|l|r|}
hline
textbf{Architecture} & textbf{Limitations} \ hline

Header1 & begin{tabular}[c]{@{}l@{}}
blah blah blah blah blah blah blah blah \ blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah \ blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah \ blah blah blah blah blah blah blah blah\blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
end{tabular}\ hline

Header2&
begin{tabular}[c]{@{}l@{}}
blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah. \ \ \
end{tabular}\ hline
Header3&
begin{tabular}[c]{@{}l@{}}
blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
end{tabular} \ hline
Header4&
blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah. \ hline
end{tabular}
end{center}
end{table}









share|improve this question









New contributor




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











Hi I am having an issue when trying to create tables that are twofold:



(1) The contents of the second columns keep going out of the page even when I try to create line breaks. (Preferably I would like to avoid using line breaks and would prefer if Texmaker would automatically create a new line instead of going out of the page).



(2) The contents of the second columns do not always start from the left of the box.



I only have two columns and it is the second column with the descriptions (i.e. blah blah) that are causing the problems.



begin{table}[h]
begin{center}
begin{tabular}{|l|r|}
hline
textbf{Architecture} & textbf{Limitations} \ hline

Header1 & begin{tabular}[c]{@{}l@{}}
blah blah blah blah blah blah blah blah \ blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah \ blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah \ blah blah blah blah blah blah blah blah\blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
end{tabular}\ hline

Header2&
begin{tabular}[c]{@{}l@{}}
blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah. \ \ \
end{tabular}\ hline
Header3&
begin{tabular}[c]{@{}l@{}}
blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
end{tabular} \ hline
Header4&
blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah. \ hline
end{tabular}
end{center}
end{table}






tables






share|improve this question









New contributor




Mellow 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




Mellow 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 2 days ago









Circumscribe

4,8861533




4,8861533






New contributor




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









asked 2 days ago









MellowMellow

184




184




New contributor




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





New contributor





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






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












  • You can see some other answers here or here. The first uses the array package, while the second simply uses the p{} column definition to do the job.
    – Partha D.
    2 days ago


















  • You can see some other answers here or here. The first uses the array package, while the second simply uses the p{} column definition to do the job.
    – Partha D.
    2 days ago
















You can see some other answers here or here. The first uses the array package, while the second simply uses the p{} column definition to do the job.
– Partha D.
2 days ago




You can see some other answers here or here. The first uses the array package, while the second simply uses the p{} column definition to do the job.
– Partha D.
2 days ago










1 Answer
1






active

oldest

votes


















3














i suppose, that you looking for the following:



enter image description here



documentclass{article}
usepackage{tabularx}

begin{document}

begin{table}[h]
centering
begin{tabularx}{linewidth}{|l|>{raggedrightarraybackslash}X|}
hline
textbf{Architecture} & textbf{Limitations} \
hline
Header1 & blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline

Header2 & blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline
Header3 & blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline
Header4 & blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline
end{tabularx}
end{table}
end{document}


Note:




  • usecenter environment ad additional vertical space around tabular. for its centering on table float environment is better to use command centering (see mwe below).

  • you nested tabular with column type c, which not automatic break lines when table reach desired width. apparently your manual breaking of text content is not adequate, so you have to long text rows that they can be placed on page

  • suggested use of tabularx enable to automatic calculation of width of the second column and breaking a text in it.






share|improve this answer























  • Thanks! This worked - unfortunately I can not +1 this as I don't have enough points for that privilege yet.
    – Mellow
    2 days ago










  • @Mellow, you will do when you earn enough reputation :-). welcome to tex.se!
    – Zarko
    2 days ago










  • Thanks for your help again :-)
    – Mellow
    2 days ago










  • I have just given you a '+1' now as I met the reputation threshold :)
    – Mellow
    yesterday










  • congratulation for cross a threshold! happy texting!
    – Zarko
    yesterday











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


}
});






Mellow 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%2f469133%2fprevent-table-from-going-out-of-the-page%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









3














i suppose, that you looking for the following:



enter image description here



documentclass{article}
usepackage{tabularx}

begin{document}

begin{table}[h]
centering
begin{tabularx}{linewidth}{|l|>{raggedrightarraybackslash}X|}
hline
textbf{Architecture} & textbf{Limitations} \
hline
Header1 & blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline

Header2 & blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline
Header3 & blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline
Header4 & blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline
end{tabularx}
end{table}
end{document}


Note:




  • usecenter environment ad additional vertical space around tabular. for its centering on table float environment is better to use command centering (see mwe below).

  • you nested tabular with column type c, which not automatic break lines when table reach desired width. apparently your manual breaking of text content is not adequate, so you have to long text rows that they can be placed on page

  • suggested use of tabularx enable to automatic calculation of width of the second column and breaking a text in it.






share|improve this answer























  • Thanks! This worked - unfortunately I can not +1 this as I don't have enough points for that privilege yet.
    – Mellow
    2 days ago










  • @Mellow, you will do when you earn enough reputation :-). welcome to tex.se!
    – Zarko
    2 days ago










  • Thanks for your help again :-)
    – Mellow
    2 days ago










  • I have just given you a '+1' now as I met the reputation threshold :)
    – Mellow
    yesterday










  • congratulation for cross a threshold! happy texting!
    – Zarko
    yesterday
















3














i suppose, that you looking for the following:



enter image description here



documentclass{article}
usepackage{tabularx}

begin{document}

begin{table}[h]
centering
begin{tabularx}{linewidth}{|l|>{raggedrightarraybackslash}X|}
hline
textbf{Architecture} & textbf{Limitations} \
hline
Header1 & blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline

Header2 & blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline
Header3 & blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline
Header4 & blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline
end{tabularx}
end{table}
end{document}


Note:




  • usecenter environment ad additional vertical space around tabular. for its centering on table float environment is better to use command centering (see mwe below).

  • you nested tabular with column type c, which not automatic break lines when table reach desired width. apparently your manual breaking of text content is not adequate, so you have to long text rows that they can be placed on page

  • suggested use of tabularx enable to automatic calculation of width of the second column and breaking a text in it.






share|improve this answer























  • Thanks! This worked - unfortunately I can not +1 this as I don't have enough points for that privilege yet.
    – Mellow
    2 days ago










  • @Mellow, you will do when you earn enough reputation :-). welcome to tex.se!
    – Zarko
    2 days ago










  • Thanks for your help again :-)
    – Mellow
    2 days ago










  • I have just given you a '+1' now as I met the reputation threshold :)
    – Mellow
    yesterday










  • congratulation for cross a threshold! happy texting!
    – Zarko
    yesterday














3












3








3






i suppose, that you looking for the following:



enter image description here



documentclass{article}
usepackage{tabularx}

begin{document}

begin{table}[h]
centering
begin{tabularx}{linewidth}{|l|>{raggedrightarraybackslash}X|}
hline
textbf{Architecture} & textbf{Limitations} \
hline
Header1 & blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline

Header2 & blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline
Header3 & blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline
Header4 & blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline
end{tabularx}
end{table}
end{document}


Note:




  • usecenter environment ad additional vertical space around tabular. for its centering on table float environment is better to use command centering (see mwe below).

  • you nested tabular with column type c, which not automatic break lines when table reach desired width. apparently your manual breaking of text content is not adequate, so you have to long text rows that they can be placed on page

  • suggested use of tabularx enable to automatic calculation of width of the second column and breaking a text in it.






share|improve this answer














i suppose, that you looking for the following:



enter image description here



documentclass{article}
usepackage{tabularx}

begin{document}

begin{table}[h]
centering
begin{tabularx}{linewidth}{|l|>{raggedrightarraybackslash}X|}
hline
textbf{Architecture} & textbf{Limitations} \
hline
Header1 & blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline

Header2 & blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline
Header3 & blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline
Header4 & blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah.
\ hline
end{tabularx}
end{table}
end{document}


Note:




  • usecenter environment ad additional vertical space around tabular. for its centering on table float environment is better to use command centering (see mwe below).

  • you nested tabular with column type c, which not automatic break lines when table reach desired width. apparently your manual breaking of text content is not adequate, so you have to long text rows that they can be placed on page

  • suggested use of tabularx enable to automatic calculation of width of the second column and breaking a text in it.







share|improve this answer














share|improve this answer



share|improve this answer








edited 2 days ago









Partha D.

35816




35816










answered 2 days ago









ZarkoZarko

122k865158




122k865158












  • Thanks! This worked - unfortunately I can not +1 this as I don't have enough points for that privilege yet.
    – Mellow
    2 days ago










  • @Mellow, you will do when you earn enough reputation :-). welcome to tex.se!
    – Zarko
    2 days ago










  • Thanks for your help again :-)
    – Mellow
    2 days ago










  • I have just given you a '+1' now as I met the reputation threshold :)
    – Mellow
    yesterday










  • congratulation for cross a threshold! happy texting!
    – Zarko
    yesterday


















  • Thanks! This worked - unfortunately I can not +1 this as I don't have enough points for that privilege yet.
    – Mellow
    2 days ago










  • @Mellow, you will do when you earn enough reputation :-). welcome to tex.se!
    – Zarko
    2 days ago










  • Thanks for your help again :-)
    – Mellow
    2 days ago










  • I have just given you a '+1' now as I met the reputation threshold :)
    – Mellow
    yesterday










  • congratulation for cross a threshold! happy texting!
    – Zarko
    yesterday
















Thanks! This worked - unfortunately I can not +1 this as I don't have enough points for that privilege yet.
– Mellow
2 days ago




Thanks! This worked - unfortunately I can not +1 this as I don't have enough points for that privilege yet.
– Mellow
2 days ago












@Mellow, you will do when you earn enough reputation :-). welcome to tex.se!
– Zarko
2 days ago




@Mellow, you will do when you earn enough reputation :-). welcome to tex.se!
– Zarko
2 days ago












Thanks for your help again :-)
– Mellow
2 days ago




Thanks for your help again :-)
– Mellow
2 days ago












I have just given you a '+1' now as I met the reputation threshold :)
– Mellow
yesterday




I have just given you a '+1' now as I met the reputation threshold :)
– Mellow
yesterday












congratulation for cross a threshold! happy texting!
– Zarko
yesterday




congratulation for cross a threshold! happy texting!
– Zarko
yesterday










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










draft saved

draft discarded


















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













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












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
















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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f469133%2fprevent-table-from-going-out-of-the-page%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

1300-talet

1300-talet

Display a custom attribute below product name in the front-end Magento 1.9.3.8