How can I get a line down the full page?
I am trying to make three line down the full page to differentiate this kind of timeline thing. I would also like to put labels at the top. This is what I have So far:
documentclass[tikz, border=10pt]{standalone}
usetikzlibrary{shapes.geometric,arrows}
tikzset{
arrow/.style = {thick, dashed, gray,->,>=stealth },
connect/.style = {thick, dashed, gray},
coursetitle/.style = {minimum width=3cm, minimum height=1cm},
label/.style = {text width=2cm}
}
begin{document}
begin{tikzpicture}[node distance=2cm,]
%a
node[label](1) at (0,0){textbf{A}};
node[coursetitle](p1.1) at (5,0.5){a327};
node[coursetitle](p1.2) at (5,-0.5){a338};
node[coursetitle](p2.1) at (8,0){a325};
node[coursetitle](p3.2) at (16,0){a331};
draw[connect] (1.1,0)--(3.05,0)(3.05,0)--(3.6,0.5)(3.05,0)--(3.6,-0.5)(5.8,0.5)--(6.2,0.5)(5.8,-0.5)--(6.2,-0.5)(6.2,-0.5)--(6.75,0)(6.2,0.5)--(6.75,0);
draw[arrow] (3.7,0.5)--(4.15,0.5);
draw[arrow] (3.7,-0.5)--(4.15,-0.5);
draw[arrow] (6.75,0)--(7.2,0);
draw[arrow] (8.85,0)--(15.2,0);
%b
node[label](2) at (0,-7){textbf{B}};
node[coursetitle](m1.1) at (5,-7){b212};
node[coursetitle](m2.1) at (8,-7.5){b161};
node[coursetitle](m2.2) at (8,-6.5){b251};
node[coursetitle](m3.1) at (13,-7){b311};
node[coursetitle](m3.2) at (13,-7.75){b317};
node[coursetitle](m3.3) at (13,-6.25){b353};
node[coursetitle](m4.1) at (16,-7){b309};
node[coursetitle](m4.2) at (16,-7.75){b318};
node[coursetitle](m4.3) at (16,-6.25){b324};
draw[connect] (5.8,-7)--(6.1,-7)(6.5,-7.5)--(6.1,-7)(6.5,-6.5)--(6.1,-7);
draw[arrow] (1.5,-7)--(4,-7);
draw[arrow] (6.5,-6.5)--(7.05,-6.5);
draw[arrow] (6.5,-7.5)--(7.05,-7.5);
draw[connect](8.9,-6.5)--(9.3,-6.5)(8.9,-7.5)--(9.3,-7.5)(9.3,-7.5)--(9.85,-7)(9.3,-6.5)--(9.85,-7);
draw[arrow] (11.7,-6.25)--(12.15,-6.25);
draw[arrow] (11.7,-7)--(12.15,-7);
draw[arrow] (11.7,-7.75)--(12.15,-7.75);
draw[arrow] (14.7,-6.25)--(15.15,-6.25);
draw[arrow] (14.7,-7)--(15.15,-7);
draw[arrow] (14.7,-7.75)--(15.15,-7.75);
draw[connect] (13.85,-6.25)--(14.3,-6.25)(13.85,-7.75)--(14.3,-7.75)(13.85,-7)--(14.3,-7);
draw[connect] (14.3,-6.25)--(14.5,-7)(14.3,-7.75)--(14.5,-7)(14.3,-7)--(14.5,-7)(14.7,-7.75)--(14.5,-7)(14.7,-7)--(14.5,-7)(14.7,-6.25)--(14.5,-7);
draw[connect] (9.85,-7)--(11.15,-7)(11.15,-7)--(11.7,-6.25)(11.15,-7)--(11.7,-7)(11.15,-7)--(11.7,-7.75);
%c
node[label](3) at (0,-14){textbf{C}};
node[coursetitle](c1.1) at (5,-14){c206};
node[coursetitle](c2.1) at (8,-14){c203};
node[coursetitle](c3.1.1) at (13,-14){c303};
draw[arrow] (1,-14)--(4,-14);
draw[arrow] (6,-14)--(7,-14);
draw[arrow] (9,-14)--(12,-14);
%line
coordinate (A) at (current page.north);
coordinate (B) at (current page.south);
draw[red, dashed,thick]%, cap=round]
(A) -- (B);
end{tikzpicture}
end{document}
Also, I can almost certainly say I am doing this a tedious and awkward way. I am VERY new to TikZ. Suggestions would be greatly appreciated!
line page
New contributor
Christopher Tatlock is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I am trying to make three line down the full page to differentiate this kind of timeline thing. I would also like to put labels at the top. This is what I have So far:
documentclass[tikz, border=10pt]{standalone}
usetikzlibrary{shapes.geometric,arrows}
tikzset{
arrow/.style = {thick, dashed, gray,->,>=stealth },
connect/.style = {thick, dashed, gray},
coursetitle/.style = {minimum width=3cm, minimum height=1cm},
label/.style = {text width=2cm}
}
begin{document}
begin{tikzpicture}[node distance=2cm,]
%a
node[label](1) at (0,0){textbf{A}};
node[coursetitle](p1.1) at (5,0.5){a327};
node[coursetitle](p1.2) at (5,-0.5){a338};
node[coursetitle](p2.1) at (8,0){a325};
node[coursetitle](p3.2) at (16,0){a331};
draw[connect] (1.1,0)--(3.05,0)(3.05,0)--(3.6,0.5)(3.05,0)--(3.6,-0.5)(5.8,0.5)--(6.2,0.5)(5.8,-0.5)--(6.2,-0.5)(6.2,-0.5)--(6.75,0)(6.2,0.5)--(6.75,0);
draw[arrow] (3.7,0.5)--(4.15,0.5);
draw[arrow] (3.7,-0.5)--(4.15,-0.5);
draw[arrow] (6.75,0)--(7.2,0);
draw[arrow] (8.85,0)--(15.2,0);
%b
node[label](2) at (0,-7){textbf{B}};
node[coursetitle](m1.1) at (5,-7){b212};
node[coursetitle](m2.1) at (8,-7.5){b161};
node[coursetitle](m2.2) at (8,-6.5){b251};
node[coursetitle](m3.1) at (13,-7){b311};
node[coursetitle](m3.2) at (13,-7.75){b317};
node[coursetitle](m3.3) at (13,-6.25){b353};
node[coursetitle](m4.1) at (16,-7){b309};
node[coursetitle](m4.2) at (16,-7.75){b318};
node[coursetitle](m4.3) at (16,-6.25){b324};
draw[connect] (5.8,-7)--(6.1,-7)(6.5,-7.5)--(6.1,-7)(6.5,-6.5)--(6.1,-7);
draw[arrow] (1.5,-7)--(4,-7);
draw[arrow] (6.5,-6.5)--(7.05,-6.5);
draw[arrow] (6.5,-7.5)--(7.05,-7.5);
draw[connect](8.9,-6.5)--(9.3,-6.5)(8.9,-7.5)--(9.3,-7.5)(9.3,-7.5)--(9.85,-7)(9.3,-6.5)--(9.85,-7);
draw[arrow] (11.7,-6.25)--(12.15,-6.25);
draw[arrow] (11.7,-7)--(12.15,-7);
draw[arrow] (11.7,-7.75)--(12.15,-7.75);
draw[arrow] (14.7,-6.25)--(15.15,-6.25);
draw[arrow] (14.7,-7)--(15.15,-7);
draw[arrow] (14.7,-7.75)--(15.15,-7.75);
draw[connect] (13.85,-6.25)--(14.3,-6.25)(13.85,-7.75)--(14.3,-7.75)(13.85,-7)--(14.3,-7);
draw[connect] (14.3,-6.25)--(14.5,-7)(14.3,-7.75)--(14.5,-7)(14.3,-7)--(14.5,-7)(14.7,-7.75)--(14.5,-7)(14.7,-7)--(14.5,-7)(14.7,-6.25)--(14.5,-7);
draw[connect] (9.85,-7)--(11.15,-7)(11.15,-7)--(11.7,-6.25)(11.15,-7)--(11.7,-7)(11.15,-7)--(11.7,-7.75);
%c
node[label](3) at (0,-14){textbf{C}};
node[coursetitle](c1.1) at (5,-14){c206};
node[coursetitle](c2.1) at (8,-14){c203};
node[coursetitle](c3.1.1) at (13,-14){c303};
draw[arrow] (1,-14)--(4,-14);
draw[arrow] (6,-14)--(7,-14);
draw[arrow] (9,-14)--(12,-14);
%line
coordinate (A) at (current page.north);
coordinate (B) at (current page.south);
draw[red, dashed,thick]%, cap=round]
(A) -- (B);
end{tikzpicture}
end{document}
Also, I can almost certainly say I am doing this a tedious and awkward way. I am VERY new to TikZ. Suggestions would be greatly appreciated!
line page
New contributor
Christopher Tatlock is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I am trying to make three line down the full page to differentiate this kind of timeline thing. I would also like to put labels at the top. This is what I have So far:
documentclass[tikz, border=10pt]{standalone}
usetikzlibrary{shapes.geometric,arrows}
tikzset{
arrow/.style = {thick, dashed, gray,->,>=stealth },
connect/.style = {thick, dashed, gray},
coursetitle/.style = {minimum width=3cm, minimum height=1cm},
label/.style = {text width=2cm}
}
begin{document}
begin{tikzpicture}[node distance=2cm,]
%a
node[label](1) at (0,0){textbf{A}};
node[coursetitle](p1.1) at (5,0.5){a327};
node[coursetitle](p1.2) at (5,-0.5){a338};
node[coursetitle](p2.1) at (8,0){a325};
node[coursetitle](p3.2) at (16,0){a331};
draw[connect] (1.1,0)--(3.05,0)(3.05,0)--(3.6,0.5)(3.05,0)--(3.6,-0.5)(5.8,0.5)--(6.2,0.5)(5.8,-0.5)--(6.2,-0.5)(6.2,-0.5)--(6.75,0)(6.2,0.5)--(6.75,0);
draw[arrow] (3.7,0.5)--(4.15,0.5);
draw[arrow] (3.7,-0.5)--(4.15,-0.5);
draw[arrow] (6.75,0)--(7.2,0);
draw[arrow] (8.85,0)--(15.2,0);
%b
node[label](2) at (0,-7){textbf{B}};
node[coursetitle](m1.1) at (5,-7){b212};
node[coursetitle](m2.1) at (8,-7.5){b161};
node[coursetitle](m2.2) at (8,-6.5){b251};
node[coursetitle](m3.1) at (13,-7){b311};
node[coursetitle](m3.2) at (13,-7.75){b317};
node[coursetitle](m3.3) at (13,-6.25){b353};
node[coursetitle](m4.1) at (16,-7){b309};
node[coursetitle](m4.2) at (16,-7.75){b318};
node[coursetitle](m4.3) at (16,-6.25){b324};
draw[connect] (5.8,-7)--(6.1,-7)(6.5,-7.5)--(6.1,-7)(6.5,-6.5)--(6.1,-7);
draw[arrow] (1.5,-7)--(4,-7);
draw[arrow] (6.5,-6.5)--(7.05,-6.5);
draw[arrow] (6.5,-7.5)--(7.05,-7.5);
draw[connect](8.9,-6.5)--(9.3,-6.5)(8.9,-7.5)--(9.3,-7.5)(9.3,-7.5)--(9.85,-7)(9.3,-6.5)--(9.85,-7);
draw[arrow] (11.7,-6.25)--(12.15,-6.25);
draw[arrow] (11.7,-7)--(12.15,-7);
draw[arrow] (11.7,-7.75)--(12.15,-7.75);
draw[arrow] (14.7,-6.25)--(15.15,-6.25);
draw[arrow] (14.7,-7)--(15.15,-7);
draw[arrow] (14.7,-7.75)--(15.15,-7.75);
draw[connect] (13.85,-6.25)--(14.3,-6.25)(13.85,-7.75)--(14.3,-7.75)(13.85,-7)--(14.3,-7);
draw[connect] (14.3,-6.25)--(14.5,-7)(14.3,-7.75)--(14.5,-7)(14.3,-7)--(14.5,-7)(14.7,-7.75)--(14.5,-7)(14.7,-7)--(14.5,-7)(14.7,-6.25)--(14.5,-7);
draw[connect] (9.85,-7)--(11.15,-7)(11.15,-7)--(11.7,-6.25)(11.15,-7)--(11.7,-7)(11.15,-7)--(11.7,-7.75);
%c
node[label](3) at (0,-14){textbf{C}};
node[coursetitle](c1.1) at (5,-14){c206};
node[coursetitle](c2.1) at (8,-14){c203};
node[coursetitle](c3.1.1) at (13,-14){c303};
draw[arrow] (1,-14)--(4,-14);
draw[arrow] (6,-14)--(7,-14);
draw[arrow] (9,-14)--(12,-14);
%line
coordinate (A) at (current page.north);
coordinate (B) at (current page.south);
draw[red, dashed,thick]%, cap=round]
(A) -- (B);
end{tikzpicture}
end{document}
Also, I can almost certainly say I am doing this a tedious and awkward way. I am VERY new to TikZ. Suggestions would be greatly appreciated!
line page
New contributor
Christopher Tatlock is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I am trying to make three line down the full page to differentiate this kind of timeline thing. I would also like to put labels at the top. This is what I have So far:
documentclass[tikz, border=10pt]{standalone}
usetikzlibrary{shapes.geometric,arrows}
tikzset{
arrow/.style = {thick, dashed, gray,->,>=stealth },
connect/.style = {thick, dashed, gray},
coursetitle/.style = {minimum width=3cm, minimum height=1cm},
label/.style = {text width=2cm}
}
begin{document}
begin{tikzpicture}[node distance=2cm,]
%a
node[label](1) at (0,0){textbf{A}};
node[coursetitle](p1.1) at (5,0.5){a327};
node[coursetitle](p1.2) at (5,-0.5){a338};
node[coursetitle](p2.1) at (8,0){a325};
node[coursetitle](p3.2) at (16,0){a331};
draw[connect] (1.1,0)--(3.05,0)(3.05,0)--(3.6,0.5)(3.05,0)--(3.6,-0.5)(5.8,0.5)--(6.2,0.5)(5.8,-0.5)--(6.2,-0.5)(6.2,-0.5)--(6.75,0)(6.2,0.5)--(6.75,0);
draw[arrow] (3.7,0.5)--(4.15,0.5);
draw[arrow] (3.7,-0.5)--(4.15,-0.5);
draw[arrow] (6.75,0)--(7.2,0);
draw[arrow] (8.85,0)--(15.2,0);
%b
node[label](2) at (0,-7){textbf{B}};
node[coursetitle](m1.1) at (5,-7){b212};
node[coursetitle](m2.1) at (8,-7.5){b161};
node[coursetitle](m2.2) at (8,-6.5){b251};
node[coursetitle](m3.1) at (13,-7){b311};
node[coursetitle](m3.2) at (13,-7.75){b317};
node[coursetitle](m3.3) at (13,-6.25){b353};
node[coursetitle](m4.1) at (16,-7){b309};
node[coursetitle](m4.2) at (16,-7.75){b318};
node[coursetitle](m4.3) at (16,-6.25){b324};
draw[connect] (5.8,-7)--(6.1,-7)(6.5,-7.5)--(6.1,-7)(6.5,-6.5)--(6.1,-7);
draw[arrow] (1.5,-7)--(4,-7);
draw[arrow] (6.5,-6.5)--(7.05,-6.5);
draw[arrow] (6.5,-7.5)--(7.05,-7.5);
draw[connect](8.9,-6.5)--(9.3,-6.5)(8.9,-7.5)--(9.3,-7.5)(9.3,-7.5)--(9.85,-7)(9.3,-6.5)--(9.85,-7);
draw[arrow] (11.7,-6.25)--(12.15,-6.25);
draw[arrow] (11.7,-7)--(12.15,-7);
draw[arrow] (11.7,-7.75)--(12.15,-7.75);
draw[arrow] (14.7,-6.25)--(15.15,-6.25);
draw[arrow] (14.7,-7)--(15.15,-7);
draw[arrow] (14.7,-7.75)--(15.15,-7.75);
draw[connect] (13.85,-6.25)--(14.3,-6.25)(13.85,-7.75)--(14.3,-7.75)(13.85,-7)--(14.3,-7);
draw[connect] (14.3,-6.25)--(14.5,-7)(14.3,-7.75)--(14.5,-7)(14.3,-7)--(14.5,-7)(14.7,-7.75)--(14.5,-7)(14.7,-7)--(14.5,-7)(14.7,-6.25)--(14.5,-7);
draw[connect] (9.85,-7)--(11.15,-7)(11.15,-7)--(11.7,-6.25)(11.15,-7)--(11.7,-7)(11.15,-7)--(11.7,-7.75);
%c
node[label](3) at (0,-14){textbf{C}};
node[coursetitle](c1.1) at (5,-14){c206};
node[coursetitle](c2.1) at (8,-14){c203};
node[coursetitle](c3.1.1) at (13,-14){c303};
draw[arrow] (1,-14)--(4,-14);
draw[arrow] (6,-14)--(7,-14);
draw[arrow] (9,-14)--(12,-14);
%line
coordinate (A) at (current page.north);
coordinate (B) at (current page.south);
draw[red, dashed,thick]%, cap=round]
(A) -- (B);
end{tikzpicture}
end{document}
Also, I can almost certainly say I am doing this a tedious and awkward way. I am VERY new to TikZ. Suggestions would be greatly appreciated!
line page
line page
New contributor
Christopher Tatlock is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Christopher Tatlock is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Christopher Tatlock is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 8 mins ago
Christopher TatlockChristopher Tatlock
1
1
New contributor
Christopher Tatlock is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Christopher Tatlock is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Christopher Tatlock is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Christopher Tatlock 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%2f474454%2fhow-can-i-get-a-line-down-the-full-page%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Christopher Tatlock is a new contributor. Be nice, and check out our Code of Conduct.
Christopher Tatlock is a new contributor. Be nice, and check out our Code of Conduct.
Christopher Tatlock is a new contributor. Be nice, and check out our Code of Conduct.
Christopher Tatlock 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%2f474454%2fhow-can-i-get-a-line-down-the-full-page%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