LaTeX forum ⇒ GeneralLimiter Topic is solved

LaTeX specific issues not fitting into one of the other forums of this category.
rodrigue
Posts: 9
Joined: Fri Dec 27, 2019 9:18 am

Limiter

Postby rodrigue » Fri Dec 27, 2019 9:51 am

Hi all,

I'm new in this forum I I'm facing an error in latex since this morning when writhing an equation. I used a limiter (In french we call it délimiteur) in order to group it. The code is the following:

\documentclass[a4paper, 12pt]{report}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage{lmodern}
\usepackage{array}
\usepackage{rotating}
\usepackage{graphicx}

\usepackage{amsmath,amssymb,amsfonts}
\usepackage{amsthm}
\usepackage[a4paper]{geometry}

\begin{document}


\begin{equation}
\begin{split}
\frac{\partial D_j}{\partial Pd_j} = PC_jQ_j(1-\alpha_j)^{\sigma_j}
\left\lbrace -\sigma_j Pd_j^{-\sigma_j - 1}
\left[\alpha_j^{\sigma_j}Pm_j^{1-\sigma_j}+(1-\alpha_j)^{\sigma_j} Pd_j^{1-\sigma_j} \right]^{-1} & \\
-Pd_j^{-\sigma_j}(1-\sigma_j)Pd_j^{-\sigma_j}(1-\alpha_j)^{\sigma_j}
\left[\alpha_j^{\sigma_j}Pm_j^{1-\sigma_j}+(1-\alpha_j)^{\sigma_j} Pd_j^{1-\sigma_j} \right]^{-2} \right\rbrace
\end{split}
\end{equation}

\end{document}


Now when I compile the code, I get the error messages telling me that I've not closed a bracket.

The probem occurs specifically in \left\lbrace and \right\rbrace. The first one that is \left\lbrace is working well but the second one \right\rbrace is not working. I don't understand what's wrong with my code.

Can someone tell me what to do?

Thank you in advance

Also look the attachment

delimiteur.tex
(811 Bytes) Downloaded 18 times

rais
Posts: 268
Joined: Sun Nov 16, 2014 8:51 pm

Postby rais » Fri Dec 27, 2019 6:42 pm

Hi,
each \left command must be accompanied by a matching \right command within the same line (and group).
Use \right. just before the & sign of the first line and
\left. at the beginning of the second line.

KR
Rainer

rodrigue
Posts: 9
Joined: Fri Dec 27, 2019 9:18 am

Postby rodrigue » Fri Dec 27, 2019 11:03 pm

Hi Rainer

Thank you very much for your answer. It works!!! Thanks again

Rodrigue


Return to “General”

Who is online

Users browsing this forum: No registered users and 7 guests