Text Formattingsplitting of a long equation in two part from \times

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
surender kaliraman
Posts: 3
Joined: Fri May 28, 2021 7:07 pm

splitting of a long equation in two part from \times

Post by surender kaliraman »

Code: Select all

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\title{equation}
\author{surender}
\date{June 2021}

\begin{document}

\maketitle

\section{Introduction}
\begin{equation}g^{cou}\simeq\int{d{\vec{r_\bot}}\exp{(-i\vec{k_\bot}\cdot{\vec{r_\bot}})}\frac{2(\beta_1{V_c}-\beta{_2}V_v)}{\hbar{v}}\\ {\times\left(K_0(wR_\bot/v)\frac{w}{v}\frac{d}{dk_z}\hat{\phi{_i}}(\vec{r_\bot},k_z)+K_1(wR_\bot/v)\frac{\vec{R_\bot}\cdot{\vec{r}}}{R_\bot}\frac{w}{v}\hat{\phi{i}}(\vec{r_\bot},k_z)\right)}}\end{equation}
\end{document}
Last edited by Stefan Kottwitz on Wed Jun 23, 2021 8:52 am, edited 1 time in total.
Reason: code marked

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

splitting of a long equation in two part from \times

Post by Ijon Tichy »

First of all: Please mark your code with code tags, otherwise the online editor/compiler will not work and moreover the formatting of the message may break the code.

You are already loading package amsmath, so why don't you use a multi-line environment like split? See section 3.3 and 3.4 of the user manual amsldoc for more information.

BTW: Since LaTeX 2018-04-01 \usepackage[utf8]{inputenc} is not needed anymore.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
vaman
Posts: 17
Joined: Wed Oct 09, 2019 5:51 am

splitting of a long equation in two part from \times

Post by vaman »

Use \begin{eqnarray}
to break equation is use \\ \nonumber {this can be done any number of times and at each level write \\\nonumber
\end{eqnarray}
I am sure that this will work. I am unable to compile it as there are many erroes and I do not know your equation form.
User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

splitting of a long equation in two part from \times

Post by Ijon Tichy »

From amsmath user manual:
Although the standard eqnarray environment remains available, it is better to
use align or equation+split instead. Within eqnarray, spacing around signs
of relation is not the preferred mathematical spacing, and is inconsistent with
that spacing as it appears in other environments. Long lines in this environment
may result in misplaced or overprinted equation numbers. This environment also
does not support the use of \qed or \qedhere as provided by theorem packages.
So if you load amsmath it is not recommended to use eqnarray but one of the amsmath environments (as already suggested above). See the manual for more information.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Post Reply