I'd like the following code:
\documentclass{article}
\usepackage{lipsum}
% macro definitions...
\begin{document}
\begin{signenv}{A}
\lipsum[1]
\end{signenv}
\end{document}
To produce this:
In words: the signenv
environment's paragraph is flanked from the top and from the bottom by two lines the length of the paragraph. In the middle of the top line there's a diamond with a letter inside it. The letter is determined by the mandatory parameter passed to the signenv
environment. There's some space between the diamond and the top line.
signenv
must not embed the paragraph inside a TeX box/a tcolorbox
etc.
tcolorbox
s before, but found them to be very problematic when used in combination with programmable margin notes, a feature that I require.