How to increase the space between two equations written in subequation environment?












0















I have written the attached optimization problem. But, as it can be seen that equations (1c)-(1j) are very close to one another. I want to add a small space between each equation. What is the neatest way to do this?



Thanks a lot!!



documentclass[review,12pt]{elsarticle}
usepackage{array}
usepackage{amsmath}
usepackage{amssymb}
usepackage{setspace}
usepackage{subfigure}
DeclareMathOperator{Tr}{Tr}
DeclareMathOperator{rank}{rank}
DeclareMathOperator{diag}{diag}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{footnote}
makesavenoteenv{tabular}
makesavenoteenv{table}
newcommand{tightermath}{%
setlength{thickmuskip}{.3thickmuskip}
setlength{medmuskip}{.3medmuskip}
setlength{thinmuskip}{.3thinmuskip}}
onehalfspacing
begin{document}
begin{figure}[h]
begin{subequations}
setlengthparindent{0pt}
rule{columnwidth}{1pt}
textbf{M2:} textbf{SDP-based OPF} \
rule[1ex]{columnwidth}{1pt}
vspace*{-1.5baselineskip}
begin{flalign}
mathbf{M2: } underset{Psi}{mathbf{minimize}} f(Psi)&&&
end{flalign}
vspace*{-1.5baselineskip}
begin{flalign}
&mathbf{variable:}hspace{1em}mathbf{W}&\
& hspace{5.7em}P_{g_k}^varphi, Q_{g_k}^varphi hspace{2em}forall varphi in eta_{k}, forall k in N & nonumber
end{flalign}
$mathbf{subject}$ $mathbf{to:}$
begin{flalign}
& Tr(mathbf{Psi}_{k,nw_p}^varphi mathbf{W}) + P_{l_k}^upsilon = 0, hspace{11.7em}forall varphi in eta_k, upsilon in chi_k, k in Nbackslash G label{eq:PBL2}\
& Tr(mathbf{Psi}_{k,nw_q}^varphi mathbf{W}) + Q_{l_k}^upsilon-y_{c_k}^upsilon Tr(mathbf{Psi}_{k,nw_v}^varphimathbf{W}) = 0, hspace{3em}forall varphi in eta_k, upsilon in chi_k, k in Nbackslash G label{eq:QBL2} \
& underline{P}_{g_i} leq Tr(mathbf{Psi}_{i,nw_p}^varphi mathbf{W}) {+} P_{l_i}^upsilon leq overline{P}_{g_i}, hspace{8.8em}forall varphi in eta_i, upsilon in chi_i, i in G label{eq:PBG2}\
& underline{Q}_{g_i} leq Tr(mathbf{Psi}_{i,nw_q}^varphi mathbf{W}) {+} Q_{l_i}^upsilon leq overline{Q}_{g_i}, hspace{8.8em}forall varphi in eta_i, upsilon in chi_i, i in G label{eq:QBG2}\
& (underline{V}_k)^2 leq Tr(mathbf{Psi}_{k,nw_v}^varphi mathbf{W}) leq (overline{V_k})^2, hspace{9.0em}forall varphi in eta_k, k in N^+ label{eq:Vol2} \
& [mathbf{W}]_{eta_0 times eta_0} = mathbf{V}_0 mathbf{V}_0^H \
& mathbf{W} succeq 0, \
& rank(mathbf{W}) = 1 label{rank_con}
end{flalign}
rule[1ex]{columnwidth}{1pt}
end{subequations}
end{figure}
end{document}









share|improve this question


















  • 1





    You would typically add space to the line feed, changing \ to \[8pt] for example

    – Steven B. Segletes
    Feb 22 at 10:55






  • 1





    You're hard-coding every thing to obtain an algorithm, while there are specialized packages for writing algorithms that are easy to use.

    – AboAmmar
    Feb 22 at 10:55
















0















I have written the attached optimization problem. But, as it can be seen that equations (1c)-(1j) are very close to one another. I want to add a small space between each equation. What is the neatest way to do this?



Thanks a lot!!



documentclass[review,12pt]{elsarticle}
usepackage{array}
usepackage{amsmath}
usepackage{amssymb}
usepackage{setspace}
usepackage{subfigure}
DeclareMathOperator{Tr}{Tr}
DeclareMathOperator{rank}{rank}
DeclareMathOperator{diag}{diag}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{footnote}
makesavenoteenv{tabular}
makesavenoteenv{table}
newcommand{tightermath}{%
setlength{thickmuskip}{.3thickmuskip}
setlength{medmuskip}{.3medmuskip}
setlength{thinmuskip}{.3thinmuskip}}
onehalfspacing
begin{document}
begin{figure}[h]
begin{subequations}
setlengthparindent{0pt}
rule{columnwidth}{1pt}
textbf{M2:} textbf{SDP-based OPF} \
rule[1ex]{columnwidth}{1pt}
vspace*{-1.5baselineskip}
begin{flalign}
mathbf{M2: } underset{Psi}{mathbf{minimize}} f(Psi)&&&
end{flalign}
vspace*{-1.5baselineskip}
begin{flalign}
&mathbf{variable:}hspace{1em}mathbf{W}&\
& hspace{5.7em}P_{g_k}^varphi, Q_{g_k}^varphi hspace{2em}forall varphi in eta_{k}, forall k in N & nonumber
end{flalign}
$mathbf{subject}$ $mathbf{to:}$
begin{flalign}
& Tr(mathbf{Psi}_{k,nw_p}^varphi mathbf{W}) + P_{l_k}^upsilon = 0, hspace{11.7em}forall varphi in eta_k, upsilon in chi_k, k in Nbackslash G label{eq:PBL2}\
& Tr(mathbf{Psi}_{k,nw_q}^varphi mathbf{W}) + Q_{l_k}^upsilon-y_{c_k}^upsilon Tr(mathbf{Psi}_{k,nw_v}^varphimathbf{W}) = 0, hspace{3em}forall varphi in eta_k, upsilon in chi_k, k in Nbackslash G label{eq:QBL2} \
& underline{P}_{g_i} leq Tr(mathbf{Psi}_{i,nw_p}^varphi mathbf{W}) {+} P_{l_i}^upsilon leq overline{P}_{g_i}, hspace{8.8em}forall varphi in eta_i, upsilon in chi_i, i in G label{eq:PBG2}\
& underline{Q}_{g_i} leq Tr(mathbf{Psi}_{i,nw_q}^varphi mathbf{W}) {+} Q_{l_i}^upsilon leq overline{Q}_{g_i}, hspace{8.8em}forall varphi in eta_i, upsilon in chi_i, i in G label{eq:QBG2}\
& (underline{V}_k)^2 leq Tr(mathbf{Psi}_{k,nw_v}^varphi mathbf{W}) leq (overline{V_k})^2, hspace{9.0em}forall varphi in eta_k, k in N^+ label{eq:Vol2} \
& [mathbf{W}]_{eta_0 times eta_0} = mathbf{V}_0 mathbf{V}_0^H \
& mathbf{W} succeq 0, \
& rank(mathbf{W}) = 1 label{rank_con}
end{flalign}
rule[1ex]{columnwidth}{1pt}
end{subequations}
end{figure}
end{document}









share|improve this question


















  • 1





    You would typically add space to the line feed, changing \ to \[8pt] for example

    – Steven B. Segletes
    Feb 22 at 10:55






  • 1





    You're hard-coding every thing to obtain an algorithm, while there are specialized packages for writing algorithms that are easy to use.

    – AboAmmar
    Feb 22 at 10:55














0












0








0








I have written the attached optimization problem. But, as it can be seen that equations (1c)-(1j) are very close to one another. I want to add a small space between each equation. What is the neatest way to do this?



Thanks a lot!!



documentclass[review,12pt]{elsarticle}
usepackage{array}
usepackage{amsmath}
usepackage{amssymb}
usepackage{setspace}
usepackage{subfigure}
DeclareMathOperator{Tr}{Tr}
DeclareMathOperator{rank}{rank}
DeclareMathOperator{diag}{diag}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{footnote}
makesavenoteenv{tabular}
makesavenoteenv{table}
newcommand{tightermath}{%
setlength{thickmuskip}{.3thickmuskip}
setlength{medmuskip}{.3medmuskip}
setlength{thinmuskip}{.3thinmuskip}}
onehalfspacing
begin{document}
begin{figure}[h]
begin{subequations}
setlengthparindent{0pt}
rule{columnwidth}{1pt}
textbf{M2:} textbf{SDP-based OPF} \
rule[1ex]{columnwidth}{1pt}
vspace*{-1.5baselineskip}
begin{flalign}
mathbf{M2: } underset{Psi}{mathbf{minimize}} f(Psi)&&&
end{flalign}
vspace*{-1.5baselineskip}
begin{flalign}
&mathbf{variable:}hspace{1em}mathbf{W}&\
& hspace{5.7em}P_{g_k}^varphi, Q_{g_k}^varphi hspace{2em}forall varphi in eta_{k}, forall k in N & nonumber
end{flalign}
$mathbf{subject}$ $mathbf{to:}$
begin{flalign}
& Tr(mathbf{Psi}_{k,nw_p}^varphi mathbf{W}) + P_{l_k}^upsilon = 0, hspace{11.7em}forall varphi in eta_k, upsilon in chi_k, k in Nbackslash G label{eq:PBL2}\
& Tr(mathbf{Psi}_{k,nw_q}^varphi mathbf{W}) + Q_{l_k}^upsilon-y_{c_k}^upsilon Tr(mathbf{Psi}_{k,nw_v}^varphimathbf{W}) = 0, hspace{3em}forall varphi in eta_k, upsilon in chi_k, k in Nbackslash G label{eq:QBL2} \
& underline{P}_{g_i} leq Tr(mathbf{Psi}_{i,nw_p}^varphi mathbf{W}) {+} P_{l_i}^upsilon leq overline{P}_{g_i}, hspace{8.8em}forall varphi in eta_i, upsilon in chi_i, i in G label{eq:PBG2}\
& underline{Q}_{g_i} leq Tr(mathbf{Psi}_{i,nw_q}^varphi mathbf{W}) {+} Q_{l_i}^upsilon leq overline{Q}_{g_i}, hspace{8.8em}forall varphi in eta_i, upsilon in chi_i, i in G label{eq:QBG2}\
& (underline{V}_k)^2 leq Tr(mathbf{Psi}_{k,nw_v}^varphi mathbf{W}) leq (overline{V_k})^2, hspace{9.0em}forall varphi in eta_k, k in N^+ label{eq:Vol2} \
& [mathbf{W}]_{eta_0 times eta_0} = mathbf{V}_0 mathbf{V}_0^H \
& mathbf{W} succeq 0, \
& rank(mathbf{W}) = 1 label{rank_con}
end{flalign}
rule[1ex]{columnwidth}{1pt}
end{subequations}
end{figure}
end{document}









share|improve this question














I have written the attached optimization problem. But, as it can be seen that equations (1c)-(1j) are very close to one another. I want to add a small space between each equation. What is the neatest way to do this?



Thanks a lot!!



documentclass[review,12pt]{elsarticle}
usepackage{array}
usepackage{amsmath}
usepackage{amssymb}
usepackage{setspace}
usepackage{subfigure}
DeclareMathOperator{Tr}{Tr}
DeclareMathOperator{rank}{rank}
DeclareMathOperator{diag}{diag}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{footnote}
makesavenoteenv{tabular}
makesavenoteenv{table}
newcommand{tightermath}{%
setlength{thickmuskip}{.3thickmuskip}
setlength{medmuskip}{.3medmuskip}
setlength{thinmuskip}{.3thinmuskip}}
onehalfspacing
begin{document}
begin{figure}[h]
begin{subequations}
setlengthparindent{0pt}
rule{columnwidth}{1pt}
textbf{M2:} textbf{SDP-based OPF} \
rule[1ex]{columnwidth}{1pt}
vspace*{-1.5baselineskip}
begin{flalign}
mathbf{M2: } underset{Psi}{mathbf{minimize}} f(Psi)&&&
end{flalign}
vspace*{-1.5baselineskip}
begin{flalign}
&mathbf{variable:}hspace{1em}mathbf{W}&\
& hspace{5.7em}P_{g_k}^varphi, Q_{g_k}^varphi hspace{2em}forall varphi in eta_{k}, forall k in N & nonumber
end{flalign}
$mathbf{subject}$ $mathbf{to:}$
begin{flalign}
& Tr(mathbf{Psi}_{k,nw_p}^varphi mathbf{W}) + P_{l_k}^upsilon = 0, hspace{11.7em}forall varphi in eta_k, upsilon in chi_k, k in Nbackslash G label{eq:PBL2}\
& Tr(mathbf{Psi}_{k,nw_q}^varphi mathbf{W}) + Q_{l_k}^upsilon-y_{c_k}^upsilon Tr(mathbf{Psi}_{k,nw_v}^varphimathbf{W}) = 0, hspace{3em}forall varphi in eta_k, upsilon in chi_k, k in Nbackslash G label{eq:QBL2} \
& underline{P}_{g_i} leq Tr(mathbf{Psi}_{i,nw_p}^varphi mathbf{W}) {+} P_{l_i}^upsilon leq overline{P}_{g_i}, hspace{8.8em}forall varphi in eta_i, upsilon in chi_i, i in G label{eq:PBG2}\
& underline{Q}_{g_i} leq Tr(mathbf{Psi}_{i,nw_q}^varphi mathbf{W}) {+} Q_{l_i}^upsilon leq overline{Q}_{g_i}, hspace{8.8em}forall varphi in eta_i, upsilon in chi_i, i in G label{eq:QBG2}\
& (underline{V}_k)^2 leq Tr(mathbf{Psi}_{k,nw_v}^varphi mathbf{W}) leq (overline{V_k})^2, hspace{9.0em}forall varphi in eta_k, k in N^+ label{eq:Vol2} \
& [mathbf{W}]_{eta_0 times eta_0} = mathbf{V}_0 mathbf{V}_0^H \
& mathbf{W} succeq 0, \
& rank(mathbf{W}) = 1 label{rank_con}
end{flalign}
rule[1ex]{columnwidth}{1pt}
end{subequations}
end{figure}
end{document}






equations line-spacing subequations






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 22 at 10:44









Muhammad UsmanMuhammad Usman

464




464








  • 1





    You would typically add space to the line feed, changing \ to \[8pt] for example

    – Steven B. Segletes
    Feb 22 at 10:55






  • 1





    You're hard-coding every thing to obtain an algorithm, while there are specialized packages for writing algorithms that are easy to use.

    – AboAmmar
    Feb 22 at 10:55














  • 1





    You would typically add space to the line feed, changing \ to \[8pt] for example

    – Steven B. Segletes
    Feb 22 at 10:55






  • 1





    You're hard-coding every thing to obtain an algorithm, while there are specialized packages for writing algorithms that are easy to use.

    – AboAmmar
    Feb 22 at 10:55








1




1





You would typically add space to the line feed, changing \ to \[8pt] for example

– Steven B. Segletes
Feb 22 at 10:55





You would typically add space to the line feed, changing \ to \[8pt] for example

– Steven B. Segletes
Feb 22 at 10:55




1




1





You're hard-coding every thing to obtain an algorithm, while there are specialized packages for writing algorithms that are easy to use.

– AboAmmar
Feb 22 at 10:55





You're hard-coding every thing to obtain an algorithm, while there are specialized packages for writing algorithms that are easy to use.

– AboAmmar
Feb 22 at 10:55










0






active

oldest

votes











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f476136%2fhow-to-increase-the-space-between-two-equations-written-in-subequation-environme%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f476136%2fhow-to-increase-the-space-between-two-equations-written-in-subequation-environme%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

How to send String Array data to Server using php in android

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Is anime1.com a legal site for watching anime?