I have a theorem inside a grey box and beneath this I have the prrof. The thing is that I am tryin to align the theorem and the proof. Can someone assist me in this.
The code is:
Code: Select all
\documentclass[12pt,a4paper]{article}\usepackage[latin1]{inputenc}\usepackage[danish]{babel} % danske overskrifter\usepackage[T1]{fontenc}\usepackage{lmodern}\usepackage{graphicx}\usepackage{mathtools}\usepackage{amsmath}\usepackage{amsfonts}\usepackage{ulem}\usepackage{textcomp}\usepackage{tikz}\usepackage{color}\usepackage{arcs}\usepackage{amsthm}\newtheorem{startthe}{Sætning}\newtheorem{defn}{Definition}\makeatletter\renewcommand{\paragraph}{\@startsection{paragraph}{4}{0ex}%{-3.25ex plus -1ex minus -0.2ex}%{1.5ex plus 0.2ex}%{\normalfont\normalsize\bfseries}}\makeatother\stepcounter{secnumdepth}\stepcounter{tocdepth}\begin{document}\fcolorbox{black}{lightgray}{\begin{minipage}{0.90\linewidth}\begin{startthe}\hspace{1cm}\newlineIdet $k_{n}$ betegner sidelængden i den omskrevne $n$-kant i enhedsvirklen, så gælder at:\begin{equation*}k_{2n}=\sqrt{2-\sqrt{4-k_{n}^{2}}}'\end{equation*}\end{startthe}\end{minipage}