Printing a line twice in TikZTikZ shadings and printing incompatibilityDrawing rectilinear curves in Tikz,...
Can I retract my name from an already published manuscript?
Can the SpaceX Dragon 2 crew vehicle still use the draco and super draco thrusters to slow down when landing?
What kind of hardware implements Fourier transform?
Find the number of ways to express 1050 as sum of consecutive integers
Math reviews in "Zentralblatt für Mathematik und ihre Grenzgebiete"
What happens if a wizard reaches level 20 but has no 3rd-level spells that they can use with the Signature Spells feature?
Superposition of light waves of different colors
Could be quantum mechanics necessary to analyze some biology scenarios?
How to avoid being sexist when trying to employ someone to function in a very sexist environment?
Why did Bush enact a completely different foreign policy to that which he espoused during the 2000 Presidential election campaign?
How to implement expandbefore, similarly to expandafter?
Auto Insert date into Notepad
Is it a fallacy if someone claims they need an explanation for every word of your argument to the point where they don't understand common terms?
Meaning of ご休憩一時間コース
Should I add call signs with /R suffix to the logbook?
Word or phrase for showing great skill at something without formal training in it
It took me a lot of time to make this, pls like. (YouTube Comments #1)
Copy large no of files of specific date to another directory?
What to do when being responsible for data protection in your lab, yet advice is ignored?
Is there a kind of consulting service in Buddhism?
Why zero tolerance on nudity in space?
How do I add a variable to this curl command?
How do you enable SQL Server 2019's result set caching?
Determining the Spell DC of a spell cast via Staff
Printing a line twice in TikZ
TikZ shadings and printing incompatibilityDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingSome TikZ lines not printingLine up nested tikz enviroments or how to get rid of themfading tikz fancyhdr problem in book printingline gets added when printing tikzpicturePrinting beamer in pdfLaTeX Error: environment tikzpicture undefinedPrinting plot adds strange linebegin{figure}… end{figure} is not working with tikz package
In the MWE
documentclass{article}
usepackage{tikz}
begin{document}
section*{Version 1}
begin{tikzpicture}
draw (0,0) -- (1,0) -- (1,1) -- (0,1) -- cycle;
draw (1,0) -- (2,0) -- (2,1) -- (1,1) -- cycle;
end{tikzpicture}
section*{Version 2}
begin{tikzpicture}
draw (0,0) -- (2,0) -- (2,1) -- (0,1) -- cycle;
draw (1,0) -- (1,1);
end{tikzpicture}
end{document}
both, version 1 and version 2, seem to produce the same result.

In version 1, however, the line from (1, 0) to (1, 1) is printed twice. Can this lead to any kind of problem when creating a hardcopy on a laser printer, on an offset printing machine or on another printing device?
I am asking this question because in more complex scenario based on various commands it may be diffucult to detect if the same line occurs twice in the TikZ picture.
tikz-pgf printing
add a comment |
In the MWE
documentclass{article}
usepackage{tikz}
begin{document}
section*{Version 1}
begin{tikzpicture}
draw (0,0) -- (1,0) -- (1,1) -- (0,1) -- cycle;
draw (1,0) -- (2,0) -- (2,1) -- (1,1) -- cycle;
end{tikzpicture}
section*{Version 2}
begin{tikzpicture}
draw (0,0) -- (2,0) -- (2,1) -- (0,1) -- cycle;
draw (1,0) -- (1,1);
end{tikzpicture}
end{document}
both, version 1 and version 2, seem to produce the same result.

In version 1, however, the line from (1, 0) to (1, 1) is printed twice. Can this lead to any kind of problem when creating a hardcopy on a laser printer, on an offset printing machine or on another printing device?
I am asking this question because in more complex scenario based on various commands it may be diffucult to detect if the same line occurs twice in the TikZ picture.
tikz-pgf printing
1
I think I did have some issues with something similar to this... But, I seem to recall that the issue were really old drivers. However, when you have dashed lines overlapping normal lines, you sometimes are even able to see them on the pdf file itself, you don't even need to print it.
– Alex Recuenco
Dec 10 '17 at 11:33
1
(what happened is that a point was skipped by the drivers, and a line straight through the middle of the image appeared on all copies for my students...)
– Alex Recuenco
Dec 10 '17 at 11:34
add a comment |
In the MWE
documentclass{article}
usepackage{tikz}
begin{document}
section*{Version 1}
begin{tikzpicture}
draw (0,0) -- (1,0) -- (1,1) -- (0,1) -- cycle;
draw (1,0) -- (2,0) -- (2,1) -- (1,1) -- cycle;
end{tikzpicture}
section*{Version 2}
begin{tikzpicture}
draw (0,0) -- (2,0) -- (2,1) -- (0,1) -- cycle;
draw (1,0) -- (1,1);
end{tikzpicture}
end{document}
both, version 1 and version 2, seem to produce the same result.

In version 1, however, the line from (1, 0) to (1, 1) is printed twice. Can this lead to any kind of problem when creating a hardcopy on a laser printer, on an offset printing machine or on another printing device?
I am asking this question because in more complex scenario based on various commands it may be diffucult to detect if the same line occurs twice in the TikZ picture.
tikz-pgf printing
In the MWE
documentclass{article}
usepackage{tikz}
begin{document}
section*{Version 1}
begin{tikzpicture}
draw (0,0) -- (1,0) -- (1,1) -- (0,1) -- cycle;
draw (1,0) -- (2,0) -- (2,1) -- (1,1) -- cycle;
end{tikzpicture}
section*{Version 2}
begin{tikzpicture}
draw (0,0) -- (2,0) -- (2,1) -- (0,1) -- cycle;
draw (1,0) -- (1,1);
end{tikzpicture}
end{document}
both, version 1 and version 2, seem to produce the same result.

In version 1, however, the line from (1, 0) to (1, 1) is printed twice. Can this lead to any kind of problem when creating a hardcopy on a laser printer, on an offset printing machine or on another printing device?
I am asking this question because in more complex scenario based on various commands it may be diffucult to detect if the same line occurs twice in the TikZ picture.
tikz-pgf printing
tikz-pgf printing
edited 9 hours ago
JouleV
4,6641938
4,6641938
asked Dec 10 '17 at 10:22
MatthiasMatthias
841515
841515
1
I think I did have some issues with something similar to this... But, I seem to recall that the issue were really old drivers. However, when you have dashed lines overlapping normal lines, you sometimes are even able to see them on the pdf file itself, you don't even need to print it.
– Alex Recuenco
Dec 10 '17 at 11:33
1
(what happened is that a point was skipped by the drivers, and a line straight through the middle of the image appeared on all copies for my students...)
– Alex Recuenco
Dec 10 '17 at 11:34
add a comment |
1
I think I did have some issues with something similar to this... But, I seem to recall that the issue were really old drivers. However, when you have dashed lines overlapping normal lines, you sometimes are even able to see them on the pdf file itself, you don't even need to print it.
– Alex Recuenco
Dec 10 '17 at 11:33
1
(what happened is that a point was skipped by the drivers, and a line straight through the middle of the image appeared on all copies for my students...)
– Alex Recuenco
Dec 10 '17 at 11:34
1
1
I think I did have some issues with something similar to this... But, I seem to recall that the issue were really old drivers. However, when you have dashed lines overlapping normal lines, you sometimes are even able to see them on the pdf file itself, you don't even need to print it.
– Alex Recuenco
Dec 10 '17 at 11:33
I think I did have some issues with something similar to this... But, I seem to recall that the issue were really old drivers. However, when you have dashed lines overlapping normal lines, you sometimes are even able to see them on the pdf file itself, you don't even need to print it.
– Alex Recuenco
Dec 10 '17 at 11:33
1
1
(what happened is that a point was skipped by the drivers, and a line straight through the middle of the image appeared on all copies for my students...)
– Alex Recuenco
Dec 10 '17 at 11:34
(what happened is that a point was skipped by the drivers, and a line straight through the middle of the image appeared on all copies for my students...)
– Alex Recuenco
Dec 10 '17 at 11:34
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
});
}
});
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%2f405427%2fprinting-a-line-twice-in-tikz%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
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%2f405427%2fprinting-a-line-twice-in-tikz%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
1
I think I did have some issues with something similar to this... But, I seem to recall that the issue were really old drivers. However, when you have dashed lines overlapping normal lines, you sometimes are even able to see them on the pdf file itself, you don't even need to print it.
– Alex Recuenco
Dec 10 '17 at 11:33
1
(what happened is that a point was skipped by the drivers, and a line straight through the middle of the image appeared on all copies for my students...)
– Alex Recuenco
Dec 10 '17 at 11:34