I'm new using mdframed
package and I stumbled upon with \mdtheorem
so I created a definition and I want to use it at the beginning of the page, but the problem is that there is a space in blank between the page and the definition, I've tried with all the optional margins maybe I skip some option.
\documentclass[12pt,a4paper,twoside]{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage[framemethod=TikZ]{mdframed}
\mdfdefinestyle{Ejercicio}{
linecolor=FireBrick,
linewidth=2pt,
innerlinewidth =2pt,
frametitlebackgroundcolor=DarkSalmon!20,
leftline=false,
rightline=false,
bottomline=false,
splitbottomskip=13pt,
everyline=true,
}
\mdtheorem[style=Ejercicio]{ejercicio}{Ejercicio}[section]
The result is the next and I don't want that big white space between
\documentclass
and the appropriate packages that reproduces the problem. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem.\usepackage{showframe}
you will see that it is at the very top of the page. The space between the header is the normal margin spacing. I think Remove vertical space at start of latex document is what you are looking for.