I am trying to frame a text inline like this:
The text above is from the book Differential Geometry of Curves and Surfaces from Kristopher Tapp.
As requested by some users, some code to edit:
\documentclass{article}
\usepackage{amsmath}
\usepackage{amsthm}
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
\begin{document}
\begin{theorem}
Bla bla bla.
\end{theorem}
\begin{proof}
Bla bla bla bla.
(1) \(\implies\) (2) Bla bla bla.
\end{proof}
\end{document}
(1) \(\implies (2)\)
should be\((1) \implies (2)\)
. One reason is font used in math could be different and you might end up in oddly typeset expressions. As to your boxes: use\fbox{}
to box words and ininline maths or\boxed{}
(amsmath
) in display math env. (see this answer for details).