I am trying to align the columns of the first page but without success into the mdframed. Any ideas?
\documentclass[11pt,a4paper,twocolumn,twoside]{book}
\usepackage{lipsum}
\usepackage{mdframed}
\mdfdefinestyle{theoremstyle}{%
linecolor=red,linewidth=0pt,%
leftmargin = 0 ,%
rightmargin =0 ,%
frametitlerule=true,%
frametitlebackgroundcolor=yellow,%
innertopmargin=\topskip,%
innerleftmargin=1,%
innerrightmargin=1,%
middlelinewidth=0,%
skipabove=0 ,%
skipbelow =0,%
outermargin=0,%
}
\mdtheorem[style=theoremstyle]{axiom}{Axiom}
\begin{document}
\begin{axiom}[lala]
\lipsum
\lipsum
\end{axiom}
\end{document}
Marco Daniel's answerto http://tex.stackexchange.com/q/56439/3954. Adding the code that starts with\makeatletterand ends with\makeatotherto your preamble, solves the problem. – Gonzalo Medina Apr 25 '13 at 23:31\usepackage{mdframed}and seems to resolve the issue. – Peter Grill Apr 26 '13 at 06:50