Border strip tableau
I would like to draw border strip tableaux in Latex. Such a tableau is a tiling of a partition shape (or skew-partition shaped) diagram with labeled border strips such that in each row and column, the labels are increasing. For a precise definition, see page 351 in
http://www-math.mit.edu/~rstan/pubs/pubfiles/123.pdf
In the picture, all the border strips are of the same length. This special case is enough for my purposes but does not hold in general.
The picture is copied from Figure 2.4 in http://www.ams.org/journals/tran/2000-352-12/S0002-9947-00-02666-0/S0002-9947-00-02666-0.pdf
tikz-pgf amsmath ytableau youngtab
add a comment |
I would like to draw border strip tableaux in Latex. Such a tableau is a tiling of a partition shape (or skew-partition shaped) diagram with labeled border strips such that in each row and column, the labels are increasing. For a precise definition, see page 351 in
http://www-math.mit.edu/~rstan/pubs/pubfiles/123.pdf
In the picture, all the border strips are of the same length. This special case is enough for my purposes but does not hold in general.
The picture is copied from Figure 2.4 in http://www.ams.org/journals/tran/2000-352-12/S0002-9947-00-02666-0/S0002-9947-00-02666-0.pdf
tikz-pgf amsmath ytableau youngtab
could you show what you have tried so far?
– Raaja
Feb 19 at 8:00
add a comment |
I would like to draw border strip tableaux in Latex. Such a tableau is a tiling of a partition shape (or skew-partition shaped) diagram with labeled border strips such that in each row and column, the labels are increasing. For a precise definition, see page 351 in
http://www-math.mit.edu/~rstan/pubs/pubfiles/123.pdf
In the picture, all the border strips are of the same length. This special case is enough for my purposes but does not hold in general.
The picture is copied from Figure 2.4 in http://www.ams.org/journals/tran/2000-352-12/S0002-9947-00-02666-0/S0002-9947-00-02666-0.pdf
tikz-pgf amsmath ytableau youngtab
I would like to draw border strip tableaux in Latex. Such a tableau is a tiling of a partition shape (or skew-partition shaped) diagram with labeled border strips such that in each row and column, the labels are increasing. For a precise definition, see page 351 in
http://www-math.mit.edu/~rstan/pubs/pubfiles/123.pdf
In the picture, all the border strips are of the same length. This special case is enough for my purposes but does not hold in general.
The picture is copied from Figure 2.4 in http://www.ams.org/journals/tran/2000-352-12/S0002-9947-00-02666-0/S0002-9947-00-02666-0.pdf
tikz-pgf amsmath ytableau youngtab
tikz-pgf amsmath ytableau youngtab
edited Feb 19 at 10:15
Joakim Uhlin
asked Feb 19 at 7:57
Joakim UhlinJoakim Uhlin
474
474
could you show what you have tried so far?
– Raaja
Feb 19 at 8:00
add a comment |
could you show what you have tried so far?
– Raaja
Feb 19 at 8:00
could you show what you have tried so far?
– Raaja
Feb 19 at 8:00
could you show what you have tried so far?
– Raaja
Feb 19 at 8:00
add a comment |
2 Answers
2
active
oldest
votes
You mean like this (this includes @CarLaTeX's suggestion to use arraystretch
):
documentclass[border=3.14mm]{standalone}
usepackage{array}
renewcommand{arraystretch}{1.4}
begin{document}
begin{tabular}{|lllllllll}
hline
multicolumn{3}{|c|}{1} & multicolumn{1}{l|}{} & 5 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & 13 & multicolumn{1}{l|}{} \ cline{1-3} cline{6-6} cline{9-9}
2 & multicolumn{1}{l|}{} & & multicolumn{1}{l|}{4} & multicolumn{1}{l|}{} & & multicolumn{1}{l|}{8} & multicolumn{1}{l|}{} & \ cline{2-8}
multicolumn{1}{|l|}{} & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & 9 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & & \ cline{1-1} cline{5-5}
& multicolumn{1}{l|}{3} & multicolumn{1}{l|}{7} & multicolumn{1}{l|}{} & & multicolumn{1}{l|}{10} & multicolumn{1}{l|}{12} & & \ cline{1-2} cline{4-6}
6 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & & 11 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & & \ cline{2-7}
multicolumn{1}{|l|}{} & & 14 & multicolumn{1}{l|}{} & & & & & \ cline{1-4}
end{tabular}
end{document}
which will give you:
Since this can be easily achieved by tabular
environment, I have directly utilized it.
PS: In case, if you have something else in mind, please consider giving an MWE
.
Disclaimer: I specifically chose not to use
tikz
here. Instead, I usedtabular
-- though it does not match the tags of the question -- only because it is elegant for this class of typesetting;)
.
That is very nice and it is what I needed, thanks! Do you know if there is an easy way to adjust it so that all boxes are more squareish? Now they look a bit flat. After some testing, I added renewcommand{arraystretch}{1.35} before the tabular envoirnment which looks alright but for example the top right square looks a bit wierd.
– Joakim Uhlin
Feb 19 at 8:48
1
@Jaokim Uhlin There are countless number of ways ;) of which one you already did, you can also play with cell spacing etc., Please refer to table related manuals ;) that is the first place to start with. And you are welcome!
– Raaja
Feb 19 at 8:50
@CarLaTeX thank you ;) I will update it after I reach back ;)
– Raaja
Feb 19 at 21:10
add a comment |
A variation on the theme of Raaja's answer, who the credit should go. The advantage here is a more readable syntax, where each cell is specified (the optional argument is the contents, if not empty).
documentclass{article}
usepackage{array,xparse}
NewExpandableDocumentCommand{?}{O{}m}{%
multicolumn{1}{#2}{makebox[0.6em]{#1}}%
}
begin{document}
[
renewcommand{arraystretch}{1.4}
begin{tabular}{*{9}{c}}
hline
?{|c} & ?[1]{c} & ?{c|} & ?{c|} & ?[5]{c} & ?{c|} & ?{c|} & ?[13]{c} & ?{c|} \
cline{1-3} cline{6-6} cline{9-9}
?[2]{|c} & ?{c|} & ?{c} & ?[4]{c|} & ?{c|} & ?{c} & ?[8]{c|} & ?{c|} \
cline{2-8}
?{|c|} & ?{c|} & ?{c|} & ?[9]{c} & ?{c|} & ?{c|} & ?{c|} \
cline{1-1} cline{5-5}
?{|c} & ?[3]{c|} & ?[7]{c|} & ?{c|} & ?{c} & ?[10]{c|} & ?[12]{c|} \
cline{1-2} cline{4-6}
?[6]{|c} & ?{c|} & ?{c|} & ?{c} & ?[11]{c} & ?{c|} & ?{c|} \
cline{2-7}
?{|c|} & ?{c} & ?[14]{c} & ?{c|} \
cline{1-4}
end{tabular}
]
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
});
}
});
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%2f475613%2fborder-strip-tableau%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 mean like this (this includes @CarLaTeX's suggestion to use arraystretch
):
documentclass[border=3.14mm]{standalone}
usepackage{array}
renewcommand{arraystretch}{1.4}
begin{document}
begin{tabular}{|lllllllll}
hline
multicolumn{3}{|c|}{1} & multicolumn{1}{l|}{} & 5 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & 13 & multicolumn{1}{l|}{} \ cline{1-3} cline{6-6} cline{9-9}
2 & multicolumn{1}{l|}{} & & multicolumn{1}{l|}{4} & multicolumn{1}{l|}{} & & multicolumn{1}{l|}{8} & multicolumn{1}{l|}{} & \ cline{2-8}
multicolumn{1}{|l|}{} & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & 9 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & & \ cline{1-1} cline{5-5}
& multicolumn{1}{l|}{3} & multicolumn{1}{l|}{7} & multicolumn{1}{l|}{} & & multicolumn{1}{l|}{10} & multicolumn{1}{l|}{12} & & \ cline{1-2} cline{4-6}
6 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & & 11 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & & \ cline{2-7}
multicolumn{1}{|l|}{} & & 14 & multicolumn{1}{l|}{} & & & & & \ cline{1-4}
end{tabular}
end{document}
which will give you:
Since this can be easily achieved by tabular
environment, I have directly utilized it.
PS: In case, if you have something else in mind, please consider giving an MWE
.
Disclaimer: I specifically chose not to use
tikz
here. Instead, I usedtabular
-- though it does not match the tags of the question -- only because it is elegant for this class of typesetting;)
.
That is very nice and it is what I needed, thanks! Do you know if there is an easy way to adjust it so that all boxes are more squareish? Now they look a bit flat. After some testing, I added renewcommand{arraystretch}{1.35} before the tabular envoirnment which looks alright but for example the top right square looks a bit wierd.
– Joakim Uhlin
Feb 19 at 8:48
1
@Jaokim Uhlin There are countless number of ways ;) of which one you already did, you can also play with cell spacing etc., Please refer to table related manuals ;) that is the first place to start with. And you are welcome!
– Raaja
Feb 19 at 8:50
@CarLaTeX thank you ;) I will update it after I reach back ;)
– Raaja
Feb 19 at 21:10
add a comment |
You mean like this (this includes @CarLaTeX's suggestion to use arraystretch
):
documentclass[border=3.14mm]{standalone}
usepackage{array}
renewcommand{arraystretch}{1.4}
begin{document}
begin{tabular}{|lllllllll}
hline
multicolumn{3}{|c|}{1} & multicolumn{1}{l|}{} & 5 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & 13 & multicolumn{1}{l|}{} \ cline{1-3} cline{6-6} cline{9-9}
2 & multicolumn{1}{l|}{} & & multicolumn{1}{l|}{4} & multicolumn{1}{l|}{} & & multicolumn{1}{l|}{8} & multicolumn{1}{l|}{} & \ cline{2-8}
multicolumn{1}{|l|}{} & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & 9 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & & \ cline{1-1} cline{5-5}
& multicolumn{1}{l|}{3} & multicolumn{1}{l|}{7} & multicolumn{1}{l|}{} & & multicolumn{1}{l|}{10} & multicolumn{1}{l|}{12} & & \ cline{1-2} cline{4-6}
6 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & & 11 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & & \ cline{2-7}
multicolumn{1}{|l|}{} & & 14 & multicolumn{1}{l|}{} & & & & & \ cline{1-4}
end{tabular}
end{document}
which will give you:
Since this can be easily achieved by tabular
environment, I have directly utilized it.
PS: In case, if you have something else in mind, please consider giving an MWE
.
Disclaimer: I specifically chose not to use
tikz
here. Instead, I usedtabular
-- though it does not match the tags of the question -- only because it is elegant for this class of typesetting;)
.
That is very nice and it is what I needed, thanks! Do you know if there is an easy way to adjust it so that all boxes are more squareish? Now they look a bit flat. After some testing, I added renewcommand{arraystretch}{1.35} before the tabular envoirnment which looks alright but for example the top right square looks a bit wierd.
– Joakim Uhlin
Feb 19 at 8:48
1
@Jaokim Uhlin There are countless number of ways ;) of which one you already did, you can also play with cell spacing etc., Please refer to table related manuals ;) that is the first place to start with. And you are welcome!
– Raaja
Feb 19 at 8:50
@CarLaTeX thank you ;) I will update it after I reach back ;)
– Raaja
Feb 19 at 21:10
add a comment |
You mean like this (this includes @CarLaTeX's suggestion to use arraystretch
):
documentclass[border=3.14mm]{standalone}
usepackage{array}
renewcommand{arraystretch}{1.4}
begin{document}
begin{tabular}{|lllllllll}
hline
multicolumn{3}{|c|}{1} & multicolumn{1}{l|}{} & 5 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & 13 & multicolumn{1}{l|}{} \ cline{1-3} cline{6-6} cline{9-9}
2 & multicolumn{1}{l|}{} & & multicolumn{1}{l|}{4} & multicolumn{1}{l|}{} & & multicolumn{1}{l|}{8} & multicolumn{1}{l|}{} & \ cline{2-8}
multicolumn{1}{|l|}{} & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & 9 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & & \ cline{1-1} cline{5-5}
& multicolumn{1}{l|}{3} & multicolumn{1}{l|}{7} & multicolumn{1}{l|}{} & & multicolumn{1}{l|}{10} & multicolumn{1}{l|}{12} & & \ cline{1-2} cline{4-6}
6 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & & 11 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & & \ cline{2-7}
multicolumn{1}{|l|}{} & & 14 & multicolumn{1}{l|}{} & & & & & \ cline{1-4}
end{tabular}
end{document}
which will give you:
Since this can be easily achieved by tabular
environment, I have directly utilized it.
PS: In case, if you have something else in mind, please consider giving an MWE
.
Disclaimer: I specifically chose not to use
tikz
here. Instead, I usedtabular
-- though it does not match the tags of the question -- only because it is elegant for this class of typesetting;)
.
You mean like this (this includes @CarLaTeX's suggestion to use arraystretch
):
documentclass[border=3.14mm]{standalone}
usepackage{array}
renewcommand{arraystretch}{1.4}
begin{document}
begin{tabular}{|lllllllll}
hline
multicolumn{3}{|c|}{1} & multicolumn{1}{l|}{} & 5 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & 13 & multicolumn{1}{l|}{} \ cline{1-3} cline{6-6} cline{9-9}
2 & multicolumn{1}{l|}{} & & multicolumn{1}{l|}{4} & multicolumn{1}{l|}{} & & multicolumn{1}{l|}{8} & multicolumn{1}{l|}{} & \ cline{2-8}
multicolumn{1}{|l|}{} & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & 9 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & & \ cline{1-1} cline{5-5}
& multicolumn{1}{l|}{3} & multicolumn{1}{l|}{7} & multicolumn{1}{l|}{} & & multicolumn{1}{l|}{10} & multicolumn{1}{l|}{12} & & \ cline{1-2} cline{4-6}
6 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & & 11 & multicolumn{1}{l|}{} & multicolumn{1}{l|}{} & & \ cline{2-7}
multicolumn{1}{|l|}{} & & 14 & multicolumn{1}{l|}{} & & & & & \ cline{1-4}
end{tabular}
end{document}
which will give you:
Since this can be easily achieved by tabular
environment, I have directly utilized it.
PS: In case, if you have something else in mind, please consider giving an MWE
.
Disclaimer: I specifically chose not to use
tikz
here. Instead, I usedtabular
-- though it does not match the tags of the question -- only because it is elegant for this class of typesetting;)
.
edited Feb 19 at 22:55
Sigur
26.1k457142
26.1k457142
answered Feb 19 at 8:19
RaajaRaaja
5,18421542
5,18421542
That is very nice and it is what I needed, thanks! Do you know if there is an easy way to adjust it so that all boxes are more squareish? Now they look a bit flat. After some testing, I added renewcommand{arraystretch}{1.35} before the tabular envoirnment which looks alright but for example the top right square looks a bit wierd.
– Joakim Uhlin
Feb 19 at 8:48
1
@Jaokim Uhlin There are countless number of ways ;) of which one you already did, you can also play with cell spacing etc., Please refer to table related manuals ;) that is the first place to start with. And you are welcome!
– Raaja
Feb 19 at 8:50
@CarLaTeX thank you ;) I will update it after I reach back ;)
– Raaja
Feb 19 at 21:10
add a comment |
That is very nice and it is what I needed, thanks! Do you know if there is an easy way to adjust it so that all boxes are more squareish? Now they look a bit flat. After some testing, I added renewcommand{arraystretch}{1.35} before the tabular envoirnment which looks alright but for example the top right square looks a bit wierd.
– Joakim Uhlin
Feb 19 at 8:48
1
@Jaokim Uhlin There are countless number of ways ;) of which one you already did, you can also play with cell spacing etc., Please refer to table related manuals ;) that is the first place to start with. And you are welcome!
– Raaja
Feb 19 at 8:50
@CarLaTeX thank you ;) I will update it after I reach back ;)
– Raaja
Feb 19 at 21:10
That is very nice and it is what I needed, thanks! Do you know if there is an easy way to adjust it so that all boxes are more squareish? Now they look a bit flat. After some testing, I added renewcommand{arraystretch}{1.35} before the tabular envoirnment which looks alright but for example the top right square looks a bit wierd.
– Joakim Uhlin
Feb 19 at 8:48
That is very nice and it is what I needed, thanks! Do you know if there is an easy way to adjust it so that all boxes are more squareish? Now they look a bit flat. After some testing, I added renewcommand{arraystretch}{1.35} before the tabular envoirnment which looks alright but for example the top right square looks a bit wierd.
– Joakim Uhlin
Feb 19 at 8:48
1
1
@Jaokim Uhlin There are countless number of ways ;) of which one you already did, you can also play with cell spacing etc., Please refer to table related manuals ;) that is the first place to start with. And you are welcome!
– Raaja
Feb 19 at 8:50
@Jaokim Uhlin There are countless number of ways ;) of which one you already did, you can also play with cell spacing etc., Please refer to table related manuals ;) that is the first place to start with. And you are welcome!
– Raaja
Feb 19 at 8:50
@CarLaTeX thank you ;) I will update it after I reach back ;)
– Raaja
Feb 19 at 21:10
@CarLaTeX thank you ;) I will update it after I reach back ;)
– Raaja
Feb 19 at 21:10
add a comment |
A variation on the theme of Raaja's answer, who the credit should go. The advantage here is a more readable syntax, where each cell is specified (the optional argument is the contents, if not empty).
documentclass{article}
usepackage{array,xparse}
NewExpandableDocumentCommand{?}{O{}m}{%
multicolumn{1}{#2}{makebox[0.6em]{#1}}%
}
begin{document}
[
renewcommand{arraystretch}{1.4}
begin{tabular}{*{9}{c}}
hline
?{|c} & ?[1]{c} & ?{c|} & ?{c|} & ?[5]{c} & ?{c|} & ?{c|} & ?[13]{c} & ?{c|} \
cline{1-3} cline{6-6} cline{9-9}
?[2]{|c} & ?{c|} & ?{c} & ?[4]{c|} & ?{c|} & ?{c} & ?[8]{c|} & ?{c|} \
cline{2-8}
?{|c|} & ?{c|} & ?{c|} & ?[9]{c} & ?{c|} & ?{c|} & ?{c|} \
cline{1-1} cline{5-5}
?{|c} & ?[3]{c|} & ?[7]{c|} & ?{c|} & ?{c} & ?[10]{c|} & ?[12]{c|} \
cline{1-2} cline{4-6}
?[6]{|c} & ?{c|} & ?{c|} & ?{c} & ?[11]{c} & ?{c|} & ?{c|} \
cline{2-7}
?{|c|} & ?{c} & ?[14]{c} & ?{c|} \
cline{1-4}
end{tabular}
]
end{document}
add a comment |
A variation on the theme of Raaja's answer, who the credit should go. The advantage here is a more readable syntax, where each cell is specified (the optional argument is the contents, if not empty).
documentclass{article}
usepackage{array,xparse}
NewExpandableDocumentCommand{?}{O{}m}{%
multicolumn{1}{#2}{makebox[0.6em]{#1}}%
}
begin{document}
[
renewcommand{arraystretch}{1.4}
begin{tabular}{*{9}{c}}
hline
?{|c} & ?[1]{c} & ?{c|} & ?{c|} & ?[5]{c} & ?{c|} & ?{c|} & ?[13]{c} & ?{c|} \
cline{1-3} cline{6-6} cline{9-9}
?[2]{|c} & ?{c|} & ?{c} & ?[4]{c|} & ?{c|} & ?{c} & ?[8]{c|} & ?{c|} \
cline{2-8}
?{|c|} & ?{c|} & ?{c|} & ?[9]{c} & ?{c|} & ?{c|} & ?{c|} \
cline{1-1} cline{5-5}
?{|c} & ?[3]{c|} & ?[7]{c|} & ?{c|} & ?{c} & ?[10]{c|} & ?[12]{c|} \
cline{1-2} cline{4-6}
?[6]{|c} & ?{c|} & ?{c|} & ?{c} & ?[11]{c} & ?{c|} & ?{c|} \
cline{2-7}
?{|c|} & ?{c} & ?[14]{c} & ?{c|} \
cline{1-4}
end{tabular}
]
end{document}
add a comment |
A variation on the theme of Raaja's answer, who the credit should go. The advantage here is a more readable syntax, where each cell is specified (the optional argument is the contents, if not empty).
documentclass{article}
usepackage{array,xparse}
NewExpandableDocumentCommand{?}{O{}m}{%
multicolumn{1}{#2}{makebox[0.6em]{#1}}%
}
begin{document}
[
renewcommand{arraystretch}{1.4}
begin{tabular}{*{9}{c}}
hline
?{|c} & ?[1]{c} & ?{c|} & ?{c|} & ?[5]{c} & ?{c|} & ?{c|} & ?[13]{c} & ?{c|} \
cline{1-3} cline{6-6} cline{9-9}
?[2]{|c} & ?{c|} & ?{c} & ?[4]{c|} & ?{c|} & ?{c} & ?[8]{c|} & ?{c|} \
cline{2-8}
?{|c|} & ?{c|} & ?{c|} & ?[9]{c} & ?{c|} & ?{c|} & ?{c|} \
cline{1-1} cline{5-5}
?{|c} & ?[3]{c|} & ?[7]{c|} & ?{c|} & ?{c} & ?[10]{c|} & ?[12]{c|} \
cline{1-2} cline{4-6}
?[6]{|c} & ?{c|} & ?{c|} & ?{c} & ?[11]{c} & ?{c|} & ?{c|} \
cline{2-7}
?{|c|} & ?{c} & ?[14]{c} & ?{c|} \
cline{1-4}
end{tabular}
]
end{document}
A variation on the theme of Raaja's answer, who the credit should go. The advantage here is a more readable syntax, where each cell is specified (the optional argument is the contents, if not empty).
documentclass{article}
usepackage{array,xparse}
NewExpandableDocumentCommand{?}{O{}m}{%
multicolumn{1}{#2}{makebox[0.6em]{#1}}%
}
begin{document}
[
renewcommand{arraystretch}{1.4}
begin{tabular}{*{9}{c}}
hline
?{|c} & ?[1]{c} & ?{c|} & ?{c|} & ?[5]{c} & ?{c|} & ?{c|} & ?[13]{c} & ?{c|} \
cline{1-3} cline{6-6} cline{9-9}
?[2]{|c} & ?{c|} & ?{c} & ?[4]{c|} & ?{c|} & ?{c} & ?[8]{c|} & ?{c|} \
cline{2-8}
?{|c|} & ?{c|} & ?{c|} & ?[9]{c} & ?{c|} & ?{c|} & ?{c|} \
cline{1-1} cline{5-5}
?{|c} & ?[3]{c|} & ?[7]{c|} & ?{c|} & ?{c} & ?[10]{c|} & ?[12]{c|} \
cline{1-2} cline{4-6}
?[6]{|c} & ?{c|} & ?{c|} & ?{c} & ?[11]{c} & ?{c|} & ?{c|} \
cline{2-7}
?{|c|} & ?{c} & ?[14]{c} & ?{c|} \
cline{1-4}
end{tabular}
]
end{document}
answered Feb 20 at 0:25
egregegreg
728k8819243235
728k8819243235
add a comment |
add a comment |
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%2f475613%2fborder-strip-tableau%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
could you show what you have tried so far?
– Raaja
Feb 19 at 8:00