
Cómo evitar el espacio al comienzo de la primera línea por ntheorem
\documentclass[a4paper,10pt,openany,twoside]{scrbook}
\usepackage[paperwidth=94mm,paperheight=50mm,margin=2mm,footskip=2mm,showframe
] {geometry}
\usepackage{amsmath,amssymb}
%
\usepackage[amsmath,thmmarks]{ntheorem}
\theoremstyle{nonumberplain}
\theorembodyfont{\normalfont}
\theoremsymbol{\ensuremath{\vartriangleleft}}
\newtheorem{mythm}{}
%
\setlength\parindent{0pt}
\begin{document}
\begin{mythm}
Some text\\
Some other text
\[
a = b
\]
\end{mythm}
\end{document}
Respuesta1
El nonumberplain
estilo espera que el teorema tenga un encabezado especificado por el segundo argumento \newtheorem
e inserta un espacio que debe ir entre este encabezado y el cuerpo del teorema.
Puede ver la definición de estilo no numérico en la página 52 deldocumentación de nteoremas.
Supongo que una forma de evitar esto sería definir otro estilo de teorema similar pero sin la \hskip
s, y usarlo para tus teoremas sin encabezado ni número:
\documentclass[a4paper,10pt,openany,twoside]{scrbook}
\usepackage[paperwidth=94mm,paperheight=50mm,margin=2mm,footskip=2mm,showframe
] {geometry}
\usepackage{amsmath,amssymb}
%
\usepackage[amsmath,thmmarks]{ntheorem}
\makeatletter
\newtheoremstyle{nonumbernoheading}%
{\item[\theorem@headerfont##1\theorem@separator]}%
{\item[\theorem@headerfont##1\ (##3)\theorem@separator]}
\makeatother
\theoremstyle{nonumbernoheading}
\theorembodyfont{\normalfont}
\theoremsymbol{\ensuremath{\vartriangleleft}}
\newtheorem{mythm}{}
%
\setlength\parindent{0pt}
\begin{document}
\begin{mythm}
Some text\\
Some other text
\[
a = b
\]
\end{mythm}
\end{document}