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







New contributor




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




















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


















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







New contributor




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




















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
















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







New contributor




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











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







New contributor




Goli A 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




Goli A 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






New contributor




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









asked 3 hours ago









Goli A

111




111




New contributor




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





New contributor





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






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












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




















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


















You could try a column of fixed width, e.g. p{7.5cm} instead of c
– samcarter
3 hours ago






You could try a column of fixed width, e.g. p{7.5cm} instead of c
– samcarter
3 hours ago












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





























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


      }
      });






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


























        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
























          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 3 hours ago









          AboAmmar

          33k22882




          33k22882























              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 1 hour ago









                  Mico

                  273k30369756




                  273k30369756






















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










                      draft saved

                      draft discarded


















                      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.




                      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

                      What visual should I use to simply compare current year value vs last year in Power BI desktop

                      How to ignore python UserWarning in pytest?

                      Alexandru Averescu