The equation is too long to fit in the page. Is it possible to break it without using package amsmath? Does anyone know how to solve this ;

\title{FEM assignment} 
\author{El & Cauist}
 \maketitle \ 
\begin{equation} \label{eq:1}
 -(\textbf{\tilde{\nabla}_1}-\textbf{\tilde{\nabla}_0})^T[r\t‌​extbf{D}(\textbf{\ti‌​lde{\nabla}_1}+\text‌​bf{\tilde{\nabla}_0}‌​)\textbf{u}]=r \textbf{b} \end{equation}
  • Related: Can't get packages to work – Werner Jan 30 '18 at 18:02
  • 2
    You should be a bit more specific. There's How can I split an equation over two (or more) lines... – Werner Jan 30 '18 at 18:03
  • 1
    Please show us the equation in question. Incidentally, could you tell us why you don't want to use the amsmath package? – Mico Jan 30 '18 at 18:19
  • Of course, there is a archaic \begin{eqnarray} ... \end{eqnarray} environment. (I almost do not dare to say it loud, but this has even some advantages, e.g. it works with \pause from the beamer package. But it also has disadvantages.) – user121799 Jan 30 '18 at 18:21
  • 2
    the problem with \tilde is that it requires math mode, and you are using it within \textbf which resets the node to text mode. if you use \mathbf instead, there should be no error reported. – barbara beeton Jan 30 '18 at 19:05

There are several serious issues with your code. The equation being too long to fit on a single line, let alone on a single page, is not one of them.

  • Don't use \textbf in math mode. Use either \mathbf or \bm; the latter requires loading the bm package.

  • The code you've posted is infested with various invisible unicode-encoded characters. Get rid of them!

  • Optional: Consider using \widetilde instead of \tilde.

  • & is a "special" character in TeX and LaTeX. If you need to typeset an ampersand, don't write &; instead, write \&.

Again, I have no idea why you claim that the equation is so long that it won't fit on a page.

enter image description here

\usepackage{bm} % for "\bm" macro

\begin{equation} \label{eq:1}
[r\mathbf{D}(\tilde{\bm{\nabla}}_1+ \tilde{\bm{\nabla}}_0)\mathbf{u}]
 = r \mathbf{b} 

  • 1
    3rd item shows the same code on \tilde. – Sigur Jan 30 '18 at 19:35

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.