How to split an equation in two lines?aligning a multiline formula with the bullet of itemizesplitting an...
Inverse-quotes-quine
C-152 carb heat on before landing in hot weather?
Computing a trigonometric integral
Require advice on power conservation for backpacking trip
Is a single radon-daughter atom in air a solid?
Underbar nabla symbol doesn't work
Why doesn't a marching band have strings?
Did Karl Marx ever use any example that involved cotton and dollars to illustrate the way capital and surplus value were generated?
How risky is real estate?
How can I politely work my way around not liking coffee or beer when it comes to professional networking?
Does this Wild Magic result affect the sorcerer or just other creatures?
Iterate over colors on next pie chart with pgf-pie
Links to webpages in books
Fedora boot screen shows both Fedora logo and Lenovo logo. Why and How?
Fill NAs in R with zero if the next valid data point is more than 2 intervals away
Why cruise at 7000' in an A319?
Can humans ever directly see a few photons at a time? Can a human see a single photon?
Unusual mail headers, evidence of an attempted attack. Have I been pwned?
What are the penalties for overstaying in USA?
Are there any efficient algorithms to solve longest path problem in networks with cycles?
Trainee keeps missing deadlines for independent learning
Should my manager be aware of private LinkedIn approaches I receive? How to politely have this happen?
Can Ogre clerics use Purify Food and Drink on humanoid characters?
Suggested order for Amazon Prime Doctor Who series
How to split an equation in two lines?
aligning a multiline formula with the bullet of itemizesplitting an equation inside curly brackets onto 2 lines without using Bigsplit equation in multiple linesList of equations, including equation contents and captionAdding text line in Equation EnvironmentCan't generate png with Error: Erroneous nesting of equation structuresSplit matrix over two linesHow continue a equation next lineHow can I align this equation in the center?special characters in equation
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am new to LaTeX,
Here is my formula,
documentclass{article}
begin{document}
begin{equation}
small{
Delta (h)_{T+S} =
prod_{j=1}^{N} left[frac {P(x^j,y^j|theta_{paired})}
{P(x^j,y^j|theta_{unpaired})}right]left[frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j})
P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}right]}
end{equation}
end{document}
I want the equation to be split in two lines, how do I do this?
I tried, multline
, align*
, split
, alignedat
, nothing seems to work. Please help me with this. Thank you in advance.
math-mode equations
New contributor
add a comment |
I am new to LaTeX,
Here is my formula,
documentclass{article}
begin{document}
begin{equation}
small{
Delta (h)_{T+S} =
prod_{j=1}^{N} left[frac {P(x^j,y^j|theta_{paired})}
{P(x^j,y^j|theta_{unpaired})}right]left[frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j})
P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}right]}
end{equation}
end{document}
I want the equation to be split in two lines, how do I do this?
I tried, multline
, align*
, split
, alignedat
, nothing seems to work. Please help me with this. Thank you in advance.
math-mode equations
New contributor
1
Welcome to TeX.SE.
– Sebastiano
10 hours ago
How wide is the textblock? (Alternatively, please tell us which paper size is employed, and how wide the margins are.)
– Mico
3 hours ago
add a comment |
I am new to LaTeX,
Here is my formula,
documentclass{article}
begin{document}
begin{equation}
small{
Delta (h)_{T+S} =
prod_{j=1}^{N} left[frac {P(x^j,y^j|theta_{paired})}
{P(x^j,y^j|theta_{unpaired})}right]left[frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j})
P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}right]}
end{equation}
end{document}
I want the equation to be split in two lines, how do I do this?
I tried, multline
, align*
, split
, alignedat
, nothing seems to work. Please help me with this. Thank you in advance.
math-mode equations
New contributor
I am new to LaTeX,
Here is my formula,
documentclass{article}
begin{document}
begin{equation}
small{
Delta (h)_{T+S} =
prod_{j=1}^{N} left[frac {P(x^j,y^j|theta_{paired})}
{P(x^j,y^j|theta_{unpaired})}right]left[frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j})
P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}right]}
end{equation}
end{document}
I want the equation to be split in two lines, how do I do this?
I tried, multline
, align*
, split
, alignedat
, nothing seems to work. Please help me with this. Thank you in advance.
math-mode equations
math-mode equations
New contributor
New contributor
edited 9 hours ago
gigi
745 bronze badges
745 bronze badges
New contributor
asked 10 hours ago
Shilpa JanarthananShilpa Janarthanan
212 bronze badges
212 bronze badges
New contributor
New contributor
1
Welcome to TeX.SE.
– Sebastiano
10 hours ago
How wide is the textblock? (Alternatively, please tell us which paper size is employed, and how wide the margins are.)
– Mico
3 hours ago
add a comment |
1
Welcome to TeX.SE.
– Sebastiano
10 hours ago
How wide is the textblock? (Alternatively, please tell us which paper size is employed, and how wide the margins are.)
– Mico
3 hours ago
1
1
Welcome to TeX.SE.
– Sebastiano
10 hours ago
Welcome to TeX.SE.
– Sebastiano
10 hours ago
How wide is the textblock? (Alternatively, please tell us which paper size is employed, and how wide the margins are.)
– Mico
3 hours ago
How wide is the textblock? (Alternatively, please tell us which paper size is employed, and how wide the margins are.)
– Mico
3 hours ago
add a comment |
6 Answers
6
active
oldest
votes
Here there is my proposal to split your equation.
documentclass{article}
usepackage[margin=2cm]{geometry}
usepackage{mathtools,amssymb}
begin{document}
begin{equation}
begin{split}
Delta (h)_{T+S} & =prod_{j=1}^{N} left[frac {P(x^j,y^j|theta_{mathrm{paired}})}
{P(x^j,y^j|theta_{mathrm{unpaired}})}right]cdot\
& cdot left[frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j}) P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}right]
end{split}
end{equation}
end{document}
1
Thank you so much, this works fine.
– Shilpa Janarthanan
10 hours ago
add a comment |
The brackets are surplus here, the fraction is a group by itself, so you don't need extra grouping. If I use brackets, I will enclose the whole formula to the right of the =
sign into a pair of brackets. I also used biggl[
and biggr]
for easy splitting. Finally, as @Sebastiano suggested, use mathrm
for text.
Note: you didn't tell us how thick the margins are, so I assumed 1in
. If my answer is still too wide, uncomment the small
block.
documentclass{article}
usepackage{amsmath}
usepackage[margin=1in]{geometry}
begin{document}
%{small
begin{equation}
begin{split} Delta (h)_{T+S} &=
prod_{j=1}^{N} biggl[frac {P(x^j,y^j|theta_mathrm{paired})}
{P(x^j,y^j|theta_mathrm{unpaired})} times{} \
&phantom{{}={}}frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j})
P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}biggr]
end{split}
end{equation}
%}
end{document}
1
I'm a little late for a positive vote on your good work.
– Sebastiano
9 hours ago
1
Thank you, you were the fastest.
– AboAmmar
9 hours ago
add a comment |
one more alternative, with use of mathtools
and nccmath
:
documentclass{article}
usepackage{geometry}
usepackage{mathtools, nccmath}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{equation}
medmath{
begin{multlined}
Delta (h)_{T+S}
= prod_{j=1}^{N} Biggl[frac{P(x^j,y^jmidtheta_{mathrm{paired}})}
{P(x^j,y^jmidtheta_{mathrm{unpaired}})}Biggr]\
cdot Biggl[frac{P(bp)_{x^j,y^j} P(bp_{x^j,y^j}mid pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j}) P(dl_{x^j}mid pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}
{P(sl) P(dlmid sl) P(sr) P(drmid sr)}Biggr]
end{multlined}
}
end{equation}
end{document}
1
Fast as lightning...:-) +1.
– Sebastiano
9 hours ago
add a comment |
A way to put the equation on a single line, with the splitfrac
command from mathtools``, the
medmathcommand from
nccmath` and some adjustment for the delimiters:
documentclass{article}
usepackage[margin=2cm]{geometry}
usepackage{mathtools, nccmath, amssymb}
begin{document}
begin{equation}
Delta (h)_{T+S} =prod_{j=1}^{N} left[frac {P(x^j,y^jmidtheta_{mathrm{paired}})}
{P(x^j,y^jmidtheta_{mathrm{unpaired}})}right]cdot
left[frac{medmath{splitfrac{P(bp)_{x^j,y^j}
Pbigl(bp_{x^j,y^j}mid pbp_{x^{j-1},y^{j+1}}bigr)P(dl_{x^j}) }{ P(dl_{x^j}mid pdl_{x^{j-1}})Pbigl(dr_{y^j}bigr)Pbigl(dr_{y^j}mid pdr_{y^{j+1}}bigr)rule[-1.5ex]{0pt}{1ex}}}}{P(sl)
P(dl|sl) P(sr) P(dr| sr)^{strut} }right]
end{equation}
end{document}
I know the command splitfrac but I did not want to use it because it is not my favorite. +1
– Sebastiano
9 hours ago
1
@Sebastiano: I think it mainly depends on the case at hand. Here, combined with medmath and some vertical space tweaking, I find it doesn't look so bad
– Bernard
9 hours ago
De gustibus non disputandum est: There's no discussion of the tastes. :-)
– Sebastiano
9 hours ago
2
Needless to translate – when I was a student, I helped some highschool students in Latin ;o)
– Bernard
9 hours ago
add a comment |
With multiline
one can insert \
at the locations where the line should be broken.
Multiletter subscripts ought not be set in math italics, the kerning is wrong. I suggest to warp them in mathrm{}
The fontsize change needs to be outside the equation and without {}
following it. small
was still a bit to large, but with footnotesize
the equation fits even without cheating and changing the margin sizes.
documentclass{article}
usepackage{amsmath}
begin{document}
{
scriptsize
begin{multline}
Delta (h)_{T+S} =
prod_{j=1}^{N} left[frac {P(x^j,y^j|theta_{mathrm{paired}})}
{P(x^j,y^j|theta_{mathrm{unpaired}})}right]cdot\
cdotleft[frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j})
P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}right]
end{multline}
}
end{document}
New contributor
1
Thanks you so much, this works fine as well.
– Shilpa Janarthanan
10 hours ago
@ShilpaJanarthanan Was my pleasure!
– gigi
10 hours ago
Can you please tell me, how to add cdot in the above code, to show the continuity of the equation?
– Shilpa Janarthanan
10 hours ago
@ShilpaJanarthanan Please check now. Also please don't have whole words in math italic.
– gigi
9 hours ago
add a comment |
Here's a multlined
-based solution. It also uses mid
rather than |
to denote conditioning, and it "snugs up" the subscript terms to dr
.
documentclass{article}
usepackage[a4paper,margin=2.5cm]{geometry} % make suitable page and margin choices
usepackage{mathtools} % for 'multlined' environment
begin{document}
begin{equation}
renewcommand{!}{mkern-2mu} % default: mkern-3mu
begin{multlined}
Delta(h)_{T+S} = prod_{j=1}^{N} biggl[
frac {P(x^j!,y^jmid theta_{mathrm{paired}})}{%
P(x^j!,y^jmid theta_{mathrm{unpaired}})}\
times
frac{P(bp)_{x^j!,y^j}
P(bp_{x^j!,y^j}mid pbp_{x^{j-1}!,y^{j+1}})
P(dl_{x^j}) P(dl_{x^j}mid pdl_{x^{j-1}})
P(dr_{!y^j})P(dr_{!y^j}mid pdr_{!y^{j+1}})}{%
P(sl) P(dlmid sl) P(sr) P(drmid sr)} biggr]
end{multlined}
end{equation}
end{document}
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Shilpa Janarthanan is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f496697%2fhow-to-split-an-equation-in-two-lines%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
6 Answers
6
active
oldest
votes
6 Answers
6
active
oldest
votes
active
oldest
votes
active
oldest
votes
Here there is my proposal to split your equation.
documentclass{article}
usepackage[margin=2cm]{geometry}
usepackage{mathtools,amssymb}
begin{document}
begin{equation}
begin{split}
Delta (h)_{T+S} & =prod_{j=1}^{N} left[frac {P(x^j,y^j|theta_{mathrm{paired}})}
{P(x^j,y^j|theta_{mathrm{unpaired}})}right]cdot\
& cdot left[frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j}) P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}right]
end{split}
end{equation}
end{document}
1
Thank you so much, this works fine.
– Shilpa Janarthanan
10 hours ago
add a comment |
Here there is my proposal to split your equation.
documentclass{article}
usepackage[margin=2cm]{geometry}
usepackage{mathtools,amssymb}
begin{document}
begin{equation}
begin{split}
Delta (h)_{T+S} & =prod_{j=1}^{N} left[frac {P(x^j,y^j|theta_{mathrm{paired}})}
{P(x^j,y^j|theta_{mathrm{unpaired}})}right]cdot\
& cdot left[frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j}) P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}right]
end{split}
end{equation}
end{document}
1
Thank you so much, this works fine.
– Shilpa Janarthanan
10 hours ago
add a comment |
Here there is my proposal to split your equation.
documentclass{article}
usepackage[margin=2cm]{geometry}
usepackage{mathtools,amssymb}
begin{document}
begin{equation}
begin{split}
Delta (h)_{T+S} & =prod_{j=1}^{N} left[frac {P(x^j,y^j|theta_{mathrm{paired}})}
{P(x^j,y^j|theta_{mathrm{unpaired}})}right]cdot\
& cdot left[frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j}) P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}right]
end{split}
end{equation}
end{document}
Here there is my proposal to split your equation.
documentclass{article}
usepackage[margin=2cm]{geometry}
usepackage{mathtools,amssymb}
begin{document}
begin{equation}
begin{split}
Delta (h)_{T+S} & =prod_{j=1}^{N} left[frac {P(x^j,y^j|theta_{mathrm{paired}})}
{P(x^j,y^j|theta_{mathrm{unpaired}})}right]cdot\
& cdot left[frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j}) P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}right]
end{split}
end{equation}
end{document}
answered 10 hours ago
SebastianoSebastiano
12.9k4 gold badges25 silver badges70 bronze badges
12.9k4 gold badges25 silver badges70 bronze badges
1
Thank you so much, this works fine.
– Shilpa Janarthanan
10 hours ago
add a comment |
1
Thank you so much, this works fine.
– Shilpa Janarthanan
10 hours ago
1
1
Thank you so much, this works fine.
– Shilpa Janarthanan
10 hours ago
Thank you so much, this works fine.
– Shilpa Janarthanan
10 hours ago
add a comment |
The brackets are surplus here, the fraction is a group by itself, so you don't need extra grouping. If I use brackets, I will enclose the whole formula to the right of the =
sign into a pair of brackets. I also used biggl[
and biggr]
for easy splitting. Finally, as @Sebastiano suggested, use mathrm
for text.
Note: you didn't tell us how thick the margins are, so I assumed 1in
. If my answer is still too wide, uncomment the small
block.
documentclass{article}
usepackage{amsmath}
usepackage[margin=1in]{geometry}
begin{document}
%{small
begin{equation}
begin{split} Delta (h)_{T+S} &=
prod_{j=1}^{N} biggl[frac {P(x^j,y^j|theta_mathrm{paired})}
{P(x^j,y^j|theta_mathrm{unpaired})} times{} \
&phantom{{}={}}frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j})
P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}biggr]
end{split}
end{equation}
%}
end{document}
1
I'm a little late for a positive vote on your good work.
– Sebastiano
9 hours ago
1
Thank you, you were the fastest.
– AboAmmar
9 hours ago
add a comment |
The brackets are surplus here, the fraction is a group by itself, so you don't need extra grouping. If I use brackets, I will enclose the whole formula to the right of the =
sign into a pair of brackets. I also used biggl[
and biggr]
for easy splitting. Finally, as @Sebastiano suggested, use mathrm
for text.
Note: you didn't tell us how thick the margins are, so I assumed 1in
. If my answer is still too wide, uncomment the small
block.
documentclass{article}
usepackage{amsmath}
usepackage[margin=1in]{geometry}
begin{document}
%{small
begin{equation}
begin{split} Delta (h)_{T+S} &=
prod_{j=1}^{N} biggl[frac {P(x^j,y^j|theta_mathrm{paired})}
{P(x^j,y^j|theta_mathrm{unpaired})} times{} \
&phantom{{}={}}frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j})
P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}biggr]
end{split}
end{equation}
%}
end{document}
1
I'm a little late for a positive vote on your good work.
– Sebastiano
9 hours ago
1
Thank you, you were the fastest.
– AboAmmar
9 hours ago
add a comment |
The brackets are surplus here, the fraction is a group by itself, so you don't need extra grouping. If I use brackets, I will enclose the whole formula to the right of the =
sign into a pair of brackets. I also used biggl[
and biggr]
for easy splitting. Finally, as @Sebastiano suggested, use mathrm
for text.
Note: you didn't tell us how thick the margins are, so I assumed 1in
. If my answer is still too wide, uncomment the small
block.
documentclass{article}
usepackage{amsmath}
usepackage[margin=1in]{geometry}
begin{document}
%{small
begin{equation}
begin{split} Delta (h)_{T+S} &=
prod_{j=1}^{N} biggl[frac {P(x^j,y^j|theta_mathrm{paired})}
{P(x^j,y^j|theta_mathrm{unpaired})} times{} \
&phantom{{}={}}frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j})
P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}biggr]
end{split}
end{equation}
%}
end{document}
The brackets are surplus here, the fraction is a group by itself, so you don't need extra grouping. If I use brackets, I will enclose the whole formula to the right of the =
sign into a pair of brackets. I also used biggl[
and biggr]
for easy splitting. Finally, as @Sebastiano suggested, use mathrm
for text.
Note: you didn't tell us how thick the margins are, so I assumed 1in
. If my answer is still too wide, uncomment the small
block.
documentclass{article}
usepackage{amsmath}
usepackage[margin=1in]{geometry}
begin{document}
%{small
begin{equation}
begin{split} Delta (h)_{T+S} &=
prod_{j=1}^{N} biggl[frac {P(x^j,y^j|theta_mathrm{paired})}
{P(x^j,y^j|theta_mathrm{unpaired})} times{} \
&phantom{{}={}}frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j})
P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}biggr]
end{split}
end{equation}
%}
end{document}
edited 9 hours ago
answered 9 hours ago
AboAmmarAboAmmar
35.8k3 gold badges30 silver badges86 bronze badges
35.8k3 gold badges30 silver badges86 bronze badges
1
I'm a little late for a positive vote on your good work.
– Sebastiano
9 hours ago
1
Thank you, you were the fastest.
– AboAmmar
9 hours ago
add a comment |
1
I'm a little late for a positive vote on your good work.
– Sebastiano
9 hours ago
1
Thank you, you were the fastest.
– AboAmmar
9 hours ago
1
1
I'm a little late for a positive vote on your good work.
– Sebastiano
9 hours ago
I'm a little late for a positive vote on your good work.
– Sebastiano
9 hours ago
1
1
Thank you, you were the fastest.
– AboAmmar
9 hours ago
Thank you, you were the fastest.
– AboAmmar
9 hours ago
add a comment |
one more alternative, with use of mathtools
and nccmath
:
documentclass{article}
usepackage{geometry}
usepackage{mathtools, nccmath}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{equation}
medmath{
begin{multlined}
Delta (h)_{T+S}
= prod_{j=1}^{N} Biggl[frac{P(x^j,y^jmidtheta_{mathrm{paired}})}
{P(x^j,y^jmidtheta_{mathrm{unpaired}})}Biggr]\
cdot Biggl[frac{P(bp)_{x^j,y^j} P(bp_{x^j,y^j}mid pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j}) P(dl_{x^j}mid pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}
{P(sl) P(dlmid sl) P(sr) P(drmid sr)}Biggr]
end{multlined}
}
end{equation}
end{document}
1
Fast as lightning...:-) +1.
– Sebastiano
9 hours ago
add a comment |
one more alternative, with use of mathtools
and nccmath
:
documentclass{article}
usepackage{geometry}
usepackage{mathtools, nccmath}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{equation}
medmath{
begin{multlined}
Delta (h)_{T+S}
= prod_{j=1}^{N} Biggl[frac{P(x^j,y^jmidtheta_{mathrm{paired}})}
{P(x^j,y^jmidtheta_{mathrm{unpaired}})}Biggr]\
cdot Biggl[frac{P(bp)_{x^j,y^j} P(bp_{x^j,y^j}mid pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j}) P(dl_{x^j}mid pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}
{P(sl) P(dlmid sl) P(sr) P(drmid sr)}Biggr]
end{multlined}
}
end{equation}
end{document}
1
Fast as lightning...:-) +1.
– Sebastiano
9 hours ago
add a comment |
one more alternative, with use of mathtools
and nccmath
:
documentclass{article}
usepackage{geometry}
usepackage{mathtools, nccmath}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{equation}
medmath{
begin{multlined}
Delta (h)_{T+S}
= prod_{j=1}^{N} Biggl[frac{P(x^j,y^jmidtheta_{mathrm{paired}})}
{P(x^j,y^jmidtheta_{mathrm{unpaired}})}Biggr]\
cdot Biggl[frac{P(bp)_{x^j,y^j} P(bp_{x^j,y^j}mid pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j}) P(dl_{x^j}mid pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}
{P(sl) P(dlmid sl) P(sr) P(drmid sr)}Biggr]
end{multlined}
}
end{equation}
end{document}
one more alternative, with use of mathtools
and nccmath
:
documentclass{article}
usepackage{geometry}
usepackage{mathtools, nccmath}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{equation}
medmath{
begin{multlined}
Delta (h)_{T+S}
= prod_{j=1}^{N} Biggl[frac{P(x^j,y^jmidtheta_{mathrm{paired}})}
{P(x^j,y^jmidtheta_{mathrm{unpaired}})}Biggr]\
cdot Biggl[frac{P(bp)_{x^j,y^j} P(bp_{x^j,y^j}mid pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j}) P(dl_{x^j}mid pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}
{P(sl) P(dlmid sl) P(sr) P(drmid sr)}Biggr]
end{multlined}
}
end{equation}
end{document}
answered 9 hours ago
ZarkoZarko
138k8 gold badges74 silver badges182 bronze badges
138k8 gold badges74 silver badges182 bronze badges
1
Fast as lightning...:-) +1.
– Sebastiano
9 hours ago
add a comment |
1
Fast as lightning...:-) +1.
– Sebastiano
9 hours ago
1
1
Fast as lightning...:-) +1.
– Sebastiano
9 hours ago
Fast as lightning...:-) +1.
– Sebastiano
9 hours ago
add a comment |
A way to put the equation on a single line, with the splitfrac
command from mathtools``, the
medmathcommand from
nccmath` and some adjustment for the delimiters:
documentclass{article}
usepackage[margin=2cm]{geometry}
usepackage{mathtools, nccmath, amssymb}
begin{document}
begin{equation}
Delta (h)_{T+S} =prod_{j=1}^{N} left[frac {P(x^j,y^jmidtheta_{mathrm{paired}})}
{P(x^j,y^jmidtheta_{mathrm{unpaired}})}right]cdot
left[frac{medmath{splitfrac{P(bp)_{x^j,y^j}
Pbigl(bp_{x^j,y^j}mid pbp_{x^{j-1},y^{j+1}}bigr)P(dl_{x^j}) }{ P(dl_{x^j}mid pdl_{x^{j-1}})Pbigl(dr_{y^j}bigr)Pbigl(dr_{y^j}mid pdr_{y^{j+1}}bigr)rule[-1.5ex]{0pt}{1ex}}}}{P(sl)
P(dl|sl) P(sr) P(dr| sr)^{strut} }right]
end{equation}
end{document}
I know the command splitfrac but I did not want to use it because it is not my favorite. +1
– Sebastiano
9 hours ago
1
@Sebastiano: I think it mainly depends on the case at hand. Here, combined with medmath and some vertical space tweaking, I find it doesn't look so bad
– Bernard
9 hours ago
De gustibus non disputandum est: There's no discussion of the tastes. :-)
– Sebastiano
9 hours ago
2
Needless to translate – when I was a student, I helped some highschool students in Latin ;o)
– Bernard
9 hours ago
add a comment |
A way to put the equation on a single line, with the splitfrac
command from mathtools``, the
medmathcommand from
nccmath` and some adjustment for the delimiters:
documentclass{article}
usepackage[margin=2cm]{geometry}
usepackage{mathtools, nccmath, amssymb}
begin{document}
begin{equation}
Delta (h)_{T+S} =prod_{j=1}^{N} left[frac {P(x^j,y^jmidtheta_{mathrm{paired}})}
{P(x^j,y^jmidtheta_{mathrm{unpaired}})}right]cdot
left[frac{medmath{splitfrac{P(bp)_{x^j,y^j}
Pbigl(bp_{x^j,y^j}mid pbp_{x^{j-1},y^{j+1}}bigr)P(dl_{x^j}) }{ P(dl_{x^j}mid pdl_{x^{j-1}})Pbigl(dr_{y^j}bigr)Pbigl(dr_{y^j}mid pdr_{y^{j+1}}bigr)rule[-1.5ex]{0pt}{1ex}}}}{P(sl)
P(dl|sl) P(sr) P(dr| sr)^{strut} }right]
end{equation}
end{document}
I know the command splitfrac but I did not want to use it because it is not my favorite. +1
– Sebastiano
9 hours ago
1
@Sebastiano: I think it mainly depends on the case at hand. Here, combined with medmath and some vertical space tweaking, I find it doesn't look so bad
– Bernard
9 hours ago
De gustibus non disputandum est: There's no discussion of the tastes. :-)
– Sebastiano
9 hours ago
2
Needless to translate – when I was a student, I helped some highschool students in Latin ;o)
– Bernard
9 hours ago
add a comment |
A way to put the equation on a single line, with the splitfrac
command from mathtools``, the
medmathcommand from
nccmath` and some adjustment for the delimiters:
documentclass{article}
usepackage[margin=2cm]{geometry}
usepackage{mathtools, nccmath, amssymb}
begin{document}
begin{equation}
Delta (h)_{T+S} =prod_{j=1}^{N} left[frac {P(x^j,y^jmidtheta_{mathrm{paired}})}
{P(x^j,y^jmidtheta_{mathrm{unpaired}})}right]cdot
left[frac{medmath{splitfrac{P(bp)_{x^j,y^j}
Pbigl(bp_{x^j,y^j}mid pbp_{x^{j-1},y^{j+1}}bigr)P(dl_{x^j}) }{ P(dl_{x^j}mid pdl_{x^{j-1}})Pbigl(dr_{y^j}bigr)Pbigl(dr_{y^j}mid pdr_{y^{j+1}}bigr)rule[-1.5ex]{0pt}{1ex}}}}{P(sl)
P(dl|sl) P(sr) P(dr| sr)^{strut} }right]
end{equation}
end{document}
A way to put the equation on a single line, with the splitfrac
command from mathtools``, the
medmathcommand from
nccmath` and some adjustment for the delimiters:
documentclass{article}
usepackage[margin=2cm]{geometry}
usepackage{mathtools, nccmath, amssymb}
begin{document}
begin{equation}
Delta (h)_{T+S} =prod_{j=1}^{N} left[frac {P(x^j,y^jmidtheta_{mathrm{paired}})}
{P(x^j,y^jmidtheta_{mathrm{unpaired}})}right]cdot
left[frac{medmath{splitfrac{P(bp)_{x^j,y^j}
Pbigl(bp_{x^j,y^j}mid pbp_{x^{j-1},y^{j+1}}bigr)P(dl_{x^j}) }{ P(dl_{x^j}mid pdl_{x^{j-1}})Pbigl(dr_{y^j}bigr)Pbigl(dr_{y^j}mid pdr_{y^{j+1}}bigr)rule[-1.5ex]{0pt}{1ex}}}}{P(sl)
P(dl|sl) P(sr) P(dr| sr)^{strut} }right]
end{equation}
end{document}
answered 9 hours ago
BernardBernard
182k7 gold badges83 silver badges214 bronze badges
182k7 gold badges83 silver badges214 bronze badges
I know the command splitfrac but I did not want to use it because it is not my favorite. +1
– Sebastiano
9 hours ago
1
@Sebastiano: I think it mainly depends on the case at hand. Here, combined with medmath and some vertical space tweaking, I find it doesn't look so bad
– Bernard
9 hours ago
De gustibus non disputandum est: There's no discussion of the tastes. :-)
– Sebastiano
9 hours ago
2
Needless to translate – when I was a student, I helped some highschool students in Latin ;o)
– Bernard
9 hours ago
add a comment |
I know the command splitfrac but I did not want to use it because it is not my favorite. +1
– Sebastiano
9 hours ago
1
@Sebastiano: I think it mainly depends on the case at hand. Here, combined with medmath and some vertical space tweaking, I find it doesn't look so bad
– Bernard
9 hours ago
De gustibus non disputandum est: There's no discussion of the tastes. :-)
– Sebastiano
9 hours ago
2
Needless to translate – when I was a student, I helped some highschool students in Latin ;o)
– Bernard
9 hours ago
I know the command splitfrac but I did not want to use it because it is not my favorite. +1
– Sebastiano
9 hours ago
I know the command splitfrac but I did not want to use it because it is not my favorite. +1
– Sebastiano
9 hours ago
1
1
@Sebastiano: I think it mainly depends on the case at hand. Here, combined with medmath and some vertical space tweaking, I find it doesn't look so bad
– Bernard
9 hours ago
@Sebastiano: I think it mainly depends on the case at hand. Here, combined with medmath and some vertical space tweaking, I find it doesn't look so bad
– Bernard
9 hours ago
De gustibus non disputandum est: There's no discussion of the tastes. :-)
– Sebastiano
9 hours ago
De gustibus non disputandum est: There's no discussion of the tastes. :-)
– Sebastiano
9 hours ago
2
2
Needless to translate – when I was a student, I helped some highschool students in Latin ;o)
– Bernard
9 hours ago
Needless to translate – when I was a student, I helped some highschool students in Latin ;o)
– Bernard
9 hours ago
add a comment |
With multiline
one can insert \
at the locations where the line should be broken.
Multiletter subscripts ought not be set in math italics, the kerning is wrong. I suggest to warp them in mathrm{}
The fontsize change needs to be outside the equation and without {}
following it. small
was still a bit to large, but with footnotesize
the equation fits even without cheating and changing the margin sizes.
documentclass{article}
usepackage{amsmath}
begin{document}
{
scriptsize
begin{multline}
Delta (h)_{T+S} =
prod_{j=1}^{N} left[frac {P(x^j,y^j|theta_{mathrm{paired}})}
{P(x^j,y^j|theta_{mathrm{unpaired}})}right]cdot\
cdotleft[frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j})
P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}right]
end{multline}
}
end{document}
New contributor
1
Thanks you so much, this works fine as well.
– Shilpa Janarthanan
10 hours ago
@ShilpaJanarthanan Was my pleasure!
– gigi
10 hours ago
Can you please tell me, how to add cdot in the above code, to show the continuity of the equation?
– Shilpa Janarthanan
10 hours ago
@ShilpaJanarthanan Please check now. Also please don't have whole words in math italic.
– gigi
9 hours ago
add a comment |
With multiline
one can insert \
at the locations where the line should be broken.
Multiletter subscripts ought not be set in math italics, the kerning is wrong. I suggest to warp them in mathrm{}
The fontsize change needs to be outside the equation and without {}
following it. small
was still a bit to large, but with footnotesize
the equation fits even without cheating and changing the margin sizes.
documentclass{article}
usepackage{amsmath}
begin{document}
{
scriptsize
begin{multline}
Delta (h)_{T+S} =
prod_{j=1}^{N} left[frac {P(x^j,y^j|theta_{mathrm{paired}})}
{P(x^j,y^j|theta_{mathrm{unpaired}})}right]cdot\
cdotleft[frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j})
P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}right]
end{multline}
}
end{document}
New contributor
1
Thanks you so much, this works fine as well.
– Shilpa Janarthanan
10 hours ago
@ShilpaJanarthanan Was my pleasure!
– gigi
10 hours ago
Can you please tell me, how to add cdot in the above code, to show the continuity of the equation?
– Shilpa Janarthanan
10 hours ago
@ShilpaJanarthanan Please check now. Also please don't have whole words in math italic.
– gigi
9 hours ago
add a comment |
With multiline
one can insert \
at the locations where the line should be broken.
Multiletter subscripts ought not be set in math italics, the kerning is wrong. I suggest to warp them in mathrm{}
The fontsize change needs to be outside the equation and without {}
following it. small
was still a bit to large, but with footnotesize
the equation fits even without cheating and changing the margin sizes.
documentclass{article}
usepackage{amsmath}
begin{document}
{
scriptsize
begin{multline}
Delta (h)_{T+S} =
prod_{j=1}^{N} left[frac {P(x^j,y^j|theta_{mathrm{paired}})}
{P(x^j,y^j|theta_{mathrm{unpaired}})}right]cdot\
cdotleft[frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j})
P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}right]
end{multline}
}
end{document}
New contributor
With multiline
one can insert \
at the locations where the line should be broken.
Multiletter subscripts ought not be set in math italics, the kerning is wrong. I suggest to warp them in mathrm{}
The fontsize change needs to be outside the equation and without {}
following it. small
was still a bit to large, but with footnotesize
the equation fits even without cheating and changing the margin sizes.
documentclass{article}
usepackage{amsmath}
begin{document}
{
scriptsize
begin{multline}
Delta (h)_{T+S} =
prod_{j=1}^{N} left[frac {P(x^j,y^j|theta_{mathrm{paired}})}
{P(x^j,y^j|theta_{mathrm{unpaired}})}right]cdot\
cdotleft[frac{P(bp)_{x^j,y^j}
P(bp_{x^j,y^j}|pbp_{x^{j-1},y^{j+1}}) P(dl_{x^j})
P(dl_{x^j}|pdl_{x^{j-1}})P(dr_{y^j})P(dr_{y^j}|pdr_{y^{j+1}})}{P(sl)
P(dl|sl) P(sr) P(dr|sr)}right]
end{multline}
}
end{document}
New contributor
edited 10 hours ago
New contributor
answered 10 hours ago
gigigigi
745 bronze badges
745 bronze badges
New contributor
New contributor
1
Thanks you so much, this works fine as well.
– Shilpa Janarthanan
10 hours ago
@ShilpaJanarthanan Was my pleasure!
– gigi
10 hours ago
Can you please tell me, how to add cdot in the above code, to show the continuity of the equation?
– Shilpa Janarthanan
10 hours ago
@ShilpaJanarthanan Please check now. Also please don't have whole words in math italic.
– gigi
9 hours ago
add a comment |
1
Thanks you so much, this works fine as well.
– Shilpa Janarthanan
10 hours ago
@ShilpaJanarthanan Was my pleasure!
– gigi
10 hours ago
Can you please tell me, how to add cdot in the above code, to show the continuity of the equation?
– Shilpa Janarthanan
10 hours ago
@ShilpaJanarthanan Please check now. Also please don't have whole words in math italic.
– gigi
9 hours ago
1
1
Thanks you so much, this works fine as well.
– Shilpa Janarthanan
10 hours ago
Thanks you so much, this works fine as well.
– Shilpa Janarthanan
10 hours ago
@ShilpaJanarthanan Was my pleasure!
– gigi
10 hours ago
@ShilpaJanarthanan Was my pleasure!
– gigi
10 hours ago
Can you please tell me, how to add cdot in the above code, to show the continuity of the equation?
– Shilpa Janarthanan
10 hours ago
Can you please tell me, how to add cdot in the above code, to show the continuity of the equation?
– Shilpa Janarthanan
10 hours ago
@ShilpaJanarthanan Please check now. Also please don't have whole words in math italic.
– gigi
9 hours ago
@ShilpaJanarthanan Please check now. Also please don't have whole words in math italic.
– gigi
9 hours ago
add a comment |
Here's a multlined
-based solution. It also uses mid
rather than |
to denote conditioning, and it "snugs up" the subscript terms to dr
.
documentclass{article}
usepackage[a4paper,margin=2.5cm]{geometry} % make suitable page and margin choices
usepackage{mathtools} % for 'multlined' environment
begin{document}
begin{equation}
renewcommand{!}{mkern-2mu} % default: mkern-3mu
begin{multlined}
Delta(h)_{T+S} = prod_{j=1}^{N} biggl[
frac {P(x^j!,y^jmid theta_{mathrm{paired}})}{%
P(x^j!,y^jmid theta_{mathrm{unpaired}})}\
times
frac{P(bp)_{x^j!,y^j}
P(bp_{x^j!,y^j}mid pbp_{x^{j-1}!,y^{j+1}})
P(dl_{x^j}) P(dl_{x^j}mid pdl_{x^{j-1}})
P(dr_{!y^j})P(dr_{!y^j}mid pdr_{!y^{j+1}})}{%
P(sl) P(dlmid sl) P(sr) P(drmid sr)} biggr]
end{multlined}
end{equation}
end{document}
add a comment |
Here's a multlined
-based solution. It also uses mid
rather than |
to denote conditioning, and it "snugs up" the subscript terms to dr
.
documentclass{article}
usepackage[a4paper,margin=2.5cm]{geometry} % make suitable page and margin choices
usepackage{mathtools} % for 'multlined' environment
begin{document}
begin{equation}
renewcommand{!}{mkern-2mu} % default: mkern-3mu
begin{multlined}
Delta(h)_{T+S} = prod_{j=1}^{N} biggl[
frac {P(x^j!,y^jmid theta_{mathrm{paired}})}{%
P(x^j!,y^jmid theta_{mathrm{unpaired}})}\
times
frac{P(bp)_{x^j!,y^j}
P(bp_{x^j!,y^j}mid pbp_{x^{j-1}!,y^{j+1}})
P(dl_{x^j}) P(dl_{x^j}mid pdl_{x^{j-1}})
P(dr_{!y^j})P(dr_{!y^j}mid pdr_{!y^{j+1}})}{%
P(sl) P(dlmid sl) P(sr) P(drmid sr)} biggr]
end{multlined}
end{equation}
end{document}
add a comment |
Here's a multlined
-based solution. It also uses mid
rather than |
to denote conditioning, and it "snugs up" the subscript terms to dr
.
documentclass{article}
usepackage[a4paper,margin=2.5cm]{geometry} % make suitable page and margin choices
usepackage{mathtools} % for 'multlined' environment
begin{document}
begin{equation}
renewcommand{!}{mkern-2mu} % default: mkern-3mu
begin{multlined}
Delta(h)_{T+S} = prod_{j=1}^{N} biggl[
frac {P(x^j!,y^jmid theta_{mathrm{paired}})}{%
P(x^j!,y^jmid theta_{mathrm{unpaired}})}\
times
frac{P(bp)_{x^j!,y^j}
P(bp_{x^j!,y^j}mid pbp_{x^{j-1}!,y^{j+1}})
P(dl_{x^j}) P(dl_{x^j}mid pdl_{x^{j-1}})
P(dr_{!y^j})P(dr_{!y^j}mid pdr_{!y^{j+1}})}{%
P(sl) P(dlmid sl) P(sr) P(drmid sr)} biggr]
end{multlined}
end{equation}
end{document}
Here's a multlined
-based solution. It also uses mid
rather than |
to denote conditioning, and it "snugs up" the subscript terms to dr
.
documentclass{article}
usepackage[a4paper,margin=2.5cm]{geometry} % make suitable page and margin choices
usepackage{mathtools} % for 'multlined' environment
begin{document}
begin{equation}
renewcommand{!}{mkern-2mu} % default: mkern-3mu
begin{multlined}
Delta(h)_{T+S} = prod_{j=1}^{N} biggl[
frac {P(x^j!,y^jmid theta_{mathrm{paired}})}{%
P(x^j!,y^jmid theta_{mathrm{unpaired}})}\
times
frac{P(bp)_{x^j!,y^j}
P(bp_{x^j!,y^j}mid pbp_{x^{j-1}!,y^{j+1}})
P(dl_{x^j}) P(dl_{x^j}mid pdl_{x^{j-1}})
P(dr_{!y^j})P(dr_{!y^j}mid pdr_{!y^{j+1}})}{%
P(sl) P(dlmid sl) P(sr) P(drmid sr)} biggr]
end{multlined}
end{equation}
end{document}
answered 3 hours ago
MicoMico
294k32 gold badges407 silver badges798 bronze badges
294k32 gold badges407 silver badges798 bronze badges
add a comment |
add a comment |
Shilpa Janarthanan is a new contributor. Be nice, and check out our Code of Conduct.
Shilpa Janarthanan is a new contributor. Be nice, and check out our Code of Conduct.
Shilpa Janarthanan is a new contributor. Be nice, and check out our Code of Conduct.
Shilpa Janarthanan is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f496697%2fhow-to-split-an-equation-in-two-lines%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Welcome to TeX.SE.
– Sebastiano
10 hours ago
How wide is the textblock? (Alternatively, please tell us which paper size is employed, and how wide the margins are.)
– Mico
3 hours ago