Overful hbox (How to make the sentence in a table into 2 line?)How to get multiple multirows in a table?Paragraph column in tabular working only in the first columnHow to make table with caption appearing on listoftables without begintable environment?how to make a line between two rows in table? (when no space between strings)Make table use page widthiosart2c table* will make next table caption overflow into second column“There´s no line here to end” after trying to make a tableHow to make the horizontal line of the table shorter?How to put a table with caption inside a “mdframed” theorem example style boxAdding vertical lines in table
How can a class have multiple methods without breaking the single responsibility principle
Do businesses pay taxes in addition to sales taxes from customers or do they use sales taxes to pay their taxes?
Can the additional attack from a Samurai's Rapid Strike have advantage?
Constant Scan spooling
Can I say "Gesundheit" if someone is coughing?
Has the US government provided details on plans to deal with AIDS and childhood cancer?
Is this popular optical illusion made of a grey-scale image with coloured lines?
Reasons for using monsters as bioweapons
When did J.K. Rowling decide to make Harry and Ginny a couple?
What are the effects of the elements on 3D printed objects made with "infused" PLA
How do I find SFDX CLI default installation folder on Mac?
How to prevent a single-element caster from being useless against immune foes?
A game of red and black
Does the problem of P vs NP come under the category of Operational Research?
May a hotel provide accommodation for fewer people than booked?
Why is “deal 6 damage” a legit phrase?
"DDoouubbllee ssppeeaakk!!"
Why do MS SQL Server SEQUENCEs not have an ORDER parameter like Oracle?
What is the most 'environmentally friendly' way to learn to fly?
Best Ergonomic Design for a handheld ranged weapon
mv Command Deleted Files In Source Directory and Target Directory
How to gracefully excuse yourself from a meeting due to emergencies such as a restroom break?
Oath of redemption: Does Emmissary of Peace reflect damage taken from Aura of the Guardian?
Why are prop blades not shaped like household fan blades?
Overful hbox (How to make the sentence in a table into 2 line?)
How to get multiple multirows in a table?Paragraph column in tabular working only in the first columnHow to make table with caption appearing on listoftables without begintable environment?how to make a line between two rows in table? (when no space between strings)Make table use page widthiosart2c table* will make next table caption overflow into second column“There´s no line here to end” after trying to make a tableHow to make the horizontal line of the table shorter?How to put a table with caption inside a “mdframed” theorem example style boxAdding vertical lines in table
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
begintable[h!]
centering
begintabularc
1 & 2 & 3 & 4jkjhkjkhjhkjkjkjl & 5fsdsadsadasdsadsadasdsadsa & 6dasdsadasdasdasdasdsadasdsa \
hline
1 & 2 & 3 \
1 & 2 & 3 \
endtabular
captiontes
labeltab:my_label
endtable
Output:
How to make it "5fsdsadsadasdsadsadasdsadsa" into 2 line?
For example:
5fsdsadsadasd
sadsadasdsadsa
tables boxes
New contributor
add a comment |
begintable[h!]
centering
begintabularc
1 & 2 & 3 & 4jkjhkjkhjhkjkjkjl & 5fsdsadsadasdsadsadasdsadsa & 6dasdsadasdasdasdasdsadasdsa \
hline
1 & 2 & 3 \
1 & 2 & 3 \
endtabular
captiontes
labeltab:my_label
endtable
Output:
How to make it "5fsdsadsadasdsadsadasdsadsa" into 2 line?
For example:
5fsdsadsadasd
sadsadasdsadsa
tables boxes
New contributor
2
You can usep<width>
column type for last three columns. It will works fine with natural words (which eventually can be hyphenated).
– Zarko
7 hours ago
3
you should supply a proper test file, you have given no indication of the required page width, also5fsdsadsadasdsadsadasdsadsa
not being a real word, which means that it will not hyphenate and so automatic line breaking is harder, is your real text natural language text?
– David Carlisle
7 hours ago
@DavidCarlisle Thanks. I am not sure how to check my page width. I used a template for it. And yes, 5fsdsadsadasdsadsadasdsadsa can be a real word, just an example
– user193541
3 hours ago
@user193541 then it is a bad example as breaking5fsdsadsadasdsadsadasdsadsa
automatically is far harder than breaking natural language text, so both examples that have have are probably not suitable for natural language. You could have posted a complete document just useingarticle
as both answers have done
– David Carlisle
3 hours ago
add a comment |
begintable[h!]
centering
begintabularc
1 & 2 & 3 & 4jkjhkjkhjhkjkjkjl & 5fsdsadsadasdsadsadasdsadsa & 6dasdsadasdasdasdasdsadasdsa \
hline
1 & 2 & 3 \
1 & 2 & 3 \
endtabular
captiontes
labeltab:my_label
endtable
Output:
How to make it "5fsdsadsadasdsadsadasdsadsa" into 2 line?
For example:
5fsdsadsadasd
sadsadasdsadsa
tables boxes
New contributor
begintable[h!]
centering
begintabularc
1 & 2 & 3 & 4jkjhkjkhjhkjkjkjl & 5fsdsadsadasdsadsadasdsadsa & 6dasdsadasdasdasdasdsadasdsa \
hline
1 & 2 & 3 \
1 & 2 & 3 \
endtabular
captiontes
labeltab:my_label
endtable
Output:
How to make it "5fsdsadsadasdsadsadasdsadsa" into 2 line?
For example:
5fsdsadsadasd
sadsadasdsadsa
tables boxes
tables boxes
New contributor
New contributor
edited 8 hours ago
moewe
103k11 gold badges129 silver badges388 bronze badges
103k11 gold badges129 silver badges388 bronze badges
New contributor
asked 8 hours ago
user193541user193541
555 bronze badges
555 bronze badges
New contributor
New contributor
2
You can usep<width>
column type for last three columns. It will works fine with natural words (which eventually can be hyphenated).
– Zarko
7 hours ago
3
you should supply a proper test file, you have given no indication of the required page width, also5fsdsadsadasdsadsadasdsadsa
not being a real word, which means that it will not hyphenate and so automatic line breaking is harder, is your real text natural language text?
– David Carlisle
7 hours ago
@DavidCarlisle Thanks. I am not sure how to check my page width. I used a template for it. And yes, 5fsdsadsadasdsadsadasdsadsa can be a real word, just an example
– user193541
3 hours ago
@user193541 then it is a bad example as breaking5fsdsadsadasdsadsadasdsadsa
automatically is far harder than breaking natural language text, so both examples that have have are probably not suitable for natural language. You could have posted a complete document just useingarticle
as both answers have done
– David Carlisle
3 hours ago
add a comment |
2
You can usep<width>
column type for last three columns. It will works fine with natural words (which eventually can be hyphenated).
– Zarko
7 hours ago
3
you should supply a proper test file, you have given no indication of the required page width, also5fsdsadsadasdsadsadasdsadsa
not being a real word, which means that it will not hyphenate and so automatic line breaking is harder, is your real text natural language text?
– David Carlisle
7 hours ago
@DavidCarlisle Thanks. I am not sure how to check my page width. I used a template for it. And yes, 5fsdsadsadasdsadsadasdsadsa can be a real word, just an example
– user193541
3 hours ago
@user193541 then it is a bad example as breaking5fsdsadsadasdsadsadasdsadsa
automatically is far harder than breaking natural language text, so both examples that have have are probably not suitable for natural language. You could have posted a complete document just useingarticle
as both answers have done
– David Carlisle
3 hours ago
2
2
You can use
p<width>
column type for last three columns. It will works fine with natural words (which eventually can be hyphenated).– Zarko
7 hours ago
You can use
p<width>
column type for last three columns. It will works fine with natural words (which eventually can be hyphenated).– Zarko
7 hours ago
3
3
you should supply a proper test file, you have given no indication of the required page width, also
5fsdsadsadasdsadsadasdsadsa
not being a real word, which means that it will not hyphenate and so automatic line breaking is harder, is your real text natural language text?– David Carlisle
7 hours ago
you should supply a proper test file, you have given no indication of the required page width, also
5fsdsadsadasdsadsadasdsadsa
not being a real word, which means that it will not hyphenate and so automatic line breaking is harder, is your real text natural language text?– David Carlisle
7 hours ago
@DavidCarlisle Thanks. I am not sure how to check my page width. I used a template for it. And yes, 5fsdsadsadasdsadsadasdsadsa can be a real word, just an example
– user193541
3 hours ago
@DavidCarlisle Thanks. I am not sure how to check my page width. I used a template for it. And yes, 5fsdsadsadasdsadsadasdsadsa can be a real word, just an example
– user193541
3 hours ago
@user193541 then it is a bad example as breaking
5fsdsadsadasdsadsadasdsadsa
automatically is far harder than breaking natural language text, so both examples that have have are probably not suitable for natural language. You could have posted a complete document just useing article
as both answers have done– David Carlisle
3 hours ago
@user193541 then it is a bad example as breaking
5fsdsadsadasdsadsadasdsadsa
automatically is far harder than breaking natural language text, so both examples that have have are probably not suitable for natural language. You could have posted a complete document just useing article
as both answers have done– David Carlisle
3 hours ago
add a comment |
2 Answers
2
active
oldest
votes
You haven't indicated how wide columns 4, 5, and 6 are supposed to be. Hence, I'll assume they're supposed to be equally wide. I will further assume that the overall width of the tabular material should be textwidth
, i.e., as wide as the text block. The code below employs a tabularx
environment and three columns of type X
.
Since there is no obvious way -- to me at least... -- to decide where the strings "5fsdsadsadasdsadsadasdsadsa" and "6dasdsadasdasdasdasdsadasdsa" should be split, I'll use the seqsplit
macro to force line breaks to occur whenever the strings reach the widths of the respective cells.
documentclassarticle
usepackagetabularx,seqsplit
begindocument
begintable[h!]
setlengthextrarowheight2pt % for a ever so slightly more open "look"
begintabularxtextwidthc
hline
1 & 2 & 3 &
seqsplit4jkjhkjkhjhkjkjkjl &
seqsplit5fsdsadsadasdsadsadasdsadsa &
seqsplit6dasdsadasdasdasdasdsadasdsa \
hline
1 & 2 & 3 & & & \
1 & 2 & 3 & & & \
hline
endtabularx
captiontes
labeltab:my_label
endtable
enddocument
Thanks, work very well.
– user193541
3 hours ago
Can you explain what "setlengthextrarowheight2pt " means? Is this mean 2 line?
– user193541
3 hours ago
@user193541 -extrarowheight
is a length parameter that governs much extra vertical whitespace is inserted at the top of each row; its default value is0pt
. Try is out an atabular
environment -- first with the value set at its default, then with a value of2pt
. I think you'll notice the difference right away.
– Mico
2 hours ago
Thanks. However, the words is combine without a spacing in the orginal words. Meaning let say 'seqsplitTesting 1 testing 2 Testing 3l'. It will become 'Testing1testing2Testing3' and not 'Testing 1 testing 2 Testing 3'
– user193541
2 hours ago
@user193541 - Don’t useseqsplit
if there’s no need for it.
– Mico
2 hours ago
|
show 1 more comment
documentclassarticle
begindocument
begintable[htp]% h on its own is asking for trouble
centering
begintabularc
1 & 2 & 3 & 4jkjhkjkhjhkjkjkjl &
begintabular@c@5fsdsadsadasd\sadsadasdsadsaendtabular &
begintabular@c@6dasdsadasdasd\asdasdsadasdsaendtabular \
hline
1 & 2 & 3 \
1 & 2 & 3 \
endtabular
captiontes
labeltab:my_label
endtable
enddocument
add a comment |
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
);
);
user193541 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%2f502573%2foverful-hbox-how-to-make-the-sentence-in-a-table-into-2-line%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
You haven't indicated how wide columns 4, 5, and 6 are supposed to be. Hence, I'll assume they're supposed to be equally wide. I will further assume that the overall width of the tabular material should be textwidth
, i.e., as wide as the text block. The code below employs a tabularx
environment and three columns of type X
.
Since there is no obvious way -- to me at least... -- to decide where the strings "5fsdsadsadasdsadsadasdsadsa" and "6dasdsadasdasdasdasdsadasdsa" should be split, I'll use the seqsplit
macro to force line breaks to occur whenever the strings reach the widths of the respective cells.
documentclassarticle
usepackagetabularx,seqsplit
begindocument
begintable[h!]
setlengthextrarowheight2pt % for a ever so slightly more open "look"
begintabularxtextwidthc
hline
1 & 2 & 3 &
seqsplit4jkjhkjkhjhkjkjkjl &
seqsplit5fsdsadsadasdsadsadasdsadsa &
seqsplit6dasdsadasdasdasdasdsadasdsa \
hline
1 & 2 & 3 & & & \
1 & 2 & 3 & & & \
hline
endtabularx
captiontes
labeltab:my_label
endtable
enddocument
Thanks, work very well.
– user193541
3 hours ago
Can you explain what "setlengthextrarowheight2pt " means? Is this mean 2 line?
– user193541
3 hours ago
@user193541 -extrarowheight
is a length parameter that governs much extra vertical whitespace is inserted at the top of each row; its default value is0pt
. Try is out an atabular
environment -- first with the value set at its default, then with a value of2pt
. I think you'll notice the difference right away.
– Mico
2 hours ago
Thanks. However, the words is combine without a spacing in the orginal words. Meaning let say 'seqsplitTesting 1 testing 2 Testing 3l'. It will become 'Testing1testing2Testing3' and not 'Testing 1 testing 2 Testing 3'
– user193541
2 hours ago
@user193541 - Don’t useseqsplit
if there’s no need for it.
– Mico
2 hours ago
|
show 1 more comment
You haven't indicated how wide columns 4, 5, and 6 are supposed to be. Hence, I'll assume they're supposed to be equally wide. I will further assume that the overall width of the tabular material should be textwidth
, i.e., as wide as the text block. The code below employs a tabularx
environment and three columns of type X
.
Since there is no obvious way -- to me at least... -- to decide where the strings "5fsdsadsadasdsadsadasdsadsa" and "6dasdsadasdasdasdasdsadasdsa" should be split, I'll use the seqsplit
macro to force line breaks to occur whenever the strings reach the widths of the respective cells.
documentclassarticle
usepackagetabularx,seqsplit
begindocument
begintable[h!]
setlengthextrarowheight2pt % for a ever so slightly more open "look"
begintabularxtextwidthc
hline
1 & 2 & 3 &
seqsplit4jkjhkjkhjhkjkjkjl &
seqsplit5fsdsadsadasdsadsadasdsadsa &
seqsplit6dasdsadasdasdasdasdsadasdsa \
hline
1 & 2 & 3 & & & \
1 & 2 & 3 & & & \
hline
endtabularx
captiontes
labeltab:my_label
endtable
enddocument
Thanks, work very well.
– user193541
3 hours ago
Can you explain what "setlengthextrarowheight2pt " means? Is this mean 2 line?
– user193541
3 hours ago
@user193541 -extrarowheight
is a length parameter that governs much extra vertical whitespace is inserted at the top of each row; its default value is0pt
. Try is out an atabular
environment -- first with the value set at its default, then with a value of2pt
. I think you'll notice the difference right away.
– Mico
2 hours ago
Thanks. However, the words is combine without a spacing in the orginal words. Meaning let say 'seqsplitTesting 1 testing 2 Testing 3l'. It will become 'Testing1testing2Testing3' and not 'Testing 1 testing 2 Testing 3'
– user193541
2 hours ago
@user193541 - Don’t useseqsplit
if there’s no need for it.
– Mico
2 hours ago
|
show 1 more comment
You haven't indicated how wide columns 4, 5, and 6 are supposed to be. Hence, I'll assume they're supposed to be equally wide. I will further assume that the overall width of the tabular material should be textwidth
, i.e., as wide as the text block. The code below employs a tabularx
environment and three columns of type X
.
Since there is no obvious way -- to me at least... -- to decide where the strings "5fsdsadsadasdsadsadasdsadsa" and "6dasdsadasdasdasdasdsadasdsa" should be split, I'll use the seqsplit
macro to force line breaks to occur whenever the strings reach the widths of the respective cells.
documentclassarticle
usepackagetabularx,seqsplit
begindocument
begintable[h!]
setlengthextrarowheight2pt % for a ever so slightly more open "look"
begintabularxtextwidthc
hline
1 & 2 & 3 &
seqsplit4jkjhkjkhjhkjkjkjl &
seqsplit5fsdsadsadasdsadsadasdsadsa &
seqsplit6dasdsadasdasdasdasdsadasdsa \
hline
1 & 2 & 3 & & & \
1 & 2 & 3 & & & \
hline
endtabularx
captiontes
labeltab:my_label
endtable
enddocument
You haven't indicated how wide columns 4, 5, and 6 are supposed to be. Hence, I'll assume they're supposed to be equally wide. I will further assume that the overall width of the tabular material should be textwidth
, i.e., as wide as the text block. The code below employs a tabularx
environment and three columns of type X
.
Since there is no obvious way -- to me at least... -- to decide where the strings "5fsdsadsadasdsadsadasdsadsa" and "6dasdsadasdasdasdasdsadasdsa" should be split, I'll use the seqsplit
macro to force line breaks to occur whenever the strings reach the widths of the respective cells.
documentclassarticle
usepackagetabularx,seqsplit
begindocument
begintable[h!]
setlengthextrarowheight2pt % for a ever so slightly more open "look"
begintabularxtextwidthc
hline
1 & 2 & 3 &
seqsplit4jkjhkjkhjhkjkjkjl &
seqsplit5fsdsadsadasdsadsadasdsadsa &
seqsplit6dasdsadasdasdasdasdsadasdsa \
hline
1 & 2 & 3 & & & \
1 & 2 & 3 & & & \
hline
endtabularx
captiontes
labeltab:my_label
endtable
enddocument
answered 6 hours ago
MicoMico
300k32 gold badges411 silver badges816 bronze badges
300k32 gold badges411 silver badges816 bronze badges
Thanks, work very well.
– user193541
3 hours ago
Can you explain what "setlengthextrarowheight2pt " means? Is this mean 2 line?
– user193541
3 hours ago
@user193541 -extrarowheight
is a length parameter that governs much extra vertical whitespace is inserted at the top of each row; its default value is0pt
. Try is out an atabular
environment -- first with the value set at its default, then with a value of2pt
. I think you'll notice the difference right away.
– Mico
2 hours ago
Thanks. However, the words is combine without a spacing in the orginal words. Meaning let say 'seqsplitTesting 1 testing 2 Testing 3l'. It will become 'Testing1testing2Testing3' and not 'Testing 1 testing 2 Testing 3'
– user193541
2 hours ago
@user193541 - Don’t useseqsplit
if there’s no need for it.
– Mico
2 hours ago
|
show 1 more comment
Thanks, work very well.
– user193541
3 hours ago
Can you explain what "setlengthextrarowheight2pt " means? Is this mean 2 line?
– user193541
3 hours ago
@user193541 -extrarowheight
is a length parameter that governs much extra vertical whitespace is inserted at the top of each row; its default value is0pt
. Try is out an atabular
environment -- first with the value set at its default, then with a value of2pt
. I think you'll notice the difference right away.
– Mico
2 hours ago
Thanks. However, the words is combine without a spacing in the orginal words. Meaning let say 'seqsplitTesting 1 testing 2 Testing 3l'. It will become 'Testing1testing2Testing3' and not 'Testing 1 testing 2 Testing 3'
– user193541
2 hours ago
@user193541 - Don’t useseqsplit
if there’s no need for it.
– Mico
2 hours ago
Thanks, work very well.
– user193541
3 hours ago
Thanks, work very well.
– user193541
3 hours ago
Can you explain what "setlengthextrarowheight2pt " means? Is this mean 2 line?
– user193541
3 hours ago
Can you explain what "setlengthextrarowheight2pt " means? Is this mean 2 line?
– user193541
3 hours ago
@user193541 -
extrarowheight
is a length parameter that governs much extra vertical whitespace is inserted at the top of each row; its default value is 0pt
. Try is out an a tabular
environment -- first with the value set at its default, then with a value of 2pt
. I think you'll notice the difference right away.– Mico
2 hours ago
@user193541 -
extrarowheight
is a length parameter that governs much extra vertical whitespace is inserted at the top of each row; its default value is 0pt
. Try is out an a tabular
environment -- first with the value set at its default, then with a value of 2pt
. I think you'll notice the difference right away.– Mico
2 hours ago
Thanks. However, the words is combine without a spacing in the orginal words. Meaning let say 'seqsplitTesting 1 testing 2 Testing 3l'. It will become 'Testing1testing2Testing3' and not 'Testing 1 testing 2 Testing 3'
– user193541
2 hours ago
Thanks. However, the words is combine without a spacing in the orginal words. Meaning let say 'seqsplitTesting 1 testing 2 Testing 3l'. It will become 'Testing1testing2Testing3' and not 'Testing 1 testing 2 Testing 3'
– user193541
2 hours ago
@user193541 - Don’t use
seqsplit
if there’s no need for it.– Mico
2 hours ago
@user193541 - Don’t use
seqsplit
if there’s no need for it.– Mico
2 hours ago
|
show 1 more comment
documentclassarticle
begindocument
begintable[htp]% h on its own is asking for trouble
centering
begintabularc
1 & 2 & 3 & 4jkjhkjkhjhkjkjkjl &
begintabular@c@5fsdsadsadasd\sadsadasdsadsaendtabular &
begintabular@c@6dasdsadasdasd\asdasdsadasdsaendtabular \
hline
1 & 2 & 3 \
1 & 2 & 3 \
endtabular
captiontes
labeltab:my_label
endtable
enddocument
add a comment |
documentclassarticle
begindocument
begintable[htp]% h on its own is asking for trouble
centering
begintabularc
1 & 2 & 3 & 4jkjhkjkhjhkjkjkjl &
begintabular@c@5fsdsadsadasd\sadsadasdsadsaendtabular &
begintabular@c@6dasdsadasdasd\asdasdsadasdsaendtabular \
hline
1 & 2 & 3 \
1 & 2 & 3 \
endtabular
captiontes
labeltab:my_label
endtable
enddocument
add a comment |
documentclassarticle
begindocument
begintable[htp]% h on its own is asking for trouble
centering
begintabularc
1 & 2 & 3 & 4jkjhkjkhjhkjkjkjl &
begintabular@c@5fsdsadsadasd\sadsadasdsadsaendtabular &
begintabular@c@6dasdsadasdasd\asdasdsadasdsaendtabular \
hline
1 & 2 & 3 \
1 & 2 & 3 \
endtabular
captiontes
labeltab:my_label
endtable
enddocument
documentclassarticle
begindocument
begintable[htp]% h on its own is asking for trouble
centering
begintabularc
1 & 2 & 3 & 4jkjhkjkhjhkjkjkjl &
begintabular@c@5fsdsadsadasd\sadsadasdsadsaendtabular &
begintabular@c@6dasdsadasdasd\asdasdsadasdsaendtabular \
hline
1 & 2 & 3 \
1 & 2 & 3 \
endtabular
captiontes
labeltab:my_label
endtable
enddocument
answered 6 hours ago
David CarlisleDavid Carlisle
518k44 gold badges1173 silver badges1943 bronze badges
518k44 gold badges1173 silver badges1943 bronze badges
add a comment |
add a comment |
user193541 is a new contributor. Be nice, and check out our Code of Conduct.
user193541 is a new contributor. Be nice, and check out our Code of Conduct.
user193541 is a new contributor. Be nice, and check out our Code of Conduct.
user193541 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%2f502573%2foverful-hbox-how-to-make-the-sentence-in-a-table-into-2-line%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
2
You can use
p<width>
column type for last three columns. It will works fine with natural words (which eventually can be hyphenated).– Zarko
7 hours ago
3
you should supply a proper test file, you have given no indication of the required page width, also
5fsdsadsadasdsadsadasdsadsa
not being a real word, which means that it will not hyphenate and so automatic line breaking is harder, is your real text natural language text?– David Carlisle
7 hours ago
@DavidCarlisle Thanks. I am not sure how to check my page width. I used a template for it. And yes, 5fsdsadsadasdsadsadasdsadsa can be a real word, just an example
– user193541
3 hours ago
@user193541 then it is a bad example as breaking
5fsdsadsadasdsadsadasdsadsa
automatically is far harder than breaking natural language text, so both examples that have have are probably not suitable for natural language. You could have posted a complete document just useingarticle
as both answers have done– David Carlisle
3 hours ago