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?
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
New contributor
add a comment |
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
New contributor
welcome to tex.se! you should usebabel
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 theseqsplit
appoach; I've updated my answer to incorporate your suggestion.
– Mico
1 hour ago
add a comment |
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
New contributor
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
line-breaking longtable
New contributor
New contributor
New contributor
asked 2 hours ago
Georgy FarnievGeorgy Farniev
183
183
New contributor
New contributor
welcome to tex.se! you should usebabel
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 theseqsplit
appoach; I've updated my answer to incorporate your suggestion.
– Mico
1 hour ago
add a comment |
welcome to tex.se! you should usebabel
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 theseqsplit
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
add a comment |
2 Answers
2
active
oldest
votes
(updated the answer to mention the seqsplit
approach)
I have two suggestions:
load the
xurl
package and encase the very long "word" in anurl
directive, andload the
seqsplit
package and encase the very long "word" in aseqsplit
directive.
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
add a comment |
One can do manual breaking.
documentclassarticle
usepackagelongtable
begindocument
beginlongtablep3cm
hline
1 & 2 & 3 \ hline
111111111111111111111111111111111111111111111-11111111111111 & 2 & 3 \ hline
endlongtable
enddocument
also with use oftabular
can be to wide (OP not provide any information about its document layout)... use of thelongtable
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
ortabular
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 the1111111111111111...
Or am I misunderstanding the word "crystal ball"?
– JouleV
2 hours ago
|
show 4 more comments
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%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
(updated the answer to mention the seqsplit
approach)
I have two suggestions:
load the
xurl
package and encase the very long "word" in anurl
directive, andload the
seqsplit
package and encase the very long "word" in aseqsplit
directive.
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
add a comment |
(updated the answer to mention the seqsplit
approach)
I have two suggestions:
load the
xurl
package and encase the very long "word" in anurl
directive, andload the
seqsplit
package and encase the very long "word" in aseqsplit
directive.
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
add a comment |
(updated the answer to mention the seqsplit
approach)
I have two suggestions:
load the
xurl
package and encase the very long "word" in anurl
directive, andload the
seqsplit
package and encase the very long "word" in aseqsplit
directive.
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
(updated the answer to mention the seqsplit
approach)
I have two suggestions:
load the
xurl
package and encase the very long "word" in anurl
directive, andload the
seqsplit
package and encase the very long "word" in aseqsplit
directive.
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
edited 1 hour ago
answered 2 hours ago
MicoMico
291k32399788
291k32399788
add a comment |
add a comment |
One can do manual breaking.
documentclassarticle
usepackagelongtable
begindocument
beginlongtablep3cm
hline
1 & 2 & 3 \ hline
111111111111111111111111111111111111111111111-11111111111111 & 2 & 3 \ hline
endlongtable
enddocument
also with use oftabular
can be to wide (OP not provide any information about its document layout)... use of thelongtable
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
ortabular
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 the1111111111111111...
Or am I misunderstanding the word "crystal ball"?
– JouleV
2 hours ago
|
show 4 more comments
One can do manual breaking.
documentclassarticle
usepackagelongtable
begindocument
beginlongtablep3cm
hline
1 & 2 & 3 \ hline
111111111111111111111111111111111111111111111-11111111111111 & 2 & 3 \ hline
endlongtable
enddocument
also with use oftabular
can be to wide (OP not provide any information about its document layout)... use of thelongtable
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
ortabular
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 the1111111111111111...
Or am I misunderstanding the word "crystal ball"?
– JouleV
2 hours ago
|
show 4 more comments
One can do manual breaking.
documentclassarticle
usepackagelongtable
begindocument
beginlongtablep3cm
hline
1 & 2 & 3 \ hline
111111111111111111111111111111111111111111111-11111111111111 & 2 & 3 \ hline
endlongtable
enddocument
One can do manual breaking.
documentclassarticle
usepackagelongtable
begindocument
beginlongtablep3cm
hline
1 & 2 & 3 \ hline
111111111111111111111111111111111111111111111-11111111111111 & 2 & 3 \ hline
endlongtable
enddocument
edited 2 hours ago
answered 2 hours ago
JouleVJouleV
17.5k22971
17.5k22971
also with use oftabular
can be to wide (OP not provide any information about its document layout)... use of thelongtable
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
ortabular
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 the1111111111111111...
Or am I misunderstanding the word "crystal ball"?
– JouleV
2 hours ago
|
show 4 more comments
also with use oftabular
can be to wide (OP not provide any information about its document layout)... use of thelongtable
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
ortabular
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 the1111111111111111...
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
|
show 4 more comments
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f490899%2fbreak-long-word-not-long-text-in-longtable-cell%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
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