Border in PDF not always visible (depending on zoom), mdframe
I have the following code:
documentclass[a4paper,12pt,headsepline, listof=totoc, bibliography=totoc]{scrreprt}
usepackage[ngerman]{babel}
usepackage[utf8]{inputenc}
%Definitionsumgebung
usepackage{amsthm}
usepackage{mdframed}
newmdtheoremenv{mydef}{Definition}
begin{document}
begin{mydef}
Im Interview stellt der Requirements-Engineer einem oder mehreren Stakeholdern vorgegebene Fragen und protokolliert deren Antworten. Weiter im Gespräch auftretende Fragen können sofort geklärt werden. Der Requirements-Engineer hat dadurch die Möglichkeit, auch neue Anforderungen zu erkennen oder implizite Anforderungen aufzudecken.
end{mydef}
end{document}
When I view the resulting pdf the border is not always completely visbible. If I zoom at 300% its showing correctly.
Since I'm currently writing my thesis it should be correct because I also hand in the PDF File.

Any ideas?
mdframed
add a comment |
I have the following code:
documentclass[a4paper,12pt,headsepline, listof=totoc, bibliography=totoc]{scrreprt}
usepackage[ngerman]{babel}
usepackage[utf8]{inputenc}
%Definitionsumgebung
usepackage{amsthm}
usepackage{mdframed}
newmdtheoremenv{mydef}{Definition}
begin{document}
begin{mydef}
Im Interview stellt der Requirements-Engineer einem oder mehreren Stakeholdern vorgegebene Fragen und protokolliert deren Antworten. Weiter im Gespräch auftretende Fragen können sofort geklärt werden. Der Requirements-Engineer hat dadurch die Möglichkeit, auch neue Anforderungen zu erkennen oder implizite Anforderungen aufzudecken.
end{mydef}
end{document}
When I view the resulting pdf the border is not always completely visbible. If I zoom at 300% its showing correctly.
Since I'm currently writing my thesis it should be correct because I also hand in the PDF File.

Any ideas?
mdframed
usepackage[framemethod=tikz]{mdframed}seems to solve the problem.
– Christian
Apr 6 '16 at 8:37
3
It's because of your PDF viewer: depending on the zoom, it will aggregate pixels in a way that sometimes makes thin lines "disappear". But if they a present when you zoom a lot, they are here and will be printed. (PS: I found no issue with the code of your MWE)
– ebosi
Apr 6 '16 at 8:39
add a comment |
I have the following code:
documentclass[a4paper,12pt,headsepline, listof=totoc, bibliography=totoc]{scrreprt}
usepackage[ngerman]{babel}
usepackage[utf8]{inputenc}
%Definitionsumgebung
usepackage{amsthm}
usepackage{mdframed}
newmdtheoremenv{mydef}{Definition}
begin{document}
begin{mydef}
Im Interview stellt der Requirements-Engineer einem oder mehreren Stakeholdern vorgegebene Fragen und protokolliert deren Antworten. Weiter im Gespräch auftretende Fragen können sofort geklärt werden. Der Requirements-Engineer hat dadurch die Möglichkeit, auch neue Anforderungen zu erkennen oder implizite Anforderungen aufzudecken.
end{mydef}
end{document}
When I view the resulting pdf the border is not always completely visbible. If I zoom at 300% its showing correctly.
Since I'm currently writing my thesis it should be correct because I also hand in the PDF File.

Any ideas?
mdframed
I have the following code:
documentclass[a4paper,12pt,headsepline, listof=totoc, bibliography=totoc]{scrreprt}
usepackage[ngerman]{babel}
usepackage[utf8]{inputenc}
%Definitionsumgebung
usepackage{amsthm}
usepackage{mdframed}
newmdtheoremenv{mydef}{Definition}
begin{document}
begin{mydef}
Im Interview stellt der Requirements-Engineer einem oder mehreren Stakeholdern vorgegebene Fragen und protokolliert deren Antworten. Weiter im Gespräch auftretende Fragen können sofort geklärt werden. Der Requirements-Engineer hat dadurch die Möglichkeit, auch neue Anforderungen zu erkennen oder implizite Anforderungen aufzudecken.
end{mydef}
end{document}
When I view the resulting pdf the border is not always completely visbible. If I zoom at 300% its showing correctly.
Since I'm currently writing my thesis it should be correct because I also hand in the PDF File.

Any ideas?
mdframed
mdframed
asked Apr 6 '16 at 8:32
Christian
1304
1304
usepackage[framemethod=tikz]{mdframed}seems to solve the problem.
– Christian
Apr 6 '16 at 8:37
3
It's because of your PDF viewer: depending on the zoom, it will aggregate pixels in a way that sometimes makes thin lines "disappear". But if they a present when you zoom a lot, they are here and will be printed. (PS: I found no issue with the code of your MWE)
– ebosi
Apr 6 '16 at 8:39
add a comment |
usepackage[framemethod=tikz]{mdframed}seems to solve the problem.
– Christian
Apr 6 '16 at 8:37
3
It's because of your PDF viewer: depending on the zoom, it will aggregate pixels in a way that sometimes makes thin lines "disappear". But if they a present when you zoom a lot, they are here and will be printed. (PS: I found no issue with the code of your MWE)
– ebosi
Apr 6 '16 at 8:39
usepackage[framemethod=tikz]{mdframed} seems to solve the problem.– Christian
Apr 6 '16 at 8:37
usepackage[framemethod=tikz]{mdframed} seems to solve the problem.– Christian
Apr 6 '16 at 8:37
3
3
It's because of your PDF viewer: depending on the zoom, it will aggregate pixels in a way that sometimes makes thin lines "disappear". But if they a present when you zoom a lot, they are here and will be printed. (PS: I found no issue with the code of your MWE)
– ebosi
Apr 6 '16 at 8:39
It's because of your PDF viewer: depending on the zoom, it will aggregate pixels in a way that sometimes makes thin lines "disappear". But if they a present when you zoom a lot, they are here and will be printed. (PS: I found no issue with the code of your MWE)
– ebosi
Apr 6 '16 at 8:39
add a comment |
1 Answer
1
active
oldest
votes
I tried different solutions and the only change that (kind of) worked for me is to set a different border width. Use the linewidth attribute, as in the following example:
mdfsetup{
linewidth=0.6pt
}
begin{mdframed}
...
end{mdframed}
The full example can be found in another question here.
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%2f302749%2fborder-in-pdf-not-always-visible-depending-on-zoom-mdframe%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I tried different solutions and the only change that (kind of) worked for me is to set a different border width. Use the linewidth attribute, as in the following example:
mdfsetup{
linewidth=0.6pt
}
begin{mdframed}
...
end{mdframed}
The full example can be found in another question here.
add a comment |
I tried different solutions and the only change that (kind of) worked for me is to set a different border width. Use the linewidth attribute, as in the following example:
mdfsetup{
linewidth=0.6pt
}
begin{mdframed}
...
end{mdframed}
The full example can be found in another question here.
add a comment |
I tried different solutions and the only change that (kind of) worked for me is to set a different border width. Use the linewidth attribute, as in the following example:
mdfsetup{
linewidth=0.6pt
}
begin{mdframed}
...
end{mdframed}
The full example can be found in another question here.
I tried different solutions and the only change that (kind of) worked for me is to set a different border width. Use the linewidth attribute, as in the following example:
mdfsetup{
linewidth=0.6pt
}
begin{mdframed}
...
end{mdframed}
The full example can be found in another question here.
edited Dec 9 at 13:13
answered Sep 17 '17 at 18:24
SRG
114
114
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f302749%2fborder-in-pdf-not-always-visible-depending-on-zoom-mdframe%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
usepackage[framemethod=tikz]{mdframed}seems to solve the problem.– Christian
Apr 6 '16 at 8:37
3
It's because of your PDF viewer: depending on the zoom, it will aggregate pixels in a way that sometimes makes thin lines "disappear". But if they a present when you zoom a lot, they are here and will be printed. (PS: I found no issue with the code of your MWE)
– ebosi
Apr 6 '16 at 8:39