Using @{} in multicolumn in spreadtab
up vote
0
down vote
favorite
I want to be able to run this:
documentclass{report}
usepackage{spreadtab}
begin{document}
begin{spreadtab}{{tabular}{@{}ll@{}}}
@Test & 1234\
multicolumn{2}{@{}l@{}}{@Longer}
end{spreadtab}
end{document}
I can run this without errors:
documentclass{report}
usepackage{spreadtab}
begin{document}
begin{spreadtab}{{tabular}{@{}ll@{}}}
@Test & 1234\
multicolumn{2}{l}{@Longer}
end{spreadtab}
end{document}
But that produces the wrong alignment:

tables formatting spreadtab
add a comment |
up vote
0
down vote
favorite
I want to be able to run this:
documentclass{report}
usepackage{spreadtab}
begin{document}
begin{spreadtab}{{tabular}{@{}ll@{}}}
@Test & 1234\
multicolumn{2}{@{}l@{}}{@Longer}
end{spreadtab}
end{document}
I can run this without errors:
documentclass{report}
usepackage{spreadtab}
begin{document}
begin{spreadtab}{{tabular}{@{}ll@{}}}
@Test & 1234\
multicolumn{2}{l}{@Longer}
end{spreadtab}
end{document}
But that produces the wrong alignment:

tables formatting spreadtab
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to be able to run this:
documentclass{report}
usepackage{spreadtab}
begin{document}
begin{spreadtab}{{tabular}{@{}ll@{}}}
@Test & 1234\
multicolumn{2}{@{}l@{}}{@Longer}
end{spreadtab}
end{document}
I can run this without errors:
documentclass{report}
usepackage{spreadtab}
begin{document}
begin{spreadtab}{{tabular}{@{}ll@{}}}
@Test & 1234\
multicolumn{2}{l}{@Longer}
end{spreadtab}
end{document}
But that produces the wrong alignment:

tables formatting spreadtab
I want to be able to run this:
documentclass{report}
usepackage{spreadtab}
begin{document}
begin{spreadtab}{{tabular}{@{}ll@{}}}
@Test & 1234\
multicolumn{2}{@{}l@{}}{@Longer}
end{spreadtab}
end{document}
I can run this without errors:
documentclass{report}
usepackage{spreadtab}
begin{document}
begin{spreadtab}{{tabular}{@{}ll@{}}}
@Test & 1234\
multicolumn{2}{l}{@Longer}
end{spreadtab}
end{document}
But that produces the wrong alignment:

tables formatting spreadtab
tables formatting spreadtab
asked Nov 21 at 16:29
Tvde1
1127
1127
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
You could define a new columntype which hides the problematic @:
documentclass{report}
usepackage{spreadtab}
usepackage{array}
newcolumntypemCol{@{}l@{}}
begin{document}
begin{spreadtab}{{tabular}{@{}ll@{}}}
@Test & 1234\
multicolumn{2}{mCol}{@Longer}
end{spreadtab}
end{document}
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
You could define a new columntype which hides the problematic @:
documentclass{report}
usepackage{spreadtab}
usepackage{array}
newcolumntypemCol{@{}l@{}}
begin{document}
begin{spreadtab}{{tabular}{@{}ll@{}}}
@Test & 1234\
multicolumn{2}{mCol}{@Longer}
end{spreadtab}
end{document}
add a comment |
up vote
1
down vote
accepted
You could define a new columntype which hides the problematic @:
documentclass{report}
usepackage{spreadtab}
usepackage{array}
newcolumntypemCol{@{}l@{}}
begin{document}
begin{spreadtab}{{tabular}{@{}ll@{}}}
@Test & 1234\
multicolumn{2}{mCol}{@Longer}
end{spreadtab}
end{document}
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
You could define a new columntype which hides the problematic @:
documentclass{report}
usepackage{spreadtab}
usepackage{array}
newcolumntypemCol{@{}l@{}}
begin{document}
begin{spreadtab}{{tabular}{@{}ll@{}}}
@Test & 1234\
multicolumn{2}{mCol}{@Longer}
end{spreadtab}
end{document}
You could define a new columntype which hides the problematic @:
documentclass{report}
usepackage{spreadtab}
usepackage{array}
newcolumntypemCol{@{}l@{}}
begin{document}
begin{spreadtab}{{tabular}{@{}ll@{}}}
@Test & 1234\
multicolumn{2}{mCol}{@Longer}
end{spreadtab}
end{document}
answered Nov 21 at 16:36
Ulrike Fischer
183k7288663
183k7288663
add a comment |
add a comment |
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%2f461151%2fusing-in-multicolumn-in-spreadtab%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