Why is parskip=half messing up the spacing in mdframed?Why is thmtools and mdframed not working with parskipWhy doesn't parskip=half work together with fontenc in bibliographies?mdframed missing half the frameSmaller parskip than half for KOMA-Script?Why is thmtools and mdframed not working with parskipLibertine fonts: spaces in PDF filesWhy is the parskip package messing up the spacing in mdframed?Strange vertical spacing with floats and parskipControlling vertical spacing in chapterformat when using parskip=half* optionsVertical spacing between arrow and caption with unicode-mathmdframed and parskip
Why do passenger jet manufacturers design their planes with stall prevention systems?
Is it possible to upcast ritual spells?
Sailing the cryptic seas
Do I need life insurance if I can cover my own funeral costs?
Can I use USB data pins as power source
Welcoming 2019 Pi day: How to draw the letter π?
Professor being mistaken for a grad student
Are the common programs (for example: "ls", "cat") in Linux and BSD come from the same source code?
The difference between「N分で」and「後N分で」
Most cost effective thermostat setting: consistent temperature vs. lowest temperature possible
Why doesn't using two cd commands in bash script execute the second command?
How to deal with a cynical class?
How do anti-virus programs start at Windows boot?
Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?
A link redirect to http instead of https: how critical is it?
Equilateral triangle on a concentric circle
Pólya urn flip and roll
How to read the value of this capacitor?
newcommand: Combine (optional) star and optional parameter
Did Ender ever learn that he killed Stilson and/or Bonzo?
Is it true that good novels will automatically sell themselves on Amazon (and so on) and there is no need for one to waste time promoting?
A sequence that has integer values for prime indexes only:
What exactly is this small puffer fish doing and how did it manage to accomplish such a feat?
Could the Saturn V actually have launched astronauts around Venus?
Why is parskip=half messing up the spacing in mdframed?
Why is thmtools and mdframed not working with parskipWhy doesn't parskip=half work together with fontenc in bibliographies?mdframed missing half the frameSmaller parskip than half for KOMA-Script?Why is thmtools and mdframed not working with parskipLibertine fonts: spaces in PDF filesWhy is the parskip package messing up the spacing in mdframed?Strange vertical spacing with floats and parskipControlling vertical spacing in chapterformat when using parskip=half* optionsVertical spacing between arrow and caption with unicode-mathmdframed and parskip
without parskip:

parskip=half:

documentclass[parskip=half]scrartcl
usepackageblindtext
usepackageamsmath
usepackageamsthm
usepackagethmtools
usepackage[framemethod=TikZ]mdframed
colorletshadecolorgray!25
newmdtheoremenv[
innerlinewidth=0pt,middlelinewidth=0pt,
outerlinecolor=shadecolor,outerlinewidth=3pt,
skipabove=topskip,skipbelow=topskip,
]exampleExample
begindocument
beginexample
blindtext
endexample
enddocument
spacing koma-script mdframed parskip
add a comment |
without parskip:

parskip=half:

documentclass[parskip=half]scrartcl
usepackageblindtext
usepackageamsmath
usepackageamsthm
usepackagethmtools
usepackage[framemethod=TikZ]mdframed
colorletshadecolorgray!25
newmdtheoremenv[
innerlinewidth=0pt,middlelinewidth=0pt,
outerlinecolor=shadecolor,outerlinewidth=3pt,
skipabove=topskip,skipbelow=topskip,
]exampleExample
begindocument
beginexample
blindtext
endexample
enddocument
spacing koma-script mdframed parskip
add a comment |
without parskip:

parskip=half:

documentclass[parskip=half]scrartcl
usepackageblindtext
usepackageamsmath
usepackageamsthm
usepackagethmtools
usepackage[framemethod=TikZ]mdframed
colorletshadecolorgray!25
newmdtheoremenv[
innerlinewidth=0pt,middlelinewidth=0pt,
outerlinecolor=shadecolor,outerlinewidth=3pt,
skipabove=topskip,skipbelow=topskip,
]exampleExample
begindocument
beginexample
blindtext
endexample
enddocument
spacing koma-script mdframed parskip
without parskip:

parskip=half:

documentclass[parskip=half]scrartcl
usepackageblindtext
usepackageamsmath
usepackageamsthm
usepackagethmtools
usepackage[framemethod=TikZ]mdframed
colorletshadecolorgray!25
newmdtheoremenv[
innerlinewidth=0pt,middlelinewidth=0pt,
outerlinecolor=shadecolor,outerlinewidth=3pt,
skipabove=topskip,skipbelow=topskip,
]exampleExample
begindocument
beginexample
blindtext
endexample
enddocument
spacing koma-script mdframed parskip
spacing koma-script mdframed parskip
edited 16 mins ago
Glorfindel
245129
245129
asked Mar 2 '13 at 14:01
letmaikletmaik
9971823
9971823
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Since you don't set the innertopmargin, you have the default value, that the manual specifies as .4baselineskip. A workaround is
newmdtheoremenv[
innerlinewidth=0pt,middlelinewidth=0pt,
outerlinecolor=shadecolor,outerlinewidth=3pt,
skipabove=topskip,skipbelow=topskip,
%%% kill the initial parskip
innertopmargin=dimexpr.4baselineskip-parskiprelax,
%%%
]exampleExample
but this should probably be corrected in mdframed, maybe with a new key suppressfirstparskip.

Perfect! I'll open an issue at github.
– letmaik
Mar 2 '13 at 14:29
@neo: You don't need. I am here ;-)
– Marco Daniel
Mar 2 '13 at 14:29
Ah^^ Great. Thanks for the package! :)
– letmaik
Mar 2 '13 at 14:30
@neo: Fixed issue: github.com/marcodaniel/mdframed and the new option issuppressfirstparskip;-)
– Marco Daniel
Mar 2 '13 at 14:46
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%2f100570%2fwhy-is-parskip-half-messing-up-the-spacing-in-mdframed%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
Since you don't set the innertopmargin, you have the default value, that the manual specifies as .4baselineskip. A workaround is
newmdtheoremenv[
innerlinewidth=0pt,middlelinewidth=0pt,
outerlinecolor=shadecolor,outerlinewidth=3pt,
skipabove=topskip,skipbelow=topskip,
%%% kill the initial parskip
innertopmargin=dimexpr.4baselineskip-parskiprelax,
%%%
]exampleExample
but this should probably be corrected in mdframed, maybe with a new key suppressfirstparskip.

Perfect! I'll open an issue at github.
– letmaik
Mar 2 '13 at 14:29
@neo: You don't need. I am here ;-)
– Marco Daniel
Mar 2 '13 at 14:29
Ah^^ Great. Thanks for the package! :)
– letmaik
Mar 2 '13 at 14:30
@neo: Fixed issue: github.com/marcodaniel/mdframed and the new option issuppressfirstparskip;-)
– Marco Daniel
Mar 2 '13 at 14:46
add a comment |
Since you don't set the innertopmargin, you have the default value, that the manual specifies as .4baselineskip. A workaround is
newmdtheoremenv[
innerlinewidth=0pt,middlelinewidth=0pt,
outerlinecolor=shadecolor,outerlinewidth=3pt,
skipabove=topskip,skipbelow=topskip,
%%% kill the initial parskip
innertopmargin=dimexpr.4baselineskip-parskiprelax,
%%%
]exampleExample
but this should probably be corrected in mdframed, maybe with a new key suppressfirstparskip.

Perfect! I'll open an issue at github.
– letmaik
Mar 2 '13 at 14:29
@neo: You don't need. I am here ;-)
– Marco Daniel
Mar 2 '13 at 14:29
Ah^^ Great. Thanks for the package! :)
– letmaik
Mar 2 '13 at 14:30
@neo: Fixed issue: github.com/marcodaniel/mdframed and the new option issuppressfirstparskip;-)
– Marco Daniel
Mar 2 '13 at 14:46
add a comment |
Since you don't set the innertopmargin, you have the default value, that the manual specifies as .4baselineskip. A workaround is
newmdtheoremenv[
innerlinewidth=0pt,middlelinewidth=0pt,
outerlinecolor=shadecolor,outerlinewidth=3pt,
skipabove=topskip,skipbelow=topskip,
%%% kill the initial parskip
innertopmargin=dimexpr.4baselineskip-parskiprelax,
%%%
]exampleExample
but this should probably be corrected in mdframed, maybe with a new key suppressfirstparskip.

Since you don't set the innertopmargin, you have the default value, that the manual specifies as .4baselineskip. A workaround is
newmdtheoremenv[
innerlinewidth=0pt,middlelinewidth=0pt,
outerlinecolor=shadecolor,outerlinewidth=3pt,
skipabove=topskip,skipbelow=topskip,
%%% kill the initial parskip
innertopmargin=dimexpr.4baselineskip-parskiprelax,
%%%
]exampleExample
but this should probably be corrected in mdframed, maybe with a new key suppressfirstparskip.

answered Mar 2 '13 at 14:21
egregegreg
726k8819223230
726k8819223230
Perfect! I'll open an issue at github.
– letmaik
Mar 2 '13 at 14:29
@neo: You don't need. I am here ;-)
– Marco Daniel
Mar 2 '13 at 14:29
Ah^^ Great. Thanks for the package! :)
– letmaik
Mar 2 '13 at 14:30
@neo: Fixed issue: github.com/marcodaniel/mdframed and the new option issuppressfirstparskip;-)
– Marco Daniel
Mar 2 '13 at 14:46
add a comment |
Perfect! I'll open an issue at github.
– letmaik
Mar 2 '13 at 14:29
@neo: You don't need. I am here ;-)
– Marco Daniel
Mar 2 '13 at 14:29
Ah^^ Great. Thanks for the package! :)
– letmaik
Mar 2 '13 at 14:30
@neo: Fixed issue: github.com/marcodaniel/mdframed and the new option issuppressfirstparskip;-)
– Marco Daniel
Mar 2 '13 at 14:46
Perfect! I'll open an issue at github.
– letmaik
Mar 2 '13 at 14:29
Perfect! I'll open an issue at github.
– letmaik
Mar 2 '13 at 14:29
@neo: You don't need. I am here ;-)
– Marco Daniel
Mar 2 '13 at 14:29
@neo: You don't need. I am here ;-)
– Marco Daniel
Mar 2 '13 at 14:29
Ah^^ Great. Thanks for the package! :)
– letmaik
Mar 2 '13 at 14:30
Ah^^ Great. Thanks for the package! :)
– letmaik
Mar 2 '13 at 14:30
@neo: Fixed issue: github.com/marcodaniel/mdframed and the new option is
suppressfirstparskip;-)– Marco Daniel
Mar 2 '13 at 14:46
@neo: Fixed issue: github.com/marcodaniel/mdframed and the new option is
suppressfirstparskip;-)– Marco Daniel
Mar 2 '13 at 14:46
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%2f100570%2fwhy-is-parskip-half-messing-up-the-spacing-in-mdframed%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