Aligning Tables and TiKz Pictures Vertically
I have the following codes.
I want to pull the tables to the top of the page
so that tables and the tikz picture are aligned
vertically at top of the page (as shown in the figure).
I need your help in this direction.
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
begin{tikzpicture}[scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
end{tikzpicture}
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
end{document}
tikz-pgf tables
add a comment |
I have the following codes.
I want to pull the tables to the top of the page
so that tables and the tikz picture are aligned
vertically at top of the page (as shown in the figure).
I need your help in this direction.
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
begin{tikzpicture}[scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
end{tikzpicture}
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
end{document}
tikz-pgf tables
add a comment |
I have the following codes.
I want to pull the tables to the top of the page
so that tables and the tikz picture are aligned
vertically at top of the page (as shown in the figure).
I need your help in this direction.
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
begin{tikzpicture}[scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
end{tikzpicture}
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
end{document}
tikz-pgf tables
I have the following codes.
I want to pull the tables to the top of the page
so that tables and the tikz picture are aligned
vertically at top of the page (as shown in the figure).
I need your help in this direction.
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
begin{tikzpicture}[scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
end{tikzpicture}
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
end{document}
tikz-pgf tables
tikz-pgf tables
asked Dec 21 '18 at 5:51
bkarpuzbkarpuz
1,01211323
1,01211323
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
Any tikzpicture
is considered as a simple char
and it's aligned according it's baseline
which by default is its south
anchor (see page 124 in pgfmanual. Therefore, in your code the central point of both tabulars are aligned with tikzpicture's southern point.
You can change this alignment with tikzpicture's option baseline
. You can decide where to align the picture with baseline=(current bounding box.north)
or baseline=(current bounding box.center)
or similar expressions.
About tabular
you can also use the optional parameter to align them along it's top, center or bottom: begin{tabular}[t]{...}
.
One example aligning to center:
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
begin{tikzpicture}[baseline=(current bounding box.center), scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
end{tikzpicture}
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
end{document}
[t]
for the tabulars and[baseline=(current bounding box.north),scale=0.4]
for the tikzpicture worked exactly as I wanted.
– bkarpuz
Dec 24 '18 at 12:37
How can I add a new table below of the figure (by preserving the previous two)?
– bkarpuz
Jan 11 at 13:58
1
@bkarpuz You can declaretabular
insidetabular
, so declare newtabular
that contains pervious elements and the new tabular can be declared as the central element on the second row.
– Ignasi
Jan 11 at 17:18
add a comment |
A simple way to achieve this is to make the tables part of the tikzpicture
, i.e. to put them in nodes.
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
begin{tikzpicture}[scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
node[anchor=north east] at (-45,65){begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}};
node[anchor=north west] at (45,65) {begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
};
end{tikzpicture}
end{document}
add a comment |
I arrange it by brute force using minipages
. It's a easy way to work with floats
.
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
noindent begin{minipage}{1.1cm}vspace*{-7cm}{
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
}
end{minipage}
begin{minipage}{35.9cm}
begin{tikzpicture}[scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
end{tikzpicture}
end{minipage}
begin{minipage}{1.2cm}vspace*{-7cm}{
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
}
end{minipage}
end{document}
1
You do not use any float and minipage has, in fact, nothing to do with floats…
– TeXnician
Dec 21 '18 at 9:04
Well, the idea was to refer the minipage as 'floating' element. Sorry, if i didn't use the figure or table enviroment who does create a floating element.
– kraDracsO
Dec 22 '18 at 22:17
I just mentioned it because in terms of TeX floating is a very different concept than, say, in web design…
– TeXnician
Dec 23 '18 at 8:26
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%2f466802%2faligning-tables-and-tikz-pictures-vertically%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Any tikzpicture
is considered as a simple char
and it's aligned according it's baseline
which by default is its south
anchor (see page 124 in pgfmanual. Therefore, in your code the central point of both tabulars are aligned with tikzpicture's southern point.
You can change this alignment with tikzpicture's option baseline
. You can decide where to align the picture with baseline=(current bounding box.north)
or baseline=(current bounding box.center)
or similar expressions.
About tabular
you can also use the optional parameter to align them along it's top, center or bottom: begin{tabular}[t]{...}
.
One example aligning to center:
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
begin{tikzpicture}[baseline=(current bounding box.center), scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
end{tikzpicture}
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
end{document}
[t]
for the tabulars and[baseline=(current bounding box.north),scale=0.4]
for the tikzpicture worked exactly as I wanted.
– bkarpuz
Dec 24 '18 at 12:37
How can I add a new table below of the figure (by preserving the previous two)?
– bkarpuz
Jan 11 at 13:58
1
@bkarpuz You can declaretabular
insidetabular
, so declare newtabular
that contains pervious elements and the new tabular can be declared as the central element on the second row.
– Ignasi
Jan 11 at 17:18
add a comment |
Any tikzpicture
is considered as a simple char
and it's aligned according it's baseline
which by default is its south
anchor (see page 124 in pgfmanual. Therefore, in your code the central point of both tabulars are aligned with tikzpicture's southern point.
You can change this alignment with tikzpicture's option baseline
. You can decide where to align the picture with baseline=(current bounding box.north)
or baseline=(current bounding box.center)
or similar expressions.
About tabular
you can also use the optional parameter to align them along it's top, center or bottom: begin{tabular}[t]{...}
.
One example aligning to center:
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
begin{tikzpicture}[baseline=(current bounding box.center), scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
end{tikzpicture}
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
end{document}
[t]
for the tabulars and[baseline=(current bounding box.north),scale=0.4]
for the tikzpicture worked exactly as I wanted.
– bkarpuz
Dec 24 '18 at 12:37
How can I add a new table below of the figure (by preserving the previous two)?
– bkarpuz
Jan 11 at 13:58
1
@bkarpuz You can declaretabular
insidetabular
, so declare newtabular
that contains pervious elements and the new tabular can be declared as the central element on the second row.
– Ignasi
Jan 11 at 17:18
add a comment |
Any tikzpicture
is considered as a simple char
and it's aligned according it's baseline
which by default is its south
anchor (see page 124 in pgfmanual. Therefore, in your code the central point of both tabulars are aligned with tikzpicture's southern point.
You can change this alignment with tikzpicture's option baseline
. You can decide where to align the picture with baseline=(current bounding box.north)
or baseline=(current bounding box.center)
or similar expressions.
About tabular
you can also use the optional parameter to align them along it's top, center or bottom: begin{tabular}[t]{...}
.
One example aligning to center:
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
begin{tikzpicture}[baseline=(current bounding box.center), scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
end{tikzpicture}
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
end{document}
Any tikzpicture
is considered as a simple char
and it's aligned according it's baseline
which by default is its south
anchor (see page 124 in pgfmanual. Therefore, in your code the central point of both tabulars are aligned with tikzpicture's southern point.
You can change this alignment with tikzpicture's option baseline
. You can decide where to align the picture with baseline=(current bounding box.north)
or baseline=(current bounding box.center)
or similar expressions.
About tabular
you can also use the optional parameter to align them along it's top, center or bottom: begin{tabular}[t]{...}
.
One example aligning to center:
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
begin{tikzpicture}[baseline=(current bounding box.center), scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
end{tikzpicture}
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
end{document}
answered Dec 22 '18 at 10:31
IgnasiIgnasi
92.3k4166305
92.3k4166305
[t]
for the tabulars and[baseline=(current bounding box.north),scale=0.4]
for the tikzpicture worked exactly as I wanted.
– bkarpuz
Dec 24 '18 at 12:37
How can I add a new table below of the figure (by preserving the previous two)?
– bkarpuz
Jan 11 at 13:58
1
@bkarpuz You can declaretabular
insidetabular
, so declare newtabular
that contains pervious elements and the new tabular can be declared as the central element on the second row.
– Ignasi
Jan 11 at 17:18
add a comment |
[t]
for the tabulars and[baseline=(current bounding box.north),scale=0.4]
for the tikzpicture worked exactly as I wanted.
– bkarpuz
Dec 24 '18 at 12:37
How can I add a new table below of the figure (by preserving the previous two)?
– bkarpuz
Jan 11 at 13:58
1
@bkarpuz You can declaretabular
insidetabular
, so declare newtabular
that contains pervious elements and the new tabular can be declared as the central element on the second row.
– Ignasi
Jan 11 at 17:18
[t]
for the tabulars and [baseline=(current bounding box.north),scale=0.4]
for the tikzpicture worked exactly as I wanted.– bkarpuz
Dec 24 '18 at 12:37
[t]
for the tabulars and [baseline=(current bounding box.north),scale=0.4]
for the tikzpicture worked exactly as I wanted.– bkarpuz
Dec 24 '18 at 12:37
How can I add a new table below of the figure (by preserving the previous two)?
– bkarpuz
Jan 11 at 13:58
How can I add a new table below of the figure (by preserving the previous two)?
– bkarpuz
Jan 11 at 13:58
1
1
@bkarpuz You can declare
tabular
inside tabular
, so declare new tabular
that contains pervious elements and the new tabular can be declared as the central element on the second row.– Ignasi
Jan 11 at 17:18
@bkarpuz You can declare
tabular
inside tabular
, so declare new tabular
that contains pervious elements and the new tabular can be declared as the central element on the second row.– Ignasi
Jan 11 at 17:18
add a comment |
A simple way to achieve this is to make the tables part of the tikzpicture
, i.e. to put them in nodes.
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
begin{tikzpicture}[scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
node[anchor=north east] at (-45,65){begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}};
node[anchor=north west] at (45,65) {begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
};
end{tikzpicture}
end{document}
add a comment |
A simple way to achieve this is to make the tables part of the tikzpicture
, i.e. to put them in nodes.
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
begin{tikzpicture}[scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
node[anchor=north east] at (-45,65){begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}};
node[anchor=north west] at (45,65) {begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
};
end{tikzpicture}
end{document}
add a comment |
A simple way to achieve this is to make the tables part of the tikzpicture
, i.e. to put them in nodes.
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
begin{tikzpicture}[scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
node[anchor=north east] at (-45,65){begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}};
node[anchor=north west] at (45,65) {begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
};
end{tikzpicture}
end{document}
A simple way to achieve this is to make the tables part of the tikzpicture
, i.e. to put them in nodes.
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
begin{tikzpicture}[scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
node[anchor=north east] at (-45,65){begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}};
node[anchor=north west] at (45,65) {begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
};
end{tikzpicture}
end{document}
answered Dec 21 '18 at 6:59
marmotmarmot
92.3k4108202
92.3k4108202
add a comment |
add a comment |
I arrange it by brute force using minipages
. It's a easy way to work with floats
.
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
noindent begin{minipage}{1.1cm}vspace*{-7cm}{
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
}
end{minipage}
begin{minipage}{35.9cm}
begin{tikzpicture}[scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
end{tikzpicture}
end{minipage}
begin{minipage}{1.2cm}vspace*{-7cm}{
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
}
end{minipage}
end{document}
1
You do not use any float and minipage has, in fact, nothing to do with floats…
– TeXnician
Dec 21 '18 at 9:04
Well, the idea was to refer the minipage as 'floating' element. Sorry, if i didn't use the figure or table enviroment who does create a floating element.
– kraDracsO
Dec 22 '18 at 22:17
I just mentioned it because in terms of TeX floating is a very different concept than, say, in web design…
– TeXnician
Dec 23 '18 at 8:26
add a comment |
I arrange it by brute force using minipages
. It's a easy way to work with floats
.
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
noindent begin{minipage}{1.1cm}vspace*{-7cm}{
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
}
end{minipage}
begin{minipage}{35.9cm}
begin{tikzpicture}[scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
end{tikzpicture}
end{minipage}
begin{minipage}{1.2cm}vspace*{-7cm}{
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
}
end{minipage}
end{document}
1
You do not use any float and minipage has, in fact, nothing to do with floats…
– TeXnician
Dec 21 '18 at 9:04
Well, the idea was to refer the minipage as 'floating' element. Sorry, if i didn't use the figure or table enviroment who does create a floating element.
– kraDracsO
Dec 22 '18 at 22:17
I just mentioned it because in terms of TeX floating is a very different concept than, say, in web design…
– TeXnician
Dec 23 '18 at 8:26
add a comment |
I arrange it by brute force using minipages
. It's a easy way to work with floats
.
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
noindent begin{minipage}{1.1cm}vspace*{-7cm}{
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
}
end{minipage}
begin{minipage}{35.9cm}
begin{tikzpicture}[scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
end{tikzpicture}
end{minipage}
begin{minipage}{1.2cm}vspace*{-7cm}{
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
}
end{minipage}
end{document}
I arrange it by brute force using minipages
. It's a easy way to work with floats
.
documentclass[12pt]{standalone}
usepackage{tikz}
begin{document}
noindent begin{minipage}{1.1cm}vspace*{-7cm}{
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
}
end{minipage}
begin{minipage}{35.9cm}
begin{tikzpicture}[scale=0.4]
draw[fill=white] (-45,-5) rectangle (45,65);
end{tikzpicture}
end{minipage}
begin{minipage}{1.2cm}vspace*{-7cm}{
begin{tabular}{|l|l|}
hline
% after \: hline or cline{col1-col2} cline{col3-col4} ...
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \ hline
1 & A \
hline
end{tabular}
}
end{minipage}
end{document}
answered Dec 21 '18 at 7:02
kraDracsOkraDracsO
357
357
1
You do not use any float and minipage has, in fact, nothing to do with floats…
– TeXnician
Dec 21 '18 at 9:04
Well, the idea was to refer the minipage as 'floating' element. Sorry, if i didn't use the figure or table enviroment who does create a floating element.
– kraDracsO
Dec 22 '18 at 22:17
I just mentioned it because in terms of TeX floating is a very different concept than, say, in web design…
– TeXnician
Dec 23 '18 at 8:26
add a comment |
1
You do not use any float and minipage has, in fact, nothing to do with floats…
– TeXnician
Dec 21 '18 at 9:04
Well, the idea was to refer the minipage as 'floating' element. Sorry, if i didn't use the figure or table enviroment who does create a floating element.
– kraDracsO
Dec 22 '18 at 22:17
I just mentioned it because in terms of TeX floating is a very different concept than, say, in web design…
– TeXnician
Dec 23 '18 at 8:26
1
1
You do not use any float and minipage has, in fact, nothing to do with floats…
– TeXnician
Dec 21 '18 at 9:04
You do not use any float and minipage has, in fact, nothing to do with floats…
– TeXnician
Dec 21 '18 at 9:04
Well, the idea was to refer the minipage as 'floating' element. Sorry, if i didn't use the figure or table enviroment who does create a floating element.
– kraDracsO
Dec 22 '18 at 22:17
Well, the idea was to refer the minipage as 'floating' element. Sorry, if i didn't use the figure or table enviroment who does create a floating element.
– kraDracsO
Dec 22 '18 at 22:17
I just mentioned it because in terms of TeX floating is a very different concept than, say, in web design…
– TeXnician
Dec 23 '18 at 8:26
I just mentioned it because in terms of TeX floating is a very different concept than, say, in web design…
– TeXnician
Dec 23 '18 at 8:26
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%2f466802%2faligning-tables-and-tikz-pictures-vertically%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