Break long word (not long text!) in longtable cellHow to break long words after n chars (long genomic sequences)Table environment that can break inside a cellHow do I break a long table cell/row using the europecv package?Longtable: page breaks within row possible?Line-breaking long cell contents when using longtable through datatoolhow to make longtable continue a long row to next page?How to automatically break “a long word with underscore” in a cell of table, using longtabu package?line break in math mode within longtable environmentLong word wont go to next lineBreak longtable on multirowsHow to set longtable width to text width so that the text in cell wraps around automatically?

Why is the marginal distribution/marginal probability described as "marginal"?

It is as easy as A B C, Figure out U V C from the given relationship

How does a permutation act on a string?

Single word that parallels "Recent" when discussing the near future

Slice a list based on an index and items behind it in python

Why can't I share a one use code with anyone else?

Given 0s on Assignments with suspected and dismissed cheating?

Can anyone give me examples of the relative-determinative 'which'?

Developers demotivated due to working on same project for more than 2 years

Why is Drogon so much better in battle than Rhaegal and Viserion?

UUID type for NEWID()

Do people who work at research institutes consider themselves "academics"?

Geometric inspiration behind Hal's Wolf

Will the volt, ampere, ohm or other electrical units change on May 20th, 2019?

Understanding Python syntax in lists vs series

How to rename multiple files in a directory at the same time

How would you translate "grit" (personality trait) to Chinese?

Why would company (decision makers) wait for someone to retire, rather than lay them off, when their role is no longer needed?

Are there microwaves to heat baby food at Brussels airport?

Why doesn't Iron Man's action affect this person in Endgame?

What is this weird d12 for?

Capital gains on stocks sold to take initial investment off the table

Testing if os.path.exists with ArcPy?

Does it matter what way the tires go if no directional arrow?



Break long word (not long text!) in longtable cell


How to break long words after n chars (long genomic sequences)Table environment that can break inside a cellHow do I break a long table cell/row using the europecv package?Longtable: page breaks within row possible?Line-breaking long cell contents when using longtable through datatoolhow to make longtable continue a long row to next page?How to automatically break “a long word with underscore” in a cell of table, using longtabu package?line break in math mode within longtable environmentLong word wont go to next lineBreak longtable on multirowsHow to set longtable width to text width so that the text in cell wraps around automatically?













3















How to break VERY long word in latex? For example:



begincenter
beginlongtable
hline
1 & 2 & 3 \ hline
11111111111111111111111111111111111111111111111111111111111 & 2 & 3 \ hline
endlongtable
endcenter


11111111111111111111111111111111111111111111111111111111111 overlaps next table cells in it's row. Thanks in advance.










share|improve this question







New contributor



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



















  • welcome to tex.se! you should use babel for used language. if word hasn't defined hyphenation, you should insert them manually (with -). as you show in code fragment, you haven't real word, so the meaning of series of digits with this can change its meaning. be careful with hyphenation in such a cases.

    – Zarko
    2 hours ago






  • 2





    This isn't exactly the same situation but the long string that needs to be broken isn't a word: How to break long words after n chars (long genomic sequences)

    – barbara beeton
    2 hours ago











  • @barbarabeeton - Many thanks for mentioning the seqsplit appoach; I've updated my answer to incorporate your suggestion.

    – Mico
    1 hour ago















3















How to break VERY long word in latex? For example:



begincenter
beginlongtable
hline
1 & 2 & 3 \ hline
11111111111111111111111111111111111111111111111111111111111 & 2 & 3 \ hline
endlongtable
endcenter


11111111111111111111111111111111111111111111111111111111111 overlaps next table cells in it's row. Thanks in advance.










share|improve this question







New contributor



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



















  • welcome to tex.se! you should use babel for used language. if word hasn't defined hyphenation, you should insert them manually (with -). as you show in code fragment, you haven't real word, so the meaning of series of digits with this can change its meaning. be careful with hyphenation in such a cases.

    – Zarko
    2 hours ago






  • 2





    This isn't exactly the same situation but the long string that needs to be broken isn't a word: How to break long words after n chars (long genomic sequences)

    – barbara beeton
    2 hours ago











  • @barbarabeeton - Many thanks for mentioning the seqsplit appoach; I've updated my answer to incorporate your suggestion.

    – Mico
    1 hour ago













3












3








3








How to break VERY long word in latex? For example:



begincenter
beginlongtable
hline
1 & 2 & 3 \ hline
11111111111111111111111111111111111111111111111111111111111 & 2 & 3 \ hline
endlongtable
endcenter


11111111111111111111111111111111111111111111111111111111111 overlaps next table cells in it's row. Thanks in advance.










share|improve this question







New contributor



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











How to break VERY long word in latex? For example:



begincenter
beginlongtable
hline
1 & 2 & 3 \ hline
11111111111111111111111111111111111111111111111111111111111 & 2 & 3 \ hline
endlongtable
endcenter


11111111111111111111111111111111111111111111111111111111111 overlaps next table cells in it's row. Thanks in advance.







line-breaking longtable






share|improve this question







New contributor



Georgy Farniev 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



Georgy Farniev 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



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








asked 2 hours ago









Georgy FarnievGeorgy Farniev

183




183




New contributor



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




New contributor




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














  • welcome to tex.se! you should use babel for used language. if word hasn't defined hyphenation, you should insert them manually (with -). as you show in code fragment, you haven't real word, so the meaning of series of digits with this can change its meaning. be careful with hyphenation in such a cases.

    – Zarko
    2 hours ago






  • 2





    This isn't exactly the same situation but the long string that needs to be broken isn't a word: How to break long words after n chars (long genomic sequences)

    – barbara beeton
    2 hours ago











  • @barbarabeeton - Many thanks for mentioning the seqsplit appoach; I've updated my answer to incorporate your suggestion.

    – Mico
    1 hour ago

















  • welcome to tex.se! you should use babel for used language. if word hasn't defined hyphenation, you should insert them manually (with -). as you show in code fragment, you haven't real word, so the meaning of series of digits with this can change its meaning. be careful with hyphenation in such a cases.

    – Zarko
    2 hours ago






  • 2





    This isn't exactly the same situation but the long string that needs to be broken isn't a word: How to break long words after n chars (long genomic sequences)

    – barbara beeton
    2 hours ago











  • @barbarabeeton - Many thanks for mentioning the seqsplit appoach; I've updated my answer to incorporate your suggestion.

    – Mico
    1 hour ago
















welcome to tex.se! you should use babel for used language. if word hasn't defined hyphenation, you should insert them manually (with -). as you show in code fragment, you haven't real word, so the meaning of series of digits with this can change its meaning. be careful with hyphenation in such a cases.

– Zarko
2 hours ago





welcome to tex.se! you should use babel for used language. if word hasn't defined hyphenation, you should insert them manually (with -). as you show in code fragment, you haven't real word, so the meaning of series of digits with this can change its meaning. be careful with hyphenation in such a cases.

– Zarko
2 hours ago




2




2





This isn't exactly the same situation but the long string that needs to be broken isn't a word: How to break long words after n chars (long genomic sequences)

– barbara beeton
2 hours ago





This isn't exactly the same situation but the long string that needs to be broken isn't a word: How to break long words after n chars (long genomic sequences)

– barbara beeton
2 hours ago













@barbarabeeton - Many thanks for mentioning the seqsplit appoach; I've updated my answer to incorporate your suggestion.

– Mico
1 hour ago





@barbarabeeton - Many thanks for mentioning the seqsplit appoach; I've updated my answer to incorporate your suggestion.

– Mico
1 hour ago










2 Answers
2






active

oldest

votes


















3














(updated the answer to mention the seqsplit approach)



I have two suggestions:



  • load the xurl package and encase the very long "word" in an url directive, and


  • load the seqsplit package and encase the very long "word" in a seqsplit directive.


enter image description here



It looks like the seqsplit approach manages to pack its contents a tad more tightly than the url approach does.



In the following code, I replaced longtable with tabular since the example isn't really specific to the longtable package and its machinery.



documentclassarticle
usepackagexurl,seqsplit,array
setlengthextrarowheight3pt % optional
begindocument
begintabularc
hline
A & B & C \
hline
urlstylesame% default is 'urlstylett'
url11111111111111111111111111111111111111111111111111111111111 & 2 & 3 \
seqsplit11111111111111111111111111111111111111111111111111111111111
& 2 & 3 \
hline
endtabular
enddocument





share|improve this answer
































    2














    One can do manual breaking.



    documentclassarticle
    usepackagelongtable
    begindocument
    beginlongtable
    hline
    1 & 2 & 3 \ hline
    111111111111111111111111111111111111111111111-11111111111111 & 2 & 3 \ hline
    endlongtable
    enddocument


    enter image description here






    share|improve this answer

























    • also with use of tabular can be to wide (OP not provide any information about its document layout)... use of the longtable has sense, if the table can not be placed on one page ... OP question is not very clear :-(

      – Zarko
      2 hours ago












    • @Zarko Yes, longtable or tabular can't fix the too-wide issue. But this particular table is not long enough (but I know the main table the OP is working on is longer :))

      – JouleV
      2 hours ago






    • 1





      how you know this? apparently you have crystal ball :-). mine is out of order :-(.

      – Zarko
      2 hours ago











    • @Mico Yes forgot that. Thanks

      – JouleV
      2 hours ago






    • 1





      @Zarko Hmm I have none. I just take the OP's code and put - to a random position in the 1111111111111111... Or am I misunderstanding the word "crystal ball"?

      – JouleV
      2 hours ago












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



    );






    Georgy Farniev 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%2f490899%2fbreak-long-word-not-long-text-in-longtable-cell%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









    3














    (updated the answer to mention the seqsplit approach)



    I have two suggestions:



    • load the xurl package and encase the very long "word" in an url directive, and


    • load the seqsplit package and encase the very long "word" in a seqsplit directive.


    enter image description here



    It looks like the seqsplit approach manages to pack its contents a tad more tightly than the url approach does.



    In the following code, I replaced longtable with tabular since the example isn't really specific to the longtable package and its machinery.



    documentclassarticle
    usepackagexurl,seqsplit,array
    setlengthextrarowheight3pt % optional
    begindocument
    begintabularc
    hline
    A & B & C \
    hline
    urlstylesame% default is 'urlstylett'
    url11111111111111111111111111111111111111111111111111111111111 & 2 & 3 \
    seqsplit11111111111111111111111111111111111111111111111111111111111
    & 2 & 3 \
    hline
    endtabular
    enddocument





    share|improve this answer





























      3














      (updated the answer to mention the seqsplit approach)



      I have two suggestions:



      • load the xurl package and encase the very long "word" in an url directive, and


      • load the seqsplit package and encase the very long "word" in a seqsplit directive.


      enter image description here



      It looks like the seqsplit approach manages to pack its contents a tad more tightly than the url approach does.



      In the following code, I replaced longtable with tabular since the example isn't really specific to the longtable package and its machinery.



      documentclassarticle
      usepackagexurl,seqsplit,array
      setlengthextrarowheight3pt % optional
      begindocument
      begintabularc
      hline
      A & B & C \
      hline
      urlstylesame% default is 'urlstylett'
      url11111111111111111111111111111111111111111111111111111111111 & 2 & 3 \
      seqsplit11111111111111111111111111111111111111111111111111111111111
      & 2 & 3 \
      hline
      endtabular
      enddocument





      share|improve this answer



























        3












        3








        3







        (updated the answer to mention the seqsplit approach)



        I have two suggestions:



        • load the xurl package and encase the very long "word" in an url directive, and


        • load the seqsplit package and encase the very long "word" in a seqsplit directive.


        enter image description here



        It looks like the seqsplit approach manages to pack its contents a tad more tightly than the url approach does.



        In the following code, I replaced longtable with tabular since the example isn't really specific to the longtable package and its machinery.



        documentclassarticle
        usepackagexurl,seqsplit,array
        setlengthextrarowheight3pt % optional
        begindocument
        begintabularc
        hline
        A & B & C \
        hline
        urlstylesame% default is 'urlstylett'
        url11111111111111111111111111111111111111111111111111111111111 & 2 & 3 \
        seqsplit11111111111111111111111111111111111111111111111111111111111
        & 2 & 3 \
        hline
        endtabular
        enddocument





        share|improve this answer















        (updated the answer to mention the seqsplit approach)



        I have two suggestions:



        • load the xurl package and encase the very long "word" in an url directive, and


        • load the seqsplit package and encase the very long "word" in a seqsplit directive.


        enter image description here



        It looks like the seqsplit approach manages to pack its contents a tad more tightly than the url approach does.



        In the following code, I replaced longtable with tabular since the example isn't really specific to the longtable package and its machinery.



        documentclassarticle
        usepackagexurl,seqsplit,array
        setlengthextrarowheight3pt % optional
        begindocument
        begintabularc
        hline
        A & B & C \
        hline
        urlstylesame% default is 'urlstylett'
        url11111111111111111111111111111111111111111111111111111111111 & 2 & 3 \
        seqsplit11111111111111111111111111111111111111111111111111111111111
        & 2 & 3 \
        hline
        endtabular
        enddocument






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 56 mins ago

























        answered 2 hours ago









        MicoMico

        291k32399788




        291k32399788





















            2














            One can do manual breaking.



            documentclassarticle
            usepackagelongtable
            begindocument
            beginlongtable
            hline
            1 & 2 & 3 \ hline
            111111111111111111111111111111111111111111111-11111111111111 & 2 & 3 \ hline
            endlongtable
            enddocument


            enter image description here






            share|improve this answer

























            • also with use of tabular can be to wide (OP not provide any information about its document layout)... use of the longtable has sense, if the table can not be placed on one page ... OP question is not very clear :-(

              – Zarko
              2 hours ago












            • @Zarko Yes, longtable or tabular can't fix the too-wide issue. But this particular table is not long enough (but I know the main table the OP is working on is longer :))

              – JouleV
              2 hours ago






            • 1





              how you know this? apparently you have crystal ball :-). mine is out of order :-(.

              – Zarko
              2 hours ago











            • @Mico Yes forgot that. Thanks

              – JouleV
              2 hours ago






            • 1





              @Zarko Hmm I have none. I just take the OP's code and put - to a random position in the 1111111111111111... Or am I misunderstanding the word "crystal ball"?

              – JouleV
              2 hours ago
















            2














            One can do manual breaking.



            documentclassarticle
            usepackagelongtable
            begindocument
            beginlongtable
            hline
            1 & 2 & 3 \ hline
            111111111111111111111111111111111111111111111-11111111111111 & 2 & 3 \ hline
            endlongtable
            enddocument


            enter image description here






            share|improve this answer

























            • also with use of tabular can be to wide (OP not provide any information about its document layout)... use of the longtable has sense, if the table can not be placed on one page ... OP question is not very clear :-(

              – Zarko
              2 hours ago












            • @Zarko Yes, longtable or tabular can't fix the too-wide issue. But this particular table is not long enough (but I know the main table the OP is working on is longer :))

              – JouleV
              2 hours ago






            • 1





              how you know this? apparently you have crystal ball :-). mine is out of order :-(.

              – Zarko
              2 hours ago











            • @Mico Yes forgot that. Thanks

              – JouleV
              2 hours ago






            • 1





              @Zarko Hmm I have none. I just take the OP's code and put - to a random position in the 1111111111111111... Or am I misunderstanding the word "crystal ball"?

              – JouleV
              2 hours ago














            2












            2








            2







            One can do manual breaking.



            documentclassarticle
            usepackagelongtable
            begindocument
            beginlongtable
            hline
            1 & 2 & 3 \ hline
            111111111111111111111111111111111111111111111-11111111111111 & 2 & 3 \ hline
            endlongtable
            enddocument


            enter image description here






            share|improve this answer















            One can do manual breaking.



            documentclassarticle
            usepackagelongtable
            begindocument
            beginlongtable
            hline
            1 & 2 & 3 \ hline
            111111111111111111111111111111111111111111111-11111111111111 & 2 & 3 \ hline
            endlongtable
            enddocument


            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 2 hours ago

























            answered 2 hours ago









            JouleVJouleV

            17.5k22971




            17.5k22971












            • also with use of tabular can be to wide (OP not provide any information about its document layout)... use of the longtable has sense, if the table can not be placed on one page ... OP question is not very clear :-(

              – Zarko
              2 hours ago












            • @Zarko Yes, longtable or tabular can't fix the too-wide issue. But this particular table is not long enough (but I know the main table the OP is working on is longer :))

              – JouleV
              2 hours ago






            • 1





              how you know this? apparently you have crystal ball :-). mine is out of order :-(.

              – Zarko
              2 hours ago











            • @Mico Yes forgot that. Thanks

              – JouleV
              2 hours ago






            • 1





              @Zarko Hmm I have none. I just take the OP's code and put - to a random position in the 1111111111111111... Or am I misunderstanding the word "crystal ball"?

              – JouleV
              2 hours ago


















            • also with use of tabular can be to wide (OP not provide any information about its document layout)... use of the longtable has sense, if the table can not be placed on one page ... OP question is not very clear :-(

              – Zarko
              2 hours ago












            • @Zarko Yes, longtable or tabular can't fix the too-wide issue. But this particular table is not long enough (but I know the main table the OP is working on is longer :))

              – JouleV
              2 hours ago






            • 1





              how you know this? apparently you have crystal ball :-). mine is out of order :-(.

              – Zarko
              2 hours ago











            • @Mico Yes forgot that. Thanks

              – JouleV
              2 hours ago






            • 1





              @Zarko Hmm I have none. I just take the OP's code and put - to a random position in the 1111111111111111... Or am I misunderstanding the word "crystal ball"?

              – JouleV
              2 hours ago

















            also with use of tabular can be to wide (OP not provide any information about its document layout)... use of the longtable has sense, if the table can not be placed on one page ... OP question is not very clear :-(

            – Zarko
            2 hours ago






            also with use of tabular can be to wide (OP not provide any information about its document layout)... use of the longtable has sense, if the table can not be placed on one page ... OP question is not very clear :-(

            – Zarko
            2 hours ago














            @Zarko Yes, longtable or tabular can't fix the too-wide issue. But this particular table is not long enough (but I know the main table the OP is working on is longer :))

            – JouleV
            2 hours ago





            @Zarko Yes, longtable or tabular can't fix the too-wide issue. But this particular table is not long enough (but I know the main table the OP is working on is longer :))

            – JouleV
            2 hours ago




            1




            1





            how you know this? apparently you have crystal ball :-). mine is out of order :-(.

            – Zarko
            2 hours ago





            how you know this? apparently you have crystal ball :-). mine is out of order :-(.

            – Zarko
            2 hours ago













            @Mico Yes forgot that. Thanks

            – JouleV
            2 hours ago





            @Mico Yes forgot that. Thanks

            – JouleV
            2 hours ago




            1




            1





            @Zarko Hmm I have none. I just take the OP's code and put - to a random position in the 1111111111111111... Or am I misunderstanding the word "crystal ball"?

            – JouleV
            2 hours ago






            @Zarko Hmm I have none. I just take the OP's code and put - to a random position in the 1111111111111111... Or am I misunderstanding the word "crystal ball"?

            – JouleV
            2 hours ago











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









            draft saved

            draft discarded


















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












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











            Georgy Farniev 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.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f490899%2fbreak-long-word-not-long-text-in-longtable-cell%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

            Log på Navigationsmenu

            Wonderful Copenhagen (sang) Eksterne henvisninger | NavigationsmenurSide på frankloesser.comWonderful Copenhagen

            Detroit Tigers Spis treści Historia | Skład zespołu | Sukcesy | Członkowie Baseball Hall of Fame | Zastrzeżone numery | Przypisy | Menu nawigacyjneEncyclopedia of Detroit - Detroit TigersTigers Stadium, Detroit, MITigers Timeline 1900sDetroit Tigers Team History & EncyclopediaTigers Timeline 1910s1935 World Series1945 World Series1945 World Series1984 World SeriesComerica Park, Detroit, MI2006 World Series2012 World SeriesDetroit Tigers 40-Man RosterDetroit Tigers Coaching StaffTigers Hall of FamersTigers Retired Numberse