Add all my text in one cell of the table and being able to see the other columns
I want to have a table with three columns. The first column have a long text and the others have short. I am using below code:
but the text in first column cannot be seen well and the other columns disappeared as in the figure. Please help me. Thanks
tabcolsep=0.11cm
begin{table*}
newcommand{tabincell}[2]{begin{tabular}{@{}#1@{}}#2end{tabular}}
caption{SegNet Performance with Different Optimizers.}
centering
begin{tabular}{|c|c|c|}hline
tabincell{c}{Text Message} & tabincell{c}{Video Number} & tabincell{c}{State}\hline
part of the Semantic feature have proved to be a very good
feature if the little effort in making paraphrases in the corpus
can be done. & tabincell{c}{74} & tabincell{c}{craving}\hline
Computer Science is a specialized domain, and so any or-
dinary paraphrases generation cannot be easily used here
unless there is a human effort be involving in marking the
words that can be permuted from the original to form true or
accurate paraphrases & tabincell{c}{0.8219} & tabincell{c}{0.8014} \hline
end{tabular}
vspace{0.25 cm}
label{tab2.Spec}
end{table*}
table-of-contents
New contributor
add a comment |
I want to have a table with three columns. The first column have a long text and the others have short. I am using below code:
but the text in first column cannot be seen well and the other columns disappeared as in the figure. Please help me. Thanks
tabcolsep=0.11cm
begin{table*}
newcommand{tabincell}[2]{begin{tabular}{@{}#1@{}}#2end{tabular}}
caption{SegNet Performance with Different Optimizers.}
centering
begin{tabular}{|c|c|c|}hline
tabincell{c}{Text Message} & tabincell{c}{Video Number} & tabincell{c}{State}\hline
part of the Semantic feature have proved to be a very good
feature if the little effort in making paraphrases in the corpus
can be done. & tabincell{c}{74} & tabincell{c}{craving}\hline
Computer Science is a specialized domain, and so any or-
dinary paraphrases generation cannot be easily used here
unless there is a human effort be involving in marking the
words that can be permuted from the original to form true or
accurate paraphrases & tabincell{c}{0.8219} & tabincell{c}{0.8014} \hline
end{tabular}
vspace{0.25 cm}
label{tab2.Spec}
end{table*}
table-of-contents
New contributor
You could try a column of fixed width, e.g.p{7.5cm}
instead ofc
– samcarter
2 hours ago
add a comment |
I want to have a table with three columns. The first column have a long text and the others have short. I am using below code:
but the text in first column cannot be seen well and the other columns disappeared as in the figure. Please help me. Thanks
tabcolsep=0.11cm
begin{table*}
newcommand{tabincell}[2]{begin{tabular}{@{}#1@{}}#2end{tabular}}
caption{SegNet Performance with Different Optimizers.}
centering
begin{tabular}{|c|c|c|}hline
tabincell{c}{Text Message} & tabincell{c}{Video Number} & tabincell{c}{State}\hline
part of the Semantic feature have proved to be a very good
feature if the little effort in making paraphrases in the corpus
can be done. & tabincell{c}{74} & tabincell{c}{craving}\hline
Computer Science is a specialized domain, and so any or-
dinary paraphrases generation cannot be easily used here
unless there is a human effort be involving in marking the
words that can be permuted from the original to form true or
accurate paraphrases & tabincell{c}{0.8219} & tabincell{c}{0.8014} \hline
end{tabular}
vspace{0.25 cm}
label{tab2.Spec}
end{table*}
table-of-contents
New contributor
I want to have a table with three columns. The first column have a long text and the others have short. I am using below code:
but the text in first column cannot be seen well and the other columns disappeared as in the figure. Please help me. Thanks
tabcolsep=0.11cm
begin{table*}
newcommand{tabincell}[2]{begin{tabular}{@{}#1@{}}#2end{tabular}}
caption{SegNet Performance with Different Optimizers.}
centering
begin{tabular}{|c|c|c|}hline
tabincell{c}{Text Message} & tabincell{c}{Video Number} & tabincell{c}{State}\hline
part of the Semantic feature have proved to be a very good
feature if the little effort in making paraphrases in the corpus
can be done. & tabincell{c}{74} & tabincell{c}{craving}\hline
Computer Science is a specialized domain, and so any or-
dinary paraphrases generation cannot be easily used here
unless there is a human effort be involving in marking the
words that can be permuted from the original to form true or
accurate paraphrases & tabincell{c}{0.8219} & tabincell{c}{0.8014} \hline
end{tabular}
vspace{0.25 cm}
label{tab2.Spec}
end{table*}
table-of-contents
table-of-contents
New contributor
New contributor
New contributor
asked 2 hours ago
Goli A
111
111
New contributor
New contributor
You could try a column of fixed width, e.g.p{7.5cm}
instead ofc
– samcarter
2 hours ago
add a comment |
You could try a column of fixed width, e.g.p{7.5cm}
instead ofc
– samcarter
2 hours ago
You could try a column of fixed width, e.g.
p{7.5cm}
instead of c
– samcarter
2 hours ago
You could try a column of fixed width, e.g.
p{7.5cm}
instead of c
– samcarter
2 hours ago
add a comment |
2 Answers
2
active
oldest
votes
Use tabularx
and set the first column header to X
.
documentclass{article}
usepackage{amsmath,tabularx}
begin{document}
tabcolsep=0.11cm
begin{table}
centering
caption{SegNet Performance with Different Optimizers.}
smallskip
begin{tabularx}{textwidth}{|X|c|c|}hline
Text Message & Video Number & State \ hline
part of the Semantic feature have proved to be a very good
feature if the little effort in making paraphrases in the corpus
can be done. & 74 & craving \ hline
Computer Science is a specialized domain, and so any or-
dinary paraphrases generation cannot be easily used here
unless there is a human effort be involving in marking the
words that can be permuted from the original to form true or
accurate paraphrases & 0.8219 & 0.8014 \ hline
end{tabularx}
label{tab2.Spec}
end{table}
end{document}
add a comment |
Here's a solution which (a) is very similar to the one given in @AboAmmar's answer, in that it uses a tabularx
environment and the X
column type for the first column, and (b) gives the table a more open "look" by omitting all vertical rules and employing fewer, but well-spaced, horizontal rules.
Note that all tabincell
"wrapper" directives may be omitted.
documentclass{article}
usepackage{tabularx,booktabs}
usepackage[skip=0.333baselineskip]{caption} % optional
begin{document}
begin{table*}
%tabcolsep=0.11cm % is this really needed?
caption{SegNet Performance with Different Optimizers.}
label{tab2.Spec}
begin{tabularx}{textwidth}{@{}Xcc@{}}
toprule
Text Message & Video Number & State\
midrule
Part of the Semantic feature have proved to be a very good feature if the little effort in making paraphrases in the corpus can be done.
& 74 & craving\
addlinespace
Computer Science is a specialized domain, and so any ordinary paraphrases generation cannot be easily used here unless there is a human effort be involving in marking the words that can be permuted from the original to form true or accurate paraphrases.
& 0.8219 & 0.8014 \
bottomrule
end{tabularx}
end{table*}
end{document}
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
});
}
});
Goli A is a new contributor. Be nice, and check out our Code of Conduct.
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%2f467976%2fadd-all-my-text-in-one-cell-of-the-table-and-being-able-to-see-the-other-columns%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Use tabularx
and set the first column header to X
.
documentclass{article}
usepackage{amsmath,tabularx}
begin{document}
tabcolsep=0.11cm
begin{table}
centering
caption{SegNet Performance with Different Optimizers.}
smallskip
begin{tabularx}{textwidth}{|X|c|c|}hline
Text Message & Video Number & State \ hline
part of the Semantic feature have proved to be a very good
feature if the little effort in making paraphrases in the corpus
can be done. & 74 & craving \ hline
Computer Science is a specialized domain, and so any or-
dinary paraphrases generation cannot be easily used here
unless there is a human effort be involving in marking the
words that can be permuted from the original to form true or
accurate paraphrases & 0.8219 & 0.8014 \ hline
end{tabularx}
label{tab2.Spec}
end{table}
end{document}
add a comment |
Use tabularx
and set the first column header to X
.
documentclass{article}
usepackage{amsmath,tabularx}
begin{document}
tabcolsep=0.11cm
begin{table}
centering
caption{SegNet Performance with Different Optimizers.}
smallskip
begin{tabularx}{textwidth}{|X|c|c|}hline
Text Message & Video Number & State \ hline
part of the Semantic feature have proved to be a very good
feature if the little effort in making paraphrases in the corpus
can be done. & 74 & craving \ hline
Computer Science is a specialized domain, and so any or-
dinary paraphrases generation cannot be easily used here
unless there is a human effort be involving in marking the
words that can be permuted from the original to form true or
accurate paraphrases & 0.8219 & 0.8014 \ hline
end{tabularx}
label{tab2.Spec}
end{table}
end{document}
add a comment |
Use tabularx
and set the first column header to X
.
documentclass{article}
usepackage{amsmath,tabularx}
begin{document}
tabcolsep=0.11cm
begin{table}
centering
caption{SegNet Performance with Different Optimizers.}
smallskip
begin{tabularx}{textwidth}{|X|c|c|}hline
Text Message & Video Number & State \ hline
part of the Semantic feature have proved to be a very good
feature if the little effort in making paraphrases in the corpus
can be done. & 74 & craving \ hline
Computer Science is a specialized domain, and so any or-
dinary paraphrases generation cannot be easily used here
unless there is a human effort be involving in marking the
words that can be permuted from the original to form true or
accurate paraphrases & 0.8219 & 0.8014 \ hline
end{tabularx}
label{tab2.Spec}
end{table}
end{document}
Use tabularx
and set the first column header to X
.
documentclass{article}
usepackage{amsmath,tabularx}
begin{document}
tabcolsep=0.11cm
begin{table}
centering
caption{SegNet Performance with Different Optimizers.}
smallskip
begin{tabularx}{textwidth}{|X|c|c|}hline
Text Message & Video Number & State \ hline
part of the Semantic feature have proved to be a very good
feature if the little effort in making paraphrases in the corpus
can be done. & 74 & craving \ hline
Computer Science is a specialized domain, and so any or-
dinary paraphrases generation cannot be easily used here
unless there is a human effort be involving in marking the
words that can be permuted from the original to form true or
accurate paraphrases & 0.8219 & 0.8014 \ hline
end{tabularx}
label{tab2.Spec}
end{table}
end{document}
answered 2 hours ago
AboAmmar
33k22882
33k22882
add a comment |
add a comment |
Here's a solution which (a) is very similar to the one given in @AboAmmar's answer, in that it uses a tabularx
environment and the X
column type for the first column, and (b) gives the table a more open "look" by omitting all vertical rules and employing fewer, but well-spaced, horizontal rules.
Note that all tabincell
"wrapper" directives may be omitted.
documentclass{article}
usepackage{tabularx,booktabs}
usepackage[skip=0.333baselineskip]{caption} % optional
begin{document}
begin{table*}
%tabcolsep=0.11cm % is this really needed?
caption{SegNet Performance with Different Optimizers.}
label{tab2.Spec}
begin{tabularx}{textwidth}{@{}Xcc@{}}
toprule
Text Message & Video Number & State\
midrule
Part of the Semantic feature have proved to be a very good feature if the little effort in making paraphrases in the corpus can be done.
& 74 & craving\
addlinespace
Computer Science is a specialized domain, and so any ordinary paraphrases generation cannot be easily used here unless there is a human effort be involving in marking the words that can be permuted from the original to form true or accurate paraphrases.
& 0.8219 & 0.8014 \
bottomrule
end{tabularx}
end{table*}
end{document}
add a comment |
Here's a solution which (a) is very similar to the one given in @AboAmmar's answer, in that it uses a tabularx
environment and the X
column type for the first column, and (b) gives the table a more open "look" by omitting all vertical rules and employing fewer, but well-spaced, horizontal rules.
Note that all tabincell
"wrapper" directives may be omitted.
documentclass{article}
usepackage{tabularx,booktabs}
usepackage[skip=0.333baselineskip]{caption} % optional
begin{document}
begin{table*}
%tabcolsep=0.11cm % is this really needed?
caption{SegNet Performance with Different Optimizers.}
label{tab2.Spec}
begin{tabularx}{textwidth}{@{}Xcc@{}}
toprule
Text Message & Video Number & State\
midrule
Part of the Semantic feature have proved to be a very good feature if the little effort in making paraphrases in the corpus can be done.
& 74 & craving\
addlinespace
Computer Science is a specialized domain, and so any ordinary paraphrases generation cannot be easily used here unless there is a human effort be involving in marking the words that can be permuted from the original to form true or accurate paraphrases.
& 0.8219 & 0.8014 \
bottomrule
end{tabularx}
end{table*}
end{document}
add a comment |
Here's a solution which (a) is very similar to the one given in @AboAmmar's answer, in that it uses a tabularx
environment and the X
column type for the first column, and (b) gives the table a more open "look" by omitting all vertical rules and employing fewer, but well-spaced, horizontal rules.
Note that all tabincell
"wrapper" directives may be omitted.
documentclass{article}
usepackage{tabularx,booktabs}
usepackage[skip=0.333baselineskip]{caption} % optional
begin{document}
begin{table*}
%tabcolsep=0.11cm % is this really needed?
caption{SegNet Performance with Different Optimizers.}
label{tab2.Spec}
begin{tabularx}{textwidth}{@{}Xcc@{}}
toprule
Text Message & Video Number & State\
midrule
Part of the Semantic feature have proved to be a very good feature if the little effort in making paraphrases in the corpus can be done.
& 74 & craving\
addlinespace
Computer Science is a specialized domain, and so any ordinary paraphrases generation cannot be easily used here unless there is a human effort be involving in marking the words that can be permuted from the original to form true or accurate paraphrases.
& 0.8219 & 0.8014 \
bottomrule
end{tabularx}
end{table*}
end{document}
Here's a solution which (a) is very similar to the one given in @AboAmmar's answer, in that it uses a tabularx
environment and the X
column type for the first column, and (b) gives the table a more open "look" by omitting all vertical rules and employing fewer, but well-spaced, horizontal rules.
Note that all tabincell
"wrapper" directives may be omitted.
documentclass{article}
usepackage{tabularx,booktabs}
usepackage[skip=0.333baselineskip]{caption} % optional
begin{document}
begin{table*}
%tabcolsep=0.11cm % is this really needed?
caption{SegNet Performance with Different Optimizers.}
label{tab2.Spec}
begin{tabularx}{textwidth}{@{}Xcc@{}}
toprule
Text Message & Video Number & State\
midrule
Part of the Semantic feature have proved to be a very good feature if the little effort in making paraphrases in the corpus can be done.
& 74 & craving\
addlinespace
Computer Science is a specialized domain, and so any ordinary paraphrases generation cannot be easily used here unless there is a human effort be involving in marking the words that can be permuted from the original to form true or accurate paraphrases.
& 0.8219 & 0.8014 \
bottomrule
end{tabularx}
end{table*}
end{document}
answered 37 mins ago
Mico
273k30369756
273k30369756
add a comment |
add a comment |
Goli A is a new contributor. Be nice, and check out our Code of Conduct.
Goli A is a new contributor. Be nice, and check out our Code of Conduct.
Goli A is a new contributor. Be nice, and check out our Code of Conduct.
Goli A 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.
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%2f467976%2fadd-all-my-text-in-one-cell-of-the-table-and-being-able-to-see-the-other-columns%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
You could try a column of fixed width, e.g.
p{7.5cm}
instead ofc
– samcarter
2 hours ago