Math & Sciencemulti line and overbrace

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
mghorba
Posts: 2
Joined: Fri Feb 08, 2019 4:36 pm

multi line and overbrace

Post by mghorba »

I am using the following multiline equation. The last line of the equation unfortunately is indented and goes across the two columns. How can contain the last line in terms of its indentation?

Code: Select all

\documentclass[journal]{IEEEtran}
\usepackage{amsmath}
\usepackage{adjustbox}% http://ctan.org/pkg/adjustbox
\begin{document}

\begin{multline*}\label{eqn:1_1}
   L_{p}(d, h_{TX}, h_{RX}) =  \overbrace{L_{fs}(R,f)U(0.1-d)}^{L_{p,1}}+\clipbox{-2 0 5 0}{$\overbrace{(L_{fs}(R,f) + (1\hspace{1em}}^{L_{p,2}}$} \\[\jot]
       \clipbox{100 0 -2 0}{$\overbrace{\phantom{\hspace{10em}}(+ \log_{10}(d))L^{EH}_{B}(f,h_{TX},h_{RX},1) - L_{fs}(0.1,f))(U(1-d) - }$}\\[\jot]
       \clipbox{100 0 -2 0}{$\overbrace{\phantom{\hspace{10em}}U(d-0.1))}$}+\overbrace{L_{p}^{EH}(d,f,h_{TX,eff},h_{RX})(U(80-d) - U(d-1))}^{L_{p,3}}\\[\jot]
       \overbrace{\phantom{\hspace{10em}}(+ L_{p}^{ITM}(f,h_{TX},h_{RX},p(d))+max\{L^{EH}(f,h_{TX},h_{RX},p(80)) - L_{med}^{ITM}(f,h_{TX},h_{RX},p(80)),0\})U(d-80)}^{L_{p,4}}
\end{multline*}
\end{document}
Attachments
MyFile34.png
MyFile34.png (20.86 KiB) Viewed 2526 times

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

multi line and overbrace

Post by Johannes_B »

Do you mean the indentation caused by the the 10 em phantom space?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply