1

Not sure if this counts as a ``high quality post" but I'd appreciate any advice on the LaTeX template/ package source that I can create a callout with:

Here's an image of the desired output:

enter image description here

1819023
  • 13
  • 1
    Welcome to TeX.SE! Please explain better what your problem is ... – Mensch Jun 03 '23 at 16:49
  • Hi, I'd just like to try and format an arbitrary theorem to be formatted with a callout as shown in the photo. For example, for each definition environment I'd like their to be a callout. Ideally I believe the parameter for the bolded text would be taken in through \begin{definition}[The Bonnet rotation]. If I can't tie it to a certain environment the package used should help – 1819023 Jun 03 '23 at 16:55
  • 1
    I guess that https://tex.stackexchange.com/q/167273/4427 should help. In my answer just make sure to say \theoremstyle{definition} before defining the inner environment. – egreg Jun 03 '23 at 17:31
  • More specifically I'd like to focus on the actual styling of the block callout. – 1819023 Jun 03 '23 at 17:41
  • Please ask only one queastion at a time. -GOM – Peter Wilson Jun 03 '23 at 18:29

1 Answers1

0

With tcolorbox:

\documentclass{article}
\usepackage{lipsum}
\usepackage[most]{tcolorbox}
\tcbuselibrary{skins,breakable}
\newtcolorbox{mybox}[2][]{breakable,sharp corners, skin=enhancedmiddle jigsaw,parbox=false,
boxrule=0mm,leftrule=2mm,boxsep=0mm,arc=0mm,outer arc=0mm,attach title to upper,
after title={.\ }, coltitle=black,colback=gray!10,colframe=black, title={#2},
fonttitle=\bfseries,#1}
\begin{document}
\lipsum[2]
\begin{mybox}{The Bonnet rotation}
The helicoid, $\boldsymbol{\varphi}$, and the catenoid, $\widetilde{\boldsymbol{\varphi}}$ 
are related through the Bonnet rotation, $\boldsymbol{\sigma}_\theta$, which is the 
weighted sum of the two minimal surfaces:
\[
\boldsymbol{\sigma}_\theta=(\cos \theta) \boldsymbol{\varphi}+
(\sin \theta) \tilde{\boldsymbol{\varphi}}
\]
In a Bonnet rotation every surface element maintains its normal vector but rotates 
a given angle in its tangent plane. If and only if the surface is a minimal surface, 
then the surface elements all fit together again. The Bonnet rotation is 
an isometry of the surface.
\end{mybox}
\lipsum[6]
\end{document}

enter image description here

Andrey L.
  • 1,794