Add all my text in one cell of the table and being able to see the other columns












2















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*}


!!










share|improve this question























  • You could try a column of fixed width, e.g. p{7.5cm} instead of c

    – samcarter
    Dec 31 '18 at 0:25


















2















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*}


!!










share|improve this question























  • You could try a column of fixed width, e.g. p{7.5cm} instead of c

    – samcarter
    Dec 31 '18 at 0:25
















2












2








2








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*}


!!










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 31 '18 at 0:16









Goli AGoli A

132




132













  • You could try a column of fixed width, e.g. p{7.5cm} instead of c

    – samcarter
    Dec 31 '18 at 0:25





















  • You could try a column of fixed width, e.g. p{7.5cm} instead of c

    – samcarter
    Dec 31 '18 at 0:25



















You could try a column of fixed width, e.g. p{7.5cm} instead of c

– samcarter
Dec 31 '18 at 0:25







You could try a column of fixed width, e.g. p{7.5cm} instead of c

– samcarter
Dec 31 '18 at 0:25












2 Answers
2






active

oldest

votes


















2














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}


enter image description here






share|improve this answer
























  • Thanks it worked as I wanted and you saved me a big time!

    – Goli A
    Jan 9 at 17:28



















1














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.



enter image description here



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}





share|improve this answer























    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%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









    2














    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}


    enter image description here






    share|improve this answer
























    • Thanks it worked as I wanted and you saved me a big time!

      – Goli A
      Jan 9 at 17:28
















    2














    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}


    enter image description here






    share|improve this answer
























    • Thanks it worked as I wanted and you saved me a big time!

      – Goli A
      Jan 9 at 17:28














    2












    2








    2







    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}


    enter image description here






    share|improve this answer













    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}


    enter image description here







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Dec 31 '18 at 0:29









    AboAmmarAboAmmar

    33.6k22883




    33.6k22883













    • Thanks it worked as I wanted and you saved me a big time!

      – Goli A
      Jan 9 at 17:28



















    • Thanks it worked as I wanted and you saved me a big time!

      – Goli A
      Jan 9 at 17:28

















    Thanks it worked as I wanted and you saved me a big time!

    – Goli A
    Jan 9 at 17:28





    Thanks it worked as I wanted and you saved me a big time!

    – Goli A
    Jan 9 at 17:28











    1














    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.



    enter image description here



    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}





    share|improve this answer




























      1














      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.



      enter image description here



      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}





      share|improve this answer


























        1












        1








        1







        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.



        enter image description here



        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}





        share|improve this answer













        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.



        enter image description here



        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}






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 31 '18 at 2:37









        MicoMico

        277k30380768




        277k30380768






























            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.




            draft saved


            draft discarded














            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





















































            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

            Mossoró

            Error while reading .h5 file using the rhdf5 package in R

            Pushsharp Apns notification error: 'InvalidToken'