You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
539 B
25 lines
539 B
% syntax highlightning bug, nested enviroments are not recognized
|
|
\documentclass{article}
|
|
\usepackage{amsmath}
|
|
\usepackage{amssymb}
|
|
\usepackage{fancybox}
|
|
\begin{document}
|
|
\newlength{\parboxlength}
|
|
\begin{align*}
|
|
\setlength{\fboxsep}{15pt}
|
|
\setlength{\parboxlength}{\linewidth}
|
|
\addtolength{\parboxlength}{-2\fboxsep}
|
|
\fbox{
|
|
\parbox{\parboxlength}{
|
|
\setlength{\abovedisplayskip}{0pt}
|
|
\setlength{\belowdisplayskip}{0pt}
|
|
\begin{align}
|
|
asdf
|
|
\end{align}
|
|
}}
|
|
\end{align*}
|
|
|
|
asdfasdfasdfasdfadfasdf
|
|
|
|
\end{document}
|