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?

When did game consoles begin including FPUs?

I recently started my machine learning PhD and I have absolutely no idea what I'm doing

Why commonly or frequently used fonts sizes are even numbers like 10px, 12px, 16px, 24px, or 32px?

Is there any good reason to write "it is easy to see"?

Why do galaxies collide?

How did the horses get to space?

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

Understanding Python syntax in lists vs series

How does a permutation act on a string?

Which creature is depicted in this Xanathar's Guide illustration of a war mage?

With today's technology, could iron be smelted at La Rinconada?

What do the "optional" resistor and capacitor do in this circuit?

tikzcd diagram within an array

What is the effect of the Feeblemind spell on Ability Score Improvements?

Would life always name the light from their sun "white"

Why did the metro bus stop at each railway crossing, despite no warning indicating a train was coming?

Why are goodwill impairments on the statement of cash-flows of GE?

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

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

Getting a similar picture (colours) on Manual Mode while using similar Auto Mode settings (T6 and 40D)

How to handle professionally if colleagues has referred his relative and asking to take easy while taking interview

What do you call the hair or body hair you trim off your body?

How to continually let my readers know what time it is in my story, in an organic way?

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



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

























        answered 2 hours ago









        MicoMico

        291k32399788




        291k32399788





















            2














            One can do manual breaking.



            documentclassarticle
            usepackagelongtable
            begindocument
            beginlongtablep3cm
            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
            beginlongtablep3cm
            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
            beginlongtablep3cm
            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
            beginlongtablep3cm
            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

            Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

            Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

            199年 目錄 大件事 到箇年出世嗰人 到箇年死嗰人 節慶、風俗習慣 導覽選單