Fit a very wide table on the page












1














I am showing a comaprison in a table. As shown in the LaTeX code below, the information I specify in the second column, second row is a bit long. When I compile the code, that information in the table does not show up completely. The information is not split across lines either.



My question is, how to show the information in the second row second column as whole, without losing it.



begin{table}[h]
caption{Performance After Post Filtering} % title name of the table
centering % centering table
begin{tabular}{l c c rrrrrrr} % creating 10 columns
hlinehline % inserting double-line

&InsecureRFComm &RFComm
\ [0.5ex]
hline % inserts single-line
% Entering 1st row
&RFComm Socket &RFComm Socket\[-1ex]
raisebox{1.5ex}{BT-Socket Type}
% Entering 2nd row
&No authenticated link key Socket &Authenticated link key\[-1ex]
raisebox{1.5ex}{Communication channel}
% Entering 3rd row
& &soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \[-1ex]
raisebox{1.5ex}{Remote Device} \
raisebox{1.5ex}{For BT-Serial Port} \
raisebox{1.5ex}{For Peer-Peer Apps} \
raisebox{1.5ex}{Initiating The Outgoing Connection} \

% [1ex] adds vertical space
hline % inserts single-line
end{tabular}
label{tab:PPer}
end{table}









share|improve this question
























  • Your problem is the tabular exceeds the margins and so it runs off the right. You can reformulate your table representation, or you could present in landscape mode, or you could wrap the tabular in a makebox[textwidth]{...}. This latter choice still violates margin width, but at least would center the content with respect to the text area, so as to fit on a typical piece of paper.
    – Steven B. Segletes
    May 9 '16 at 10:27










  • would you please provide an example
    – Elpharaoh
    May 9 '16 at 11:15
















1














I am showing a comaprison in a table. As shown in the LaTeX code below, the information I specify in the second column, second row is a bit long. When I compile the code, that information in the table does not show up completely. The information is not split across lines either.



My question is, how to show the information in the second row second column as whole, without losing it.



begin{table}[h]
caption{Performance After Post Filtering} % title name of the table
centering % centering table
begin{tabular}{l c c rrrrrrr} % creating 10 columns
hlinehline % inserting double-line

&InsecureRFComm &RFComm
\ [0.5ex]
hline % inserts single-line
% Entering 1st row
&RFComm Socket &RFComm Socket\[-1ex]
raisebox{1.5ex}{BT-Socket Type}
% Entering 2nd row
&No authenticated link key Socket &Authenticated link key\[-1ex]
raisebox{1.5ex}{Communication channel}
% Entering 3rd row
& &soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \[-1ex]
raisebox{1.5ex}{Remote Device} \
raisebox{1.5ex}{For BT-Serial Port} \
raisebox{1.5ex}{For Peer-Peer Apps} \
raisebox{1.5ex}{Initiating The Outgoing Connection} \

% [1ex] adds vertical space
hline % inserts single-line
end{tabular}
label{tab:PPer}
end{table}









share|improve this question
























  • Your problem is the tabular exceeds the margins and so it runs off the right. You can reformulate your table representation, or you could present in landscape mode, or you could wrap the tabular in a makebox[textwidth]{...}. This latter choice still violates margin width, but at least would center the content with respect to the text area, so as to fit on a typical piece of paper.
    – Steven B. Segletes
    May 9 '16 at 10:27










  • would you please provide an example
    – Elpharaoh
    May 9 '16 at 11:15














1












1








1


0





I am showing a comaprison in a table. As shown in the LaTeX code below, the information I specify in the second column, second row is a bit long. When I compile the code, that information in the table does not show up completely. The information is not split across lines either.



My question is, how to show the information in the second row second column as whole, without losing it.



begin{table}[h]
caption{Performance After Post Filtering} % title name of the table
centering % centering table
begin{tabular}{l c c rrrrrrr} % creating 10 columns
hlinehline % inserting double-line

&InsecureRFComm &RFComm
\ [0.5ex]
hline % inserts single-line
% Entering 1st row
&RFComm Socket &RFComm Socket\[-1ex]
raisebox{1.5ex}{BT-Socket Type}
% Entering 2nd row
&No authenticated link key Socket &Authenticated link key\[-1ex]
raisebox{1.5ex}{Communication channel}
% Entering 3rd row
& &soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \[-1ex]
raisebox{1.5ex}{Remote Device} \
raisebox{1.5ex}{For BT-Serial Port} \
raisebox{1.5ex}{For Peer-Peer Apps} \
raisebox{1.5ex}{Initiating The Outgoing Connection} \

% [1ex] adds vertical space
hline % inserts single-line
end{tabular}
label{tab:PPer}
end{table}









share|improve this question















I am showing a comaprison in a table. As shown in the LaTeX code below, the information I specify in the second column, second row is a bit long. When I compile the code, that information in the table does not show up completely. The information is not split across lines either.



My question is, how to show the information in the second row second column as whole, without losing it.



begin{table}[h]
caption{Performance After Post Filtering} % title name of the table
centering % centering table
begin{tabular}{l c c rrrrrrr} % creating 10 columns
hlinehline % inserting double-line

&InsecureRFComm &RFComm
\ [0.5ex]
hline % inserts single-line
% Entering 1st row
&RFComm Socket &RFComm Socket\[-1ex]
raisebox{1.5ex}{BT-Socket Type}
% Entering 2nd row
&No authenticated link key Socket &Authenticated link key\[-1ex]
raisebox{1.5ex}{Communication channel}
% Entering 3rd row
& &soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \[-1ex]
raisebox{1.5ex}{Remote Device} \
raisebox{1.5ex}{For BT-Serial Port} \
raisebox{1.5ex}{For Peer-Peer Apps} \
raisebox{1.5ex}{Initiating The Outgoing Connection} \

% [1ex] adds vertical space
hline % inserts single-line
end{tabular}
label{tab:PPer}
end{table}






tables






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 9 '16 at 11:07









Gilles

1,151720




1,151720










asked May 9 '16 at 10:17









Elpharaoh

166210




166210












  • Your problem is the tabular exceeds the margins and so it runs off the right. You can reformulate your table representation, or you could present in landscape mode, or you could wrap the tabular in a makebox[textwidth]{...}. This latter choice still violates margin width, but at least would center the content with respect to the text area, so as to fit on a typical piece of paper.
    – Steven B. Segletes
    May 9 '16 at 10:27










  • would you please provide an example
    – Elpharaoh
    May 9 '16 at 11:15


















  • Your problem is the tabular exceeds the margins and so it runs off the right. You can reformulate your table representation, or you could present in landscape mode, or you could wrap the tabular in a makebox[textwidth]{...}. This latter choice still violates margin width, but at least would center the content with respect to the text area, so as to fit on a typical piece of paper.
    – Steven B. Segletes
    May 9 '16 at 10:27










  • would you please provide an example
    – Elpharaoh
    May 9 '16 at 11:15
















Your problem is the tabular exceeds the margins and so it runs off the right. You can reformulate your table representation, or you could present in landscape mode, or you could wrap the tabular in a makebox[textwidth]{...}. This latter choice still violates margin width, but at least would center the content with respect to the text area, so as to fit on a typical piece of paper.
– Steven B. Segletes
May 9 '16 at 10:27




Your problem is the tabular exceeds the margins and so it runs off the right. You can reformulate your table representation, or you could present in landscape mode, or you could wrap the tabular in a makebox[textwidth]{...}. This latter choice still violates margin width, but at least would center the content with respect to the text area, so as to fit on a typical piece of paper.
– Steven B. Segletes
May 9 '16 at 10:27












would you please provide an example
– Elpharaoh
May 9 '16 at 11:15




would you please provide an example
– Elpharaoh
May 9 '16 at 11:15










1 Answer
1






active

oldest

votes


















3














In response to the OP's request to provide an example, I first show here how to wrap the tabular in a makebox to provide a centered (albeit oversized) table.



documentclass{article}
usepackage{lipsum}
begin{document}
begin{table}[h]
caption{Performance After Post Filtering} % title name of the table
centering % centering table
makebox[textwidth]{begin{tabular}{l c c rrrrrrr} % creating 10 columns
hlinehline % inserting double-line

&InsecureRFComm &RFComm
\ [0.5ex]
hline % inserts single-line
% Entering 1st row
&RFComm Socket &RFComm Socket\[-1ex]
raisebox{1.5ex}{BT-Socket Type}
% Entering 2nd row
&No authenticated link key Socket &Authenticated link key\[-1ex]
raisebox{1.5ex}{Communication channel}
% Entering 3rd row
& &soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \[-1ex]
raisebox{1.5ex}{Remote Device} \
raisebox{1.5ex}{For BT-Serial Port} \
raisebox{1.5ex}{For Peer-Peer Apps} \
raisebox{1.5ex}{Initiating The Outgoing Connection} \

% [1ex] adds vertical space
hline % inserts single-line
end{tabular}}
label{tab:PPer}
end{table}
lipsum[1]
end{document}


enter image description here



As to the landscape alternative, there is this with pdflscape package:



documentclass{article}
usepackage{lipsum,pdflscape}
begin{document}
begin{landscape}
begin{table}[p]
caption{Performance After Post Filtering} % title name of the table
centering % centering table
makebox[textwidth]{begin{tabular}{l c c rrrrrrr} % creating 10 columns
hlinehline % inserting double-line

&InsecureRFComm &RFComm
\ [0.5ex]
hline % inserts single-line
% Entering 1st row
&RFComm Socket &RFComm Socket\[-1ex]
raisebox{1.5ex}{BT-Socket Type}
% Entering 2nd row
&No authenticated link key Socket &Authenticated link key\[-1ex]
raisebox{1.5ex}{Communication channel}
% Entering 3rd row
& &soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \[-1ex]
raisebox{1.5ex}{Remote Device} \
raisebox{1.5ex}{For BT-Serial Port} \
raisebox{1.5ex}{For Peer-Peer Apps} \
raisebox{1.5ex}{Initiating The Outgoing Connection} \

% [1ex] adds vertical space
hline % inserts single-line
end{tabular}}
label{tab:PPer}
end{table}
end{landscape}
lipsum[1]
end{document}


enter image description here






share|improve this answer





















  • thanks for your answers..regarding the 1st answer the problem remains but "reversed" in the sense of, the text on the right side is complete but on the left side is truncated and cant be displayed...regarding the 2nd answer, it compiles with no error but i get empty page
    – Elpharaoh
    May 10 '16 at 9:50










  • @Elpharaoh In the first case, it sounds like your left and right margins are non-symmetric. In that case, get rid of the centering after the caption and specify a larger-width makebox as in makebox[1.1textwidth]{...}. That will result in the figure be shifted to the right slightly. Change the value 1.1 to suit your need.
    – Steven B. Segletes
    May 10 '16 at 10:00










  • @Elpharaoh In the second case, I'm not exactly sure what the issue is. Normally getting an extra blank page would mean the table was too wide for the page. Perhaps try changing the makebox width from textwidth to 0pt and see if that makes a difference. There is a lot you have not provided about your situation, like the document class, the packages, etc. It makes it much harder to diagnose.
    – Steven B. Segletes
    May 10 '16 at 10:03








  • 1




    @Elpharaoh One other option for either case is to specify small or footnotesize immediately after the begin{table} specification. This will shrink the font, just of the table content itself.
    – Steven B. Segletes
    May 10 '16 at 10:06











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


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f308637%2ffit-a-very-wide-table-on-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














In response to the OP's request to provide an example, I first show here how to wrap the tabular in a makebox to provide a centered (albeit oversized) table.



documentclass{article}
usepackage{lipsum}
begin{document}
begin{table}[h]
caption{Performance After Post Filtering} % title name of the table
centering % centering table
makebox[textwidth]{begin{tabular}{l c c rrrrrrr} % creating 10 columns
hlinehline % inserting double-line

&InsecureRFComm &RFComm
\ [0.5ex]
hline % inserts single-line
% Entering 1st row
&RFComm Socket &RFComm Socket\[-1ex]
raisebox{1.5ex}{BT-Socket Type}
% Entering 2nd row
&No authenticated link key Socket &Authenticated link key\[-1ex]
raisebox{1.5ex}{Communication channel}
% Entering 3rd row
& &soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \[-1ex]
raisebox{1.5ex}{Remote Device} \
raisebox{1.5ex}{For BT-Serial Port} \
raisebox{1.5ex}{For Peer-Peer Apps} \
raisebox{1.5ex}{Initiating The Outgoing Connection} \

% [1ex] adds vertical space
hline % inserts single-line
end{tabular}}
label{tab:PPer}
end{table}
lipsum[1]
end{document}


enter image description here



As to the landscape alternative, there is this with pdflscape package:



documentclass{article}
usepackage{lipsum,pdflscape}
begin{document}
begin{landscape}
begin{table}[p]
caption{Performance After Post Filtering} % title name of the table
centering % centering table
makebox[textwidth]{begin{tabular}{l c c rrrrrrr} % creating 10 columns
hlinehline % inserting double-line

&InsecureRFComm &RFComm
\ [0.5ex]
hline % inserts single-line
% Entering 1st row
&RFComm Socket &RFComm Socket\[-1ex]
raisebox{1.5ex}{BT-Socket Type}
% Entering 2nd row
&No authenticated link key Socket &Authenticated link key\[-1ex]
raisebox{1.5ex}{Communication channel}
% Entering 3rd row
& &soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \[-1ex]
raisebox{1.5ex}{Remote Device} \
raisebox{1.5ex}{For BT-Serial Port} \
raisebox{1.5ex}{For Peer-Peer Apps} \
raisebox{1.5ex}{Initiating The Outgoing Connection} \

% [1ex] adds vertical space
hline % inserts single-line
end{tabular}}
label{tab:PPer}
end{table}
end{landscape}
lipsum[1]
end{document}


enter image description here






share|improve this answer





















  • thanks for your answers..regarding the 1st answer the problem remains but "reversed" in the sense of, the text on the right side is complete but on the left side is truncated and cant be displayed...regarding the 2nd answer, it compiles with no error but i get empty page
    – Elpharaoh
    May 10 '16 at 9:50










  • @Elpharaoh In the first case, it sounds like your left and right margins are non-symmetric. In that case, get rid of the centering after the caption and specify a larger-width makebox as in makebox[1.1textwidth]{...}. That will result in the figure be shifted to the right slightly. Change the value 1.1 to suit your need.
    – Steven B. Segletes
    May 10 '16 at 10:00










  • @Elpharaoh In the second case, I'm not exactly sure what the issue is. Normally getting an extra blank page would mean the table was too wide for the page. Perhaps try changing the makebox width from textwidth to 0pt and see if that makes a difference. There is a lot you have not provided about your situation, like the document class, the packages, etc. It makes it much harder to diagnose.
    – Steven B. Segletes
    May 10 '16 at 10:03








  • 1




    @Elpharaoh One other option for either case is to specify small or footnotesize immediately after the begin{table} specification. This will shrink the font, just of the table content itself.
    – Steven B. Segletes
    May 10 '16 at 10:06
















3














In response to the OP's request to provide an example, I first show here how to wrap the tabular in a makebox to provide a centered (albeit oversized) table.



documentclass{article}
usepackage{lipsum}
begin{document}
begin{table}[h]
caption{Performance After Post Filtering} % title name of the table
centering % centering table
makebox[textwidth]{begin{tabular}{l c c rrrrrrr} % creating 10 columns
hlinehline % inserting double-line

&InsecureRFComm &RFComm
\ [0.5ex]
hline % inserts single-line
% Entering 1st row
&RFComm Socket &RFComm Socket\[-1ex]
raisebox{1.5ex}{BT-Socket Type}
% Entering 2nd row
&No authenticated link key Socket &Authenticated link key\[-1ex]
raisebox{1.5ex}{Communication channel}
% Entering 3rd row
& &soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \[-1ex]
raisebox{1.5ex}{Remote Device} \
raisebox{1.5ex}{For BT-Serial Port} \
raisebox{1.5ex}{For Peer-Peer Apps} \
raisebox{1.5ex}{Initiating The Outgoing Connection} \

% [1ex] adds vertical space
hline % inserts single-line
end{tabular}}
label{tab:PPer}
end{table}
lipsum[1]
end{document}


enter image description here



As to the landscape alternative, there is this with pdflscape package:



documentclass{article}
usepackage{lipsum,pdflscape}
begin{document}
begin{landscape}
begin{table}[p]
caption{Performance After Post Filtering} % title name of the table
centering % centering table
makebox[textwidth]{begin{tabular}{l c c rrrrrrr} % creating 10 columns
hlinehline % inserting double-line

&InsecureRFComm &RFComm
\ [0.5ex]
hline % inserts single-line
% Entering 1st row
&RFComm Socket &RFComm Socket\[-1ex]
raisebox{1.5ex}{BT-Socket Type}
% Entering 2nd row
&No authenticated link key Socket &Authenticated link key\[-1ex]
raisebox{1.5ex}{Communication channel}
% Entering 3rd row
& &soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \[-1ex]
raisebox{1.5ex}{Remote Device} \
raisebox{1.5ex}{For BT-Serial Port} \
raisebox{1.5ex}{For Peer-Peer Apps} \
raisebox{1.5ex}{Initiating The Outgoing Connection} \

% [1ex] adds vertical space
hline % inserts single-line
end{tabular}}
label{tab:PPer}
end{table}
end{landscape}
lipsum[1]
end{document}


enter image description here






share|improve this answer





















  • thanks for your answers..regarding the 1st answer the problem remains but "reversed" in the sense of, the text on the right side is complete but on the left side is truncated and cant be displayed...regarding the 2nd answer, it compiles with no error but i get empty page
    – Elpharaoh
    May 10 '16 at 9:50










  • @Elpharaoh In the first case, it sounds like your left and right margins are non-symmetric. In that case, get rid of the centering after the caption and specify a larger-width makebox as in makebox[1.1textwidth]{...}. That will result in the figure be shifted to the right slightly. Change the value 1.1 to suit your need.
    – Steven B. Segletes
    May 10 '16 at 10:00










  • @Elpharaoh In the second case, I'm not exactly sure what the issue is. Normally getting an extra blank page would mean the table was too wide for the page. Perhaps try changing the makebox width from textwidth to 0pt and see if that makes a difference. There is a lot you have not provided about your situation, like the document class, the packages, etc. It makes it much harder to diagnose.
    – Steven B. Segletes
    May 10 '16 at 10:03








  • 1




    @Elpharaoh One other option for either case is to specify small or footnotesize immediately after the begin{table} specification. This will shrink the font, just of the table content itself.
    – Steven B. Segletes
    May 10 '16 at 10:06














3












3








3






In response to the OP's request to provide an example, I first show here how to wrap the tabular in a makebox to provide a centered (albeit oversized) table.



documentclass{article}
usepackage{lipsum}
begin{document}
begin{table}[h]
caption{Performance After Post Filtering} % title name of the table
centering % centering table
makebox[textwidth]{begin{tabular}{l c c rrrrrrr} % creating 10 columns
hlinehline % inserting double-line

&InsecureRFComm &RFComm
\ [0.5ex]
hline % inserts single-line
% Entering 1st row
&RFComm Socket &RFComm Socket\[-1ex]
raisebox{1.5ex}{BT-Socket Type}
% Entering 2nd row
&No authenticated link key Socket &Authenticated link key\[-1ex]
raisebox{1.5ex}{Communication channel}
% Entering 3rd row
& &soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \[-1ex]
raisebox{1.5ex}{Remote Device} \
raisebox{1.5ex}{For BT-Serial Port} \
raisebox{1.5ex}{For Peer-Peer Apps} \
raisebox{1.5ex}{Initiating The Outgoing Connection} \

% [1ex] adds vertical space
hline % inserts single-line
end{tabular}}
label{tab:PPer}
end{table}
lipsum[1]
end{document}


enter image description here



As to the landscape alternative, there is this with pdflscape package:



documentclass{article}
usepackage{lipsum,pdflscape}
begin{document}
begin{landscape}
begin{table}[p]
caption{Performance After Post Filtering} % title name of the table
centering % centering table
makebox[textwidth]{begin{tabular}{l c c rrrrrrr} % creating 10 columns
hlinehline % inserting double-line

&InsecureRFComm &RFComm
\ [0.5ex]
hline % inserts single-line
% Entering 1st row
&RFComm Socket &RFComm Socket\[-1ex]
raisebox{1.5ex}{BT-Socket Type}
% Entering 2nd row
&No authenticated link key Socket &Authenticated link key\[-1ex]
raisebox{1.5ex}{Communication channel}
% Entering 3rd row
& &soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \[-1ex]
raisebox{1.5ex}{Remote Device} \
raisebox{1.5ex}{For BT-Serial Port} \
raisebox{1.5ex}{For Peer-Peer Apps} \
raisebox{1.5ex}{Initiating The Outgoing Connection} \

% [1ex] adds vertical space
hline % inserts single-line
end{tabular}}
label{tab:PPer}
end{table}
end{landscape}
lipsum[1]
end{document}


enter image description here






share|improve this answer












In response to the OP's request to provide an example, I first show here how to wrap the tabular in a makebox to provide a centered (albeit oversized) table.



documentclass{article}
usepackage{lipsum}
begin{document}
begin{table}[h]
caption{Performance After Post Filtering} % title name of the table
centering % centering table
makebox[textwidth]{begin{tabular}{l c c rrrrrrr} % creating 10 columns
hlinehline % inserting double-line

&InsecureRFComm &RFComm
\ [0.5ex]
hline % inserts single-line
% Entering 1st row
&RFComm Socket &RFComm Socket\[-1ex]
raisebox{1.5ex}{BT-Socket Type}
% Entering 2nd row
&No authenticated link key Socket &Authenticated link key\[-1ex]
raisebox{1.5ex}{Communication channel}
% Entering 3rd row
& &soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \[-1ex]
raisebox{1.5ex}{Remote Device} \
raisebox{1.5ex}{For BT-Serial Port} \
raisebox{1.5ex}{For Peer-Peer Apps} \
raisebox{1.5ex}{Initiating The Outgoing Connection} \

% [1ex] adds vertical space
hline % inserts single-line
end{tabular}}
label{tab:PPer}
end{table}
lipsum[1]
end{document}


enter image description here



As to the landscape alternative, there is this with pdflscape package:



documentclass{article}
usepackage{lipsum,pdflscape}
begin{document}
begin{landscape}
begin{table}[p]
caption{Performance After Post Filtering} % title name of the table
centering % centering table
makebox[textwidth]{begin{tabular}{l c c rrrrrrr} % creating 10 columns
hlinehline % inserting double-line

&InsecureRFComm &RFComm
\ [0.5ex]
hline % inserts single-line
% Entering 1st row
&RFComm Socket &RFComm Socket\[-1ex]
raisebox{1.5ex}{BT-Socket Type}
% Entering 2nd row
&No authenticated link key Socket &Authenticated link key\[-1ex]
raisebox{1.5ex}{Communication channel}
% Entering 3rd row
& &soft & 1 & $-1$ & 1 & 1 & $-1$ & $-1$ & 1 \[-1ex]
raisebox{1.5ex}{Remote Device} \
raisebox{1.5ex}{For BT-Serial Port} \
raisebox{1.5ex}{For Peer-Peer Apps} \
raisebox{1.5ex}{Initiating The Outgoing Connection} \

% [1ex] adds vertical space
hline % inserts single-line
end{tabular}}
label{tab:PPer}
end{table}
end{landscape}
lipsum[1]
end{document}


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered May 9 '16 at 11:30









Steven B. Segletes

152k9193400




152k9193400












  • thanks for your answers..regarding the 1st answer the problem remains but "reversed" in the sense of, the text on the right side is complete but on the left side is truncated and cant be displayed...regarding the 2nd answer, it compiles with no error but i get empty page
    – Elpharaoh
    May 10 '16 at 9:50










  • @Elpharaoh In the first case, it sounds like your left and right margins are non-symmetric. In that case, get rid of the centering after the caption and specify a larger-width makebox as in makebox[1.1textwidth]{...}. That will result in the figure be shifted to the right slightly. Change the value 1.1 to suit your need.
    – Steven B. Segletes
    May 10 '16 at 10:00










  • @Elpharaoh In the second case, I'm not exactly sure what the issue is. Normally getting an extra blank page would mean the table was too wide for the page. Perhaps try changing the makebox width from textwidth to 0pt and see if that makes a difference. There is a lot you have not provided about your situation, like the document class, the packages, etc. It makes it much harder to diagnose.
    – Steven B. Segletes
    May 10 '16 at 10:03








  • 1




    @Elpharaoh One other option for either case is to specify small or footnotesize immediately after the begin{table} specification. This will shrink the font, just of the table content itself.
    – Steven B. Segletes
    May 10 '16 at 10:06


















  • thanks for your answers..regarding the 1st answer the problem remains but "reversed" in the sense of, the text on the right side is complete but on the left side is truncated and cant be displayed...regarding the 2nd answer, it compiles with no error but i get empty page
    – Elpharaoh
    May 10 '16 at 9:50










  • @Elpharaoh In the first case, it sounds like your left and right margins are non-symmetric. In that case, get rid of the centering after the caption and specify a larger-width makebox as in makebox[1.1textwidth]{...}. That will result in the figure be shifted to the right slightly. Change the value 1.1 to suit your need.
    – Steven B. Segletes
    May 10 '16 at 10:00










  • @Elpharaoh In the second case, I'm not exactly sure what the issue is. Normally getting an extra blank page would mean the table was too wide for the page. Perhaps try changing the makebox width from textwidth to 0pt and see if that makes a difference. There is a lot you have not provided about your situation, like the document class, the packages, etc. It makes it much harder to diagnose.
    – Steven B. Segletes
    May 10 '16 at 10:03








  • 1




    @Elpharaoh One other option for either case is to specify small or footnotesize immediately after the begin{table} specification. This will shrink the font, just of the table content itself.
    – Steven B. Segletes
    May 10 '16 at 10:06
















thanks for your answers..regarding the 1st answer the problem remains but "reversed" in the sense of, the text on the right side is complete but on the left side is truncated and cant be displayed...regarding the 2nd answer, it compiles with no error but i get empty page
– Elpharaoh
May 10 '16 at 9:50




thanks for your answers..regarding the 1st answer the problem remains but "reversed" in the sense of, the text on the right side is complete but on the left side is truncated and cant be displayed...regarding the 2nd answer, it compiles with no error but i get empty page
– Elpharaoh
May 10 '16 at 9:50












@Elpharaoh In the first case, it sounds like your left and right margins are non-symmetric. In that case, get rid of the centering after the caption and specify a larger-width makebox as in makebox[1.1textwidth]{...}. That will result in the figure be shifted to the right slightly. Change the value 1.1 to suit your need.
– Steven B. Segletes
May 10 '16 at 10:00




@Elpharaoh In the first case, it sounds like your left and right margins are non-symmetric. In that case, get rid of the centering after the caption and specify a larger-width makebox as in makebox[1.1textwidth]{...}. That will result in the figure be shifted to the right slightly. Change the value 1.1 to suit your need.
– Steven B. Segletes
May 10 '16 at 10:00












@Elpharaoh In the second case, I'm not exactly sure what the issue is. Normally getting an extra blank page would mean the table was too wide for the page. Perhaps try changing the makebox width from textwidth to 0pt and see if that makes a difference. There is a lot you have not provided about your situation, like the document class, the packages, etc. It makes it much harder to diagnose.
– Steven B. Segletes
May 10 '16 at 10:03






@Elpharaoh In the second case, I'm not exactly sure what the issue is. Normally getting an extra blank page would mean the table was too wide for the page. Perhaps try changing the makebox width from textwidth to 0pt and see if that makes a difference. There is a lot you have not provided about your situation, like the document class, the packages, etc. It makes it much harder to diagnose.
– Steven B. Segletes
May 10 '16 at 10:03






1




1




@Elpharaoh One other option for either case is to specify small or footnotesize immediately after the begin{table} specification. This will shrink the font, just of the table content itself.
– Steven B. Segletes
May 10 '16 at 10:06




@Elpharaoh One other option for either case is to specify small or footnotesize immediately after the begin{table} specification. This will shrink the font, just of the table content itself.
– Steven B. Segletes
May 10 '16 at 10:06


















draft saved

draft discarded




















































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%2f308637%2ffit-a-very-wide-table-on-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

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents