Elongated horizontal lines in tabularx The 2019 Stack Overflow Developer Survey Results Are...
How is simplicity better than precision and clarity in prose?
Finding the path in a graph from A to B then back to A with a minimum of shared edges
How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time
When did F become S? Why?
Can undead you have reanimated wait inside a portable hole?
"... to apply for a visa" or "... and applied for a visa"?
First use of “packing” as in carrying a gun
Is every episode of "Where are my Pants?" identical?
Mortgage adviser recommends a longer term than necessary combined with overpayments
Match Roman Numerals
Is there a writing software that you can sort scenes like slides in PowerPoint?
What was the last x86 CPU that did not have the x87 floating-point unit built in?
How are presidential pardons supposed to be used?
Change bounding box of math glyphs in LuaTeX
Does Parliament hold absolute power in the UK?
Why can't wing-mounted spoilers be used to steepen approaches?
Is a pteranodon too powerful as a beast companion for a beast master?
Hopping to infinity along a string of digits
How to tell if two pearson correlations from the same sample differ significanly
Arduino Pro Micro - switch off LEDs
How does ice melt when immersed in water
Working through the single responsibility principle (SRP) in Python when calls are expensive
Is above average number of years spent on PhD considered a red flag in future academia or industry positions?
How did passengers keep warm on sail ships?
Elongated horizontal lines in tabularx
The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Color lines tabularx add padding?Lyx redefine tabular with tabularx - strange linesExtra horizontal lines in tabularx packageTabularx parbox horizontal alignment of columnsExtra blank lines in tabularxVertical/Horizontal Rules in TabularXVertical Lines not appearing in tabularxSpan over multiple lines with tabularxHorizontal lines not spanning entire length of row in tabularx environmentHorizontal centering in tabularx cells
When I use tabularx the horizontal lines are elongated beyond the end of the table. What is wrong?
MWE:
documentclass[14pt,paper=landscape]{scrartcl}
usepackage{tabularx}
usepackage[left=0.5cm,right=0.5cm,top=1cm,bottom=1cm]{geometry}
pagestyle{empty}
begin{document}
begin{tabularx}{textwidth}{|c|c|c|c|c|c|}
hline
range & visual & near-IR & middle-IR & far-IR & far-far-IR \
hline
end{tabularx}
end{document}

tabularx
add a comment |
When I use tabularx the horizontal lines are elongated beyond the end of the table. What is wrong?
MWE:
documentclass[14pt,paper=landscape]{scrartcl}
usepackage{tabularx}
usepackage[left=0.5cm,right=0.5cm,top=1cm,bottom=1cm]{geometry}
pagestyle{empty}
begin{document}
begin{tabularx}{textwidth}{|c|c|c|c|c|c|}
hline
range & visual & near-IR & middle-IR & far-IR & far-far-IR \
hline
end{tabularx}
end{document}

tabularx
Quite simple: you didn't declare anyXcolumn in your table preamble. So the rules are text width long, but the columns have their natural width, which is shorter.
– Bernard
6 mins ago
@Bernard I want to usetabularxonly to change the color of the first row. I don't want anyxcolumn.
– Pygmalion
2 mins ago
add a comment |
When I use tabularx the horizontal lines are elongated beyond the end of the table. What is wrong?
MWE:
documentclass[14pt,paper=landscape]{scrartcl}
usepackage{tabularx}
usepackage[left=0.5cm,right=0.5cm,top=1cm,bottom=1cm]{geometry}
pagestyle{empty}
begin{document}
begin{tabularx}{textwidth}{|c|c|c|c|c|c|}
hline
range & visual & near-IR & middle-IR & far-IR & far-far-IR \
hline
end{tabularx}
end{document}

tabularx
When I use tabularx the horizontal lines are elongated beyond the end of the table. What is wrong?
MWE:
documentclass[14pt,paper=landscape]{scrartcl}
usepackage{tabularx}
usepackage[left=0.5cm,right=0.5cm,top=1cm,bottom=1cm]{geometry}
pagestyle{empty}
begin{document}
begin{tabularx}{textwidth}{|c|c|c|c|c|c|}
hline
range & visual & near-IR & middle-IR & far-IR & far-far-IR \
hline
end{tabularx}
end{document}

tabularx
tabularx
edited 5 mins ago
Bernard
176k778210
176k778210
asked 9 mins ago
PygmalionPygmalion
2,42332652
2,42332652
Quite simple: you didn't declare anyXcolumn in your table preamble. So the rules are text width long, but the columns have their natural width, which is shorter.
– Bernard
6 mins ago
@Bernard I want to usetabularxonly to change the color of the first row. I don't want anyxcolumn.
– Pygmalion
2 mins ago
add a comment |
Quite simple: you didn't declare anyXcolumn in your table preamble. So the rules are text width long, but the columns have their natural width, which is shorter.
– Bernard
6 mins ago
@Bernard I want to usetabularxonly to change the color of the first row. I don't want anyxcolumn.
– Pygmalion
2 mins ago
Quite simple: you didn't declare any
X column in your table preamble. So the rules are text width long, but the columns have their natural width, which is shorter.– Bernard
6 mins ago
Quite simple: you didn't declare any
X column in your table preamble. So the rules are text width long, but the columns have their natural width, which is shorter.– Bernard
6 mins ago
@Bernard I want to use
tabularx only to change the color of the first row. I don't want any x column.– Pygmalion
2 mins ago
@Bernard I want to use
tabularx only to change the color of the first row. I don't want any x column.– Pygmalion
2 mins ago
add a comment |
0
active
oldest
votes
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
});
}
});
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%2f484705%2felongated-horizontal-lines-in-tabularx%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f484705%2felongated-horizontal-lines-in-tabularx%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
Quite simple: you didn't declare any
Xcolumn in your table preamble. So the rules are text width long, but the columns have their natural width, which is shorter.– Bernard
6 mins ago
@Bernard I want to use
tabularxonly to change the color of the first row. I don't want anyxcolumn.– Pygmalion
2 mins ago