1

I have defined a newtheorem style and I want to shift the theoreme a little bit below from the rest, but I don't get it right. I have something like this :

\documentclass{book}

\usepackage{xcolor}
\usepackage{amsthm}



\newtheoremstyle{Marine}% name 
{3pt}% Space above 
{3pt}% Space below 
{}% Body font 
{}% Indent amount 
{}% Theorem head font
{:}% Punctuation after theorem head
{\newline}% Space after theorem head 
{\underline{\thmname{#1}\thmnumber{ #2}}\thmnote{ \textcolor{red}{ (#3)}}}% Theorem head spec (can be left empty, meaning ‘normal’)

\theoremstyle{Marine}
\newtheorem{definition}{Definition}[section]

How can I get this to work?

naphaneal
  • 2,614
Marine Galantin
  • 385
  • 4
  • 18
  • 3
    Code probably based on https://tex.stackexchange.com/questions/43966. If this is true, maybe indicate this in your question. – Dr. Manuel Kuehner Mar 13 '18 at 19:32
  • 1
    not exactly but thats the same approximately. Another user told me that the code is written in this way. – Marine Galantin Mar 13 '18 at 21:34
  • @MarineGalantin, please complete your example, so it compiles when we copy and compile it. It may also be a good idea to add a screenshot. Thank you – MS-SPO Feb 13 '24 at 04:59

0 Answers0