3

I am using the underbrace to explain some equations, but the text of the underbrace always overlaps the text of my document. Is there any way to solve this issue? enter image description here

\documentclass{article}
\usepackage{amsmath}

\begin{document}
\begin{equation}
\mathbf{\Xi}_{p}=\left\lbrace\smash{\underbrace{0,0,\ldots,0}_\text{$p+1$      copies}},\mathbf{\Xi}_{int},\smash{\underbrace{1,1,\ldots,1}_\text{$p+1$ copies}} \right\rbrace,
\end{equation}
onto $\bar{n}$ degrees of freedom, $p-1$th order function space $\bar{\mathcal{N}}_{\bar{n},p-1}=span\left\lbrace{N}_{i,p-1}\right\rbrace$ defined by knot vector:
\end{document}
  • Off-topic: As "span" appears to be a math operator, it should probably be typeset with upright letters instead of math italic letters. Since you're using the amsmath package, I recommend you set up \DeclareMathOperator{\span}{span} in the preamble and write ...\span\lbrace{N}_{i,p-1}\rbrace... in the body of the document. – Mico Aug 23 '16 at 4:52
3

No need to smash.

\documentclass{article}
\usepackage{amsmath}

\begin{document}
    \begin{equation}
        \mathbf{\Xi}_{p}=\lbrace\underbrace{0,0,\ldots,0}_\text{$p+1$      copies},\mathbf{\Xi}_{int},\underbrace{1,1,\ldots,1}_\text{$p+1$ copies} \rbrace,
    \end{equation}
    onto $\bar{n}$ degrees of freedom, $p-1$th order function space $\bar{\mathcal{N}}_{\bar{n},p-1}=span\left\lbrace{N}_{i,p-1}\right\rbrace$ defined by knot vector:
\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.