Pergunta rápida sobre nova linha no início da enumeração

Pergunta rápida sobre nova linha no início da enumeração

Em primeiro lugar, aqui está o preâmbulo:

    \documentclass[a4paper,12pt]{report}
\usepackage{physics}
\usepackage{amsthm,amssymb,thmtools}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{enumerate}
\usepackage{framed}
\usepackage{mathtools}
\usepackage{empheq}
\usepackage{relsize}
\usepackage{nicefrac}

\newcommand*\widefbox[1]{\fbox{\hspace{1em}#1\hspace{1em}}}


\renewcommand{\thechapter}{\Roman{chapter}}
\newtheorem{theorem}{Theorem}
\renewcommand{\thetheorem}{\arabic{chapter}.\arabic{theorem}}
\renewcommand*{\arraystretch}{1.5}

\declaretheoremstyle[spaceabove = 3pt, spacebelow = 3pt, headpunct={:} ,postfoothook=\noindent\hspace{-\fontdimen2\font},postheadspace=\newline]{mydef}

\declaretheoremstyle[spaceabove = 3pt, spacebelow = 3pt, headpunct={:} ,postfoothook=\noindent\hspace{-\fontdimen2\font},headfont = \itshape,postheadspace=\newline]{mysol}

\declaretheoremstyle[spaceabove = 3pt, spacebelow = 3pt, headpunct={:} ,postfoothook=\noindent\hspace{-\fontdimen2\font}]{myrem}

\declaretheoremstyle[spaceabove = 3pt, spacebelow = 3pt,headpunct = {!}, postfoothook=\noindent\hspace{-\fontdimen2\font},headfont=\itshape]{mycare}

\declaretheoremstyle[spaceabove = 3pt, spacebelow = 3pt,headpunct = {:}, postfoothook=\noindent\hspace{-\fontdimen2\font},headfont=\itshape]{myint}

\declaretheorem[parent=chapter,name = Def,style = mydef]{definition}
\renewcommand{\thedefinition}{\arabic{chapter}.\arabic{definition}}

\declaretheorem[parent = chapter,style = mydef, name = Example]{example}
\renewcommand{\theexample}{\arabic{chapter}.\arabic{example}}

\renewcommand{\thefigure}{\arabic{figure}}

\declaretheorem[style=myrem,numbered=no]{remark}
\declaretheorem[style=mycare, numbered = no]{careful}
\declaretheorem[style=myint, numbered = no]{interpretation}
\declaretheorem[style=myrem, numbered=no]{visualization}
\declaretheorem[style=mysol,numbered = no]{solution}

E aqui está o código em questão:

\begin{solution}
        \begin{enumerate}[(i)]
            \item $r = \sqrt{x^2+y^2} = \sqrt{9+3} = \sqrt{12}$
            \item We need $\varphi$ such that 
            \[(3,\sqrt{3}) = (r \cos \varphi, r \sin \varphi) = \sqrt{12}(\cos \varphi, \sin \varphi )  \]
        \end{enumerate}
    \end{solution}

A saída é assim: insira a descrição da imagem aqui

Como posso fazer com que o primeiro item da enumeração esteja na próxima linha e também que ambos os índices estejam alinhados corretamente. Temo que haja um erro de digitação em algum lugar do meu código que esteja causando isso, ou que eu não tenha entendido corretamente como declarar novos estilos de teoremas e aplicá-los. Como você pode ver no estilo "mysol", escrevi postheadspace=\newlineembora não seja isso que está acontecendo.

Obrigado pela ajuda.

Responder1

Comece com um item vazio.

\begin{solution}
        \begin{enumerate}[(i)]
            \item[] % <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
            \item $r = \sqrt{x^2+y^2} = \sqrt{9+3} = \sqrt{12}$
            \item We need $\varphi$ such that 
            \[(3,\sqrt{3}) = (r \cos \varphi, r \sin \varphi) = \sqrt{12}(\cos \varphi, \sin \varphi )  \]
        \end{enumerate}
\end{solution}

insira a descrição da imagem aqui

informação relacionada