For the life of me I can't find the runaway argument here — but then I'm very new to all this
documentclass[11pt, oneside]{article}
usepackage{geometry}
geometry{a4paper}
usepackage{graphicx}
usepackage{amssymb}
usepackage{arydshln}
usepackage[table]{xcolor}
usepackage{pifont}
begin{document}
begin{center} renewcommand*arraystretch{1.2}
scalebox{1}[1]{|c|{begin{tabular}[t]{|rrl||c|c|c|c||c|} hlinemulticolumn{3}|} & {sc{c1}} & {sc{c2}} & {sc{c3}} & {sc{c4}} & {textit{H}} \[0.5ex]
& & & {textit{w=7}} & {textit{w=3}} & {textit{w=3}} & {textit{w=1}} & \
hline hline a. & ding{43} & {O1} & & -3 & & -1 & -4 \
hline b. & & {O2} & & -3 & -3 & -1 & -7 \
hline c. & ding{43} & {O3} & & & -3 & -1 & -4 \
hline end{tabular} renewcommand*arraystretch{1} end{center}
end{document}
arguments
New contributor
add a comment |
documentclass[11pt, oneside]{article}
usepackage{geometry}
geometry{a4paper}
usepackage{graphicx}
usepackage{amssymb}
usepackage{arydshln}
usepackage[table]{xcolor}
usepackage{pifont}
begin{document}
begin{center} renewcommand*arraystretch{1.2}
scalebox{1}[1]{|c|{begin{tabular}[t]{|rrl||c|c|c|c||c|} hlinemulticolumn{3}|} & {sc{c1}} & {sc{c2}} & {sc{c3}} & {sc{c4}} & {textit{H}} \[0.5ex]
& & & {textit{w=7}} & {textit{w=3}} & {textit{w=3}} & {textit{w=1}} & \
hline hline a. & ding{43} & {O1} & & -3 & & -1 & -4 \
hline b. & & {O2} & & -3 & -3 & -1 & -7 \
hline c. & ding{43} & {O3} & & & -3 & -1 & -4 \
hline end{tabular} renewcommand*arraystretch{1} end{center}
end{document}
arguments
New contributor
3
You never closed thescalebox{.}[.]{...
construction. Also, the initial|c|
contained in thescalebox
argument seems out-of-place.
– Werner
6 hours ago
You have also enclosed{begin{tabular}[t]{|rrl||c|c|c|c||c|} hlinemulticolumn{3}|}
in braces.
– Simon
6 hours ago
...this is how I figured it out: Copied your code; added a closing brace at the end of the document; my IDE (TeXnicCentre) highlights matching braces...
– Werner
6 hours ago
add a comment |
documentclass[11pt, oneside]{article}
usepackage{geometry}
geometry{a4paper}
usepackage{graphicx}
usepackage{amssymb}
usepackage{arydshln}
usepackage[table]{xcolor}
usepackage{pifont}
begin{document}
begin{center} renewcommand*arraystretch{1.2}
scalebox{1}[1]{|c|{begin{tabular}[t]{|rrl||c|c|c|c||c|} hlinemulticolumn{3}|} & {sc{c1}} & {sc{c2}} & {sc{c3}} & {sc{c4}} & {textit{H}} \[0.5ex]
& & & {textit{w=7}} & {textit{w=3}} & {textit{w=3}} & {textit{w=1}} & \
hline hline a. & ding{43} & {O1} & & -3 & & -1 & -4 \
hline b. & & {O2} & & -3 & -3 & -1 & -7 \
hline c. & ding{43} & {O3} & & & -3 & -1 & -4 \
hline end{tabular} renewcommand*arraystretch{1} end{center}
end{document}
arguments
New contributor
documentclass[11pt, oneside]{article}
usepackage{geometry}
geometry{a4paper}
usepackage{graphicx}
usepackage{amssymb}
usepackage{arydshln}
usepackage[table]{xcolor}
usepackage{pifont}
begin{document}
begin{center} renewcommand*arraystretch{1.2}
scalebox{1}[1]{|c|{begin{tabular}[t]{|rrl||c|c|c|c||c|} hlinemulticolumn{3}|} & {sc{c1}} & {sc{c2}} & {sc{c3}} & {sc{c4}} & {textit{H}} \[0.5ex]
& & & {textit{w=7}} & {textit{w=3}} & {textit{w=3}} & {textit{w=1}} & \
hline hline a. & ding{43} & {O1} & & -3 & & -1 & -4 \
hline b. & & {O2} & & -3 & -3 & -1 & -7 \
hline c. & ding{43} & {O3} & & & -3 & -1 & -4 \
hline end{tabular} renewcommand*arraystretch{1} end{center}
end{document}
arguments
arguments
New contributor
New contributor
edited 6 hours ago
Au101
7,05132253
7,05132253
New contributor
asked 7 hours ago
Simon RakeSimon Rake
183
183
New contributor
New contributor
3
You never closed thescalebox{.}[.]{...
construction. Also, the initial|c|
contained in thescalebox
argument seems out-of-place.
– Werner
6 hours ago
You have also enclosed{begin{tabular}[t]{|rrl||c|c|c|c||c|} hlinemulticolumn{3}|}
in braces.
– Simon
6 hours ago
...this is how I figured it out: Copied your code; added a closing brace at the end of the document; my IDE (TeXnicCentre) highlights matching braces...
– Werner
6 hours ago
add a comment |
3
You never closed thescalebox{.}[.]{...
construction. Also, the initial|c|
contained in thescalebox
argument seems out-of-place.
– Werner
6 hours ago
You have also enclosed{begin{tabular}[t]{|rrl||c|c|c|c||c|} hlinemulticolumn{3}|}
in braces.
– Simon
6 hours ago
...this is how I figured it out: Copied your code; added a closing brace at the end of the document; my IDE (TeXnicCentre) highlights matching braces...
– Werner
6 hours ago
3
3
You never closed the
scalebox{.}[.]{...
construction. Also, the initial |c|
contained in the scalebox
argument seems out-of-place.– Werner
6 hours ago
You never closed the
scalebox{.}[.]{...
construction. Also, the initial |c|
contained in the scalebox
argument seems out-of-place.– Werner
6 hours ago
You have also enclosed
{begin{tabular}[t]{|rrl||c|c|c|c||c|} hlinemulticolumn{3}|}
in braces.– Simon
6 hours ago
You have also enclosed
{begin{tabular}[t]{|rrl||c|c|c|c||c|} hlinemulticolumn{3}|}
in braces.– Simon
6 hours ago
...this is how I figured it out: Copied your code; added a closing brace at the end of the document; my IDE (TeXnicCentre) highlights matching braces...
– Werner
6 hours ago
...this is how I figured it out: Copied your code; added a closing brace at the end of the document; my IDE (TeXnicCentre) highlights matching braces...
– Werner
6 hours ago
add a comment |
2 Answers
2
active
oldest
votes
I suggest to simplify your syntax quite a bit:
instead of the
center
environment, which adds additional vertical spaces, you could usecentering
the
scalebox{1}{1}{...}
does not have any effect (scales both directions by 1), thus can be left outyour second row has not enough entries, I suspect one empty cell is missing at the start
two-letter font commands are deprecated, see Does it matter if I use textit or it, bfseries or bf, etc (and just my personal opinion, the combination between small caps and numbers looks odd...)
for better spacing put your equations
w=3
in math mode instead of italics, same for all the negative numbers. This will give you real minus signs instead of hyphensmany of the
{}
around the cells are unnecessary (thank to @Au101 for pointing this out in the comments)and what Werner and Simon say in their comments below your question
and please have a look at http://betterposters.blogspot.com/2012/08/the-data-prison.html
documentclass[11pt, oneside]{article}
usepackage{geometry}
geometry{a4paper}
usepackage{graphicx}
usepackage{amssymb}
usepackage{arydshln}
usepackage[table]{xcolor}
usepackage{pifont}
begin{document}
begingroup
centering
renewcommand*arraystretch{1.2}
begin{tabular}[t]{|rrl||c|c|c|c||c|}
hline
multicolumn{3}{|l}{} & textsc{c1} & textsc{c2} & textsc{c3} & textsc{c4} & textit{H} \[0.5ex]
& & & & $w=7$ & $w=3$ & $w=3$ & $w=1$ &\
hline hline
a. & ding{43} & O1 & & $-3$ & & $-1$ & $-4$ \
hline
b. & & O2 & & $-3$ & $-3$ & $-1$ & $-7$ \
hline
c. & ding{43} & O3 & & & $-3$ & $-1$ & $-4$ \
hline
end{tabular}
endgroup
end{document}
Having corrected{sc{c1}}
to{textsc{c1}}
surely you don't need the braces wrapped aroundtextsc{c1}
? Although, actually they wouldn't have had any effect in the first place i don't believe
– Au101
6 hours ago
@Au101 At least these braces don't hurt. They could be useful if one decides to automatically align the cells with siunitx (for this table probably overkill ...)
– samcarter
6 hours ago
So just to add a stupid question to a stupid question -- how do I get the left hand double vertical bar to go all the way to the top?
– Simon Rake
6 hours ago
and also and of course thank you for your input @samcarter et al
– Simon Rake
6 hours ago
@SimonRake Removemulticolumn{3}{|l}{}
and instead write& &
to get the double bar until the top
– samcarter
6 hours ago
add a comment |
Maybe this is what you want?
documentclass[11pt, oneside]{article}
usepackage{geometry}
geometry{a4paper}
usepackage{graphicx}
usepackage{amsmath, amssymb}
usepackage{hhline}
usepackage{arydshln}
usepackage[table]{xcolor}
usepackage{pifont}
begin{document}
[ renewcommand*arraystretch{1.2}
begin{array}
{|rrl||c|c|c|c||c|}
hhline{---||----||-}
textsc{c1} & & & {textsc{c2}} & {textsc{c3}} & {textsc{c4}} & {H} & \[0.5ex]
text{&} & & {w=7} & {w=3} & {w=3} & {w=1} & & \
hhline{===::====::=}
a. & text{ding{43}} & {O1} & & -3 & & -1 & -4 \
hhline{---||----||-} b. & & {O2} & & -3 & -3 & -1 & -7 \
hhline{---||----||-}
c. & text{ding{43}} & {O3} & & & -3 & -1 & -4 \
hhline{---||----||-}
end{array}]%
end{document}
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
});
}
});
Simon Rake 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%2f470779%2ffor-the-life-of-me-i-cant-find-the-runaway-argument-here-but-then-im-very-n%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
I suggest to simplify your syntax quite a bit:
instead of the
center
environment, which adds additional vertical spaces, you could usecentering
the
scalebox{1}{1}{...}
does not have any effect (scales both directions by 1), thus can be left outyour second row has not enough entries, I suspect one empty cell is missing at the start
two-letter font commands are deprecated, see Does it matter if I use textit or it, bfseries or bf, etc (and just my personal opinion, the combination between small caps and numbers looks odd...)
for better spacing put your equations
w=3
in math mode instead of italics, same for all the negative numbers. This will give you real minus signs instead of hyphensmany of the
{}
around the cells are unnecessary (thank to @Au101 for pointing this out in the comments)and what Werner and Simon say in their comments below your question
and please have a look at http://betterposters.blogspot.com/2012/08/the-data-prison.html
documentclass[11pt, oneside]{article}
usepackage{geometry}
geometry{a4paper}
usepackage{graphicx}
usepackage{amssymb}
usepackage{arydshln}
usepackage[table]{xcolor}
usepackage{pifont}
begin{document}
begingroup
centering
renewcommand*arraystretch{1.2}
begin{tabular}[t]{|rrl||c|c|c|c||c|}
hline
multicolumn{3}{|l}{} & textsc{c1} & textsc{c2} & textsc{c3} & textsc{c4} & textit{H} \[0.5ex]
& & & & $w=7$ & $w=3$ & $w=3$ & $w=1$ &\
hline hline
a. & ding{43} & O1 & & $-3$ & & $-1$ & $-4$ \
hline
b. & & O2 & & $-3$ & $-3$ & $-1$ & $-7$ \
hline
c. & ding{43} & O3 & & & $-3$ & $-1$ & $-4$ \
hline
end{tabular}
endgroup
end{document}
Having corrected{sc{c1}}
to{textsc{c1}}
surely you don't need the braces wrapped aroundtextsc{c1}
? Although, actually they wouldn't have had any effect in the first place i don't believe
– Au101
6 hours ago
@Au101 At least these braces don't hurt. They could be useful if one decides to automatically align the cells with siunitx (for this table probably overkill ...)
– samcarter
6 hours ago
So just to add a stupid question to a stupid question -- how do I get the left hand double vertical bar to go all the way to the top?
– Simon Rake
6 hours ago
and also and of course thank you for your input @samcarter et al
– Simon Rake
6 hours ago
@SimonRake Removemulticolumn{3}{|l}{}
and instead write& &
to get the double bar until the top
– samcarter
6 hours ago
add a comment |
I suggest to simplify your syntax quite a bit:
instead of the
center
environment, which adds additional vertical spaces, you could usecentering
the
scalebox{1}{1}{...}
does not have any effect (scales both directions by 1), thus can be left outyour second row has not enough entries, I suspect one empty cell is missing at the start
two-letter font commands are deprecated, see Does it matter if I use textit or it, bfseries or bf, etc (and just my personal opinion, the combination between small caps and numbers looks odd...)
for better spacing put your equations
w=3
in math mode instead of italics, same for all the negative numbers. This will give you real minus signs instead of hyphensmany of the
{}
around the cells are unnecessary (thank to @Au101 for pointing this out in the comments)and what Werner and Simon say in their comments below your question
and please have a look at http://betterposters.blogspot.com/2012/08/the-data-prison.html
documentclass[11pt, oneside]{article}
usepackage{geometry}
geometry{a4paper}
usepackage{graphicx}
usepackage{amssymb}
usepackage{arydshln}
usepackage[table]{xcolor}
usepackage{pifont}
begin{document}
begingroup
centering
renewcommand*arraystretch{1.2}
begin{tabular}[t]{|rrl||c|c|c|c||c|}
hline
multicolumn{3}{|l}{} & textsc{c1} & textsc{c2} & textsc{c3} & textsc{c4} & textit{H} \[0.5ex]
& & & & $w=7$ & $w=3$ & $w=3$ & $w=1$ &\
hline hline
a. & ding{43} & O1 & & $-3$ & & $-1$ & $-4$ \
hline
b. & & O2 & & $-3$ & $-3$ & $-1$ & $-7$ \
hline
c. & ding{43} & O3 & & & $-3$ & $-1$ & $-4$ \
hline
end{tabular}
endgroup
end{document}
Having corrected{sc{c1}}
to{textsc{c1}}
surely you don't need the braces wrapped aroundtextsc{c1}
? Although, actually they wouldn't have had any effect in the first place i don't believe
– Au101
6 hours ago
@Au101 At least these braces don't hurt. They could be useful if one decides to automatically align the cells with siunitx (for this table probably overkill ...)
– samcarter
6 hours ago
So just to add a stupid question to a stupid question -- how do I get the left hand double vertical bar to go all the way to the top?
– Simon Rake
6 hours ago
and also and of course thank you for your input @samcarter et al
– Simon Rake
6 hours ago
@SimonRake Removemulticolumn{3}{|l}{}
and instead write& &
to get the double bar until the top
– samcarter
6 hours ago
add a comment |
I suggest to simplify your syntax quite a bit:
instead of the
center
environment, which adds additional vertical spaces, you could usecentering
the
scalebox{1}{1}{...}
does not have any effect (scales both directions by 1), thus can be left outyour second row has not enough entries, I suspect one empty cell is missing at the start
two-letter font commands are deprecated, see Does it matter if I use textit or it, bfseries or bf, etc (and just my personal opinion, the combination between small caps and numbers looks odd...)
for better spacing put your equations
w=3
in math mode instead of italics, same for all the negative numbers. This will give you real minus signs instead of hyphensmany of the
{}
around the cells are unnecessary (thank to @Au101 for pointing this out in the comments)and what Werner and Simon say in their comments below your question
and please have a look at http://betterposters.blogspot.com/2012/08/the-data-prison.html
documentclass[11pt, oneside]{article}
usepackage{geometry}
geometry{a4paper}
usepackage{graphicx}
usepackage{amssymb}
usepackage{arydshln}
usepackage[table]{xcolor}
usepackage{pifont}
begin{document}
begingroup
centering
renewcommand*arraystretch{1.2}
begin{tabular}[t]{|rrl||c|c|c|c||c|}
hline
multicolumn{3}{|l}{} & textsc{c1} & textsc{c2} & textsc{c3} & textsc{c4} & textit{H} \[0.5ex]
& & & & $w=7$ & $w=3$ & $w=3$ & $w=1$ &\
hline hline
a. & ding{43} & O1 & & $-3$ & & $-1$ & $-4$ \
hline
b. & & O2 & & $-3$ & $-3$ & $-1$ & $-7$ \
hline
c. & ding{43} & O3 & & & $-3$ & $-1$ & $-4$ \
hline
end{tabular}
endgroup
end{document}
I suggest to simplify your syntax quite a bit:
instead of the
center
environment, which adds additional vertical spaces, you could usecentering
the
scalebox{1}{1}{...}
does not have any effect (scales both directions by 1), thus can be left outyour second row has not enough entries, I suspect one empty cell is missing at the start
two-letter font commands are deprecated, see Does it matter if I use textit or it, bfseries or bf, etc (and just my personal opinion, the combination between small caps and numbers looks odd...)
for better spacing put your equations
w=3
in math mode instead of italics, same for all the negative numbers. This will give you real minus signs instead of hyphensmany of the
{}
around the cells are unnecessary (thank to @Au101 for pointing this out in the comments)and what Werner and Simon say in their comments below your question
and please have a look at http://betterposters.blogspot.com/2012/08/the-data-prison.html
documentclass[11pt, oneside]{article}
usepackage{geometry}
geometry{a4paper}
usepackage{graphicx}
usepackage{amssymb}
usepackage{arydshln}
usepackage[table]{xcolor}
usepackage{pifont}
begin{document}
begingroup
centering
renewcommand*arraystretch{1.2}
begin{tabular}[t]{|rrl||c|c|c|c||c|}
hline
multicolumn{3}{|l}{} & textsc{c1} & textsc{c2} & textsc{c3} & textsc{c4} & textit{H} \[0.5ex]
& & & & $w=7$ & $w=3$ & $w=3$ & $w=1$ &\
hline hline
a. & ding{43} & O1 & & $-3$ & & $-1$ & $-4$ \
hline
b. & & O2 & & $-3$ & $-3$ & $-1$ & $-7$ \
hline
c. & ding{43} & O3 & & & $-3$ & $-1$ & $-4$ \
hline
end{tabular}
endgroup
end{document}
edited 6 hours ago
answered 6 hours ago
samcartersamcarter
87.4k795279
87.4k795279
Having corrected{sc{c1}}
to{textsc{c1}}
surely you don't need the braces wrapped aroundtextsc{c1}
? Although, actually they wouldn't have had any effect in the first place i don't believe
– Au101
6 hours ago
@Au101 At least these braces don't hurt. They could be useful if one decides to automatically align the cells with siunitx (for this table probably overkill ...)
– samcarter
6 hours ago
So just to add a stupid question to a stupid question -- how do I get the left hand double vertical bar to go all the way to the top?
– Simon Rake
6 hours ago
and also and of course thank you for your input @samcarter et al
– Simon Rake
6 hours ago
@SimonRake Removemulticolumn{3}{|l}{}
and instead write& &
to get the double bar until the top
– samcarter
6 hours ago
add a comment |
Having corrected{sc{c1}}
to{textsc{c1}}
surely you don't need the braces wrapped aroundtextsc{c1}
? Although, actually they wouldn't have had any effect in the first place i don't believe
– Au101
6 hours ago
@Au101 At least these braces don't hurt. They could be useful if one decides to automatically align the cells with siunitx (for this table probably overkill ...)
– samcarter
6 hours ago
So just to add a stupid question to a stupid question -- how do I get the left hand double vertical bar to go all the way to the top?
– Simon Rake
6 hours ago
and also and of course thank you for your input @samcarter et al
– Simon Rake
6 hours ago
@SimonRake Removemulticolumn{3}{|l}{}
and instead write& &
to get the double bar until the top
– samcarter
6 hours ago
Having corrected
{sc{c1}}
to {textsc{c1}}
surely you don't need the braces wrapped around textsc{c1}
? Although, actually they wouldn't have had any effect in the first place i don't believe– Au101
6 hours ago
Having corrected
{sc{c1}}
to {textsc{c1}}
surely you don't need the braces wrapped around textsc{c1}
? Although, actually they wouldn't have had any effect in the first place i don't believe– Au101
6 hours ago
@Au101 At least these braces don't hurt. They could be useful if one decides to automatically align the cells with siunitx (for this table probably overkill ...)
– samcarter
6 hours ago
@Au101 At least these braces don't hurt. They could be useful if one decides to automatically align the cells with siunitx (for this table probably overkill ...)
– samcarter
6 hours ago
So just to add a stupid question to a stupid question -- how do I get the left hand double vertical bar to go all the way to the top?
– Simon Rake
6 hours ago
So just to add a stupid question to a stupid question -- how do I get the left hand double vertical bar to go all the way to the top?
– Simon Rake
6 hours ago
and also and of course thank you for your input @samcarter et al
– Simon Rake
6 hours ago
and also and of course thank you for your input @samcarter et al
– Simon Rake
6 hours ago
@SimonRake Remove
multicolumn{3}{|l}{}
and instead write & &
to get the double bar until the top– samcarter
6 hours ago
@SimonRake Remove
multicolumn{3}{|l}{}
and instead write & &
to get the double bar until the top– samcarter
6 hours ago
add a comment |
Maybe this is what you want?
documentclass[11pt, oneside]{article}
usepackage{geometry}
geometry{a4paper}
usepackage{graphicx}
usepackage{amsmath, amssymb}
usepackage{hhline}
usepackage{arydshln}
usepackage[table]{xcolor}
usepackage{pifont}
begin{document}
[ renewcommand*arraystretch{1.2}
begin{array}
{|rrl||c|c|c|c||c|}
hhline{---||----||-}
textsc{c1} & & & {textsc{c2}} & {textsc{c3}} & {textsc{c4}} & {H} & \[0.5ex]
text{&} & & {w=7} & {w=3} & {w=3} & {w=1} & & \
hhline{===::====::=}
a. & text{ding{43}} & {O1} & & -3 & & -1 & -4 \
hhline{---||----||-} b. & & {O2} & & -3 & -3 & -1 & -7 \
hhline{---||----||-}
c. & text{ding{43}} & {O3} & & & -3 & -1 & -4 \
hhline{---||----||-}
end{array}]%
end{document}
add a comment |
Maybe this is what you want?
documentclass[11pt, oneside]{article}
usepackage{geometry}
geometry{a4paper}
usepackage{graphicx}
usepackage{amsmath, amssymb}
usepackage{hhline}
usepackage{arydshln}
usepackage[table]{xcolor}
usepackage{pifont}
begin{document}
[ renewcommand*arraystretch{1.2}
begin{array}
{|rrl||c|c|c|c||c|}
hhline{---||----||-}
textsc{c1} & & & {textsc{c2}} & {textsc{c3}} & {textsc{c4}} & {H} & \[0.5ex]
text{&} & & {w=7} & {w=3} & {w=3} & {w=1} & & \
hhline{===::====::=}
a. & text{ding{43}} & {O1} & & -3 & & -1 & -4 \
hhline{---||----||-} b. & & {O2} & & -3 & -3 & -1 & -7 \
hhline{---||----||-}
c. & text{ding{43}} & {O3} & & & -3 & -1 & -4 \
hhline{---||----||-}
end{array}]%
end{document}
add a comment |
Maybe this is what you want?
documentclass[11pt, oneside]{article}
usepackage{geometry}
geometry{a4paper}
usepackage{graphicx}
usepackage{amsmath, amssymb}
usepackage{hhline}
usepackage{arydshln}
usepackage[table]{xcolor}
usepackage{pifont}
begin{document}
[ renewcommand*arraystretch{1.2}
begin{array}
{|rrl||c|c|c|c||c|}
hhline{---||----||-}
textsc{c1} & & & {textsc{c2}} & {textsc{c3}} & {textsc{c4}} & {H} & \[0.5ex]
text{&} & & {w=7} & {w=3} & {w=3} & {w=1} & & \
hhline{===::====::=}
a. & text{ding{43}} & {O1} & & -3 & & -1 & -4 \
hhline{---||----||-} b. & & {O2} & & -3 & -3 & -1 & -7 \
hhline{---||----||-}
c. & text{ding{43}} & {O3} & & & -3 & -1 & -4 \
hhline{---||----||-}
end{array}]%
end{document}
Maybe this is what you want?
documentclass[11pt, oneside]{article}
usepackage{geometry}
geometry{a4paper}
usepackage{graphicx}
usepackage{amsmath, amssymb}
usepackage{hhline}
usepackage{arydshln}
usepackage[table]{xcolor}
usepackage{pifont}
begin{document}
[ renewcommand*arraystretch{1.2}
begin{array}
{|rrl||c|c|c|c||c|}
hhline{---||----||-}
textsc{c1} & & & {textsc{c2}} & {textsc{c3}} & {textsc{c4}} & {H} & \[0.5ex]
text{&} & & {w=7} & {w=3} & {w=3} & {w=1} & & \
hhline{===::====::=}
a. & text{ding{43}} & {O1} & & -3 & & -1 & -4 \
hhline{---||----||-} b. & & {O2} & & -3 & -3 & -1 & -7 \
hhline{---||----||-}
c. & text{ding{43}} & {O3} & & & -3 & -1 & -4 \
hhline{---||----||-}
end{array}]%
end{document}
edited 5 hours ago
answered 6 hours ago
BernardBernard
167k770195
167k770195
add a comment |
add a comment |
Simon Rake is a new contributor. Be nice, and check out our Code of Conduct.
Simon Rake is a new contributor. Be nice, and check out our Code of Conduct.
Simon Rake is a new contributor. Be nice, and check out our Code of Conduct.
Simon Rake 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%2f470779%2ffor-the-life-of-me-i-cant-find-the-runaway-argument-here-but-then-im-very-n%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
3
You never closed the
scalebox{.}[.]{...
construction. Also, the initial|c|
contained in thescalebox
argument seems out-of-place.– Werner
6 hours ago
You have also enclosed
{begin{tabular}[t]{|rrl||c|c|c|c||c|} hlinemulticolumn{3}|}
in braces.– Simon
6 hours ago
...this is how I figured it out: Copied your code; added a closing brace at the end of the document; my IDE (TeXnicCentre) highlights matching braces...
– Werner
6 hours ago