inconsistent Vertical Spacing between equation and text












0















I have some problems in spacing.
I just want to put equations in the text.
What I found is that the vertical spacing between the equation and text is not consistent.
Some is large and some is small. Both spacings above and below equation are not consistent.
How do I get consistent spacing in the entire thesis?
I can adjust spacing using vspace{baselineskip}.
But I am not sure the spacing is exactly the same or not. It doesnt seems good solution.
Here is my code.



documentclass[twoside]{utmthesis}
%According to the new manual, should not mixed single-side with two-side
printing
usepackage{graphicx}
usepackage{url}
%usepackage[pages=some]{background}
usepackage{lipsum}
usepackage{pdflscape}
usepackage{verbatim}
usepackage{textcomp}
usepackage{mhchem}
usepackage{amsmath}
usepackage{listings}
usepackage{graphicx}
usepackage{mwe}
usepackage{xr}
usepackage{siunitx}
usepackage{float}
usepackage{subfig}
newsavebox{bigleftbox}
usepackage{tikz}
usepackage{nameref}
%usepackage[printonlyused]{acronym}
usepackage{romannum}
usetikzlibrary{shapes.geometric, arrows}
usepackage{natbib}
letcitecitep
bibliographystyle{utmthesis-authordate}

begin{document}
subsection{1D numerical modeling of the SI-engine}
vspace{baselineskip}
The numerical models and related equations applied in the 1D engine
simulation are presented and briefly discussed.
subsubsection{Pipe}
vspace{baselineskip}
In one-dimension modeling of flow through the pipes, working fluid is
assumed that it is flowing in one-direction, instead of three direction (X,
Y, and Z). It seems plausible, as most fluid particles are moving mostly in
longitudinal direction rather than radial direction of the pipe. A one-
dimensional pipe flow is described by Euler equation which is given in
conservation form below.

begin{equation} label{Euler}
frac{partial mathbf{U}}{partial t} + frac{partial mathbf{F(U)}}
{partial x}= mathbf{S(U)}
end{equation}

$textbf{U}$ and $textbf{F}$ represent state vector and flux vector,
respectively which are represented as follows.

begin{equation}
mathbf{U}= begin{pmatrix}
rho \
rho cdot u \
rho cdot bar{C_v} cdot T + frac{1}{2} cdot rho cdot u^2 \
rho cdot w_j end{pmatrix},,, , ,,, mathbf{F}= begin{pmatrix}
rho cdot u \
rho cdot u^2 + p \
rho cdot (E+p) \
rho cdot u cdot w_j end{pmatrix}
end{equation}

With total energy, $E$ is given as below.

begin{equation} label{E}
begin{split}
E=rho cdot bar{C_v} cdot T + frac{1}{2} cdot rho cdot u^2
end{split}
end{equation}

The source term, $textbf{S}$ is divided into two different sub-source
terms.

begin{equation} label{S}
mathbf{S(U)}= mathbf{S_A(F(U))} + mathbf{S_R(U)}
end{equation}

$mathbf{S_A}$ is the source term caused by axial changes in the pipe cross
section.

begin{equation} label{Sa}
mathbf{S_A(F(U))}= - frac{1}{A} cdot frac{dA}{dx} cdot left(F +
begin{pmatrix}
0 \
-p \
0 \
0
end{pmatrix} right)
end{equation}

$mathbf{S_R}$ is the source term taking into account homogeneous chemical
reaction, friction, heat and mass transfer between gas and solid phase.

begin{equation} label{Sr}
mathbf{S_R(F(U))}= begin{pmatrix}
0 \
-frac{F_R}{V} \
frac{q_w}{V} \
M W_j cdot left(sumlimits_{i}^{R_{hom}} nu_{i.j} cdot
dot{r_i}right)end{pmatrix}
end{equation}

bibliography{reference}
end{document}


enter image description here










share|improve this question







New contributor




Je Young Kim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Welcome to TeX-SE! Why do you have empty lines before and after the equation environments?

    – marmot
    3 mins ago
















0















I have some problems in spacing.
I just want to put equations in the text.
What I found is that the vertical spacing between the equation and text is not consistent.
Some is large and some is small. Both spacings above and below equation are not consistent.
How do I get consistent spacing in the entire thesis?
I can adjust spacing using vspace{baselineskip}.
But I am not sure the spacing is exactly the same or not. It doesnt seems good solution.
Here is my code.



documentclass[twoside]{utmthesis}
%According to the new manual, should not mixed single-side with two-side
printing
usepackage{graphicx}
usepackage{url}
%usepackage[pages=some]{background}
usepackage{lipsum}
usepackage{pdflscape}
usepackage{verbatim}
usepackage{textcomp}
usepackage{mhchem}
usepackage{amsmath}
usepackage{listings}
usepackage{graphicx}
usepackage{mwe}
usepackage{xr}
usepackage{siunitx}
usepackage{float}
usepackage{subfig}
newsavebox{bigleftbox}
usepackage{tikz}
usepackage{nameref}
%usepackage[printonlyused]{acronym}
usepackage{romannum}
usetikzlibrary{shapes.geometric, arrows}
usepackage{natbib}
letcitecitep
bibliographystyle{utmthesis-authordate}

begin{document}
subsection{1D numerical modeling of the SI-engine}
vspace{baselineskip}
The numerical models and related equations applied in the 1D engine
simulation are presented and briefly discussed.
subsubsection{Pipe}
vspace{baselineskip}
In one-dimension modeling of flow through the pipes, working fluid is
assumed that it is flowing in one-direction, instead of three direction (X,
Y, and Z). It seems plausible, as most fluid particles are moving mostly in
longitudinal direction rather than radial direction of the pipe. A one-
dimensional pipe flow is described by Euler equation which is given in
conservation form below.

begin{equation} label{Euler}
frac{partial mathbf{U}}{partial t} + frac{partial mathbf{F(U)}}
{partial x}= mathbf{S(U)}
end{equation}

$textbf{U}$ and $textbf{F}$ represent state vector and flux vector,
respectively which are represented as follows.

begin{equation}
mathbf{U}= begin{pmatrix}
rho \
rho cdot u \
rho cdot bar{C_v} cdot T + frac{1}{2} cdot rho cdot u^2 \
rho cdot w_j end{pmatrix},,, , ,,, mathbf{F}= begin{pmatrix}
rho cdot u \
rho cdot u^2 + p \
rho cdot (E+p) \
rho cdot u cdot w_j end{pmatrix}
end{equation}

With total energy, $E$ is given as below.

begin{equation} label{E}
begin{split}
E=rho cdot bar{C_v} cdot T + frac{1}{2} cdot rho cdot u^2
end{split}
end{equation}

The source term, $textbf{S}$ is divided into two different sub-source
terms.

begin{equation} label{S}
mathbf{S(U)}= mathbf{S_A(F(U))} + mathbf{S_R(U)}
end{equation}

$mathbf{S_A}$ is the source term caused by axial changes in the pipe cross
section.

begin{equation} label{Sa}
mathbf{S_A(F(U))}= - frac{1}{A} cdot frac{dA}{dx} cdot left(F +
begin{pmatrix}
0 \
-p \
0 \
0
end{pmatrix} right)
end{equation}

$mathbf{S_R}$ is the source term taking into account homogeneous chemical
reaction, friction, heat and mass transfer between gas and solid phase.

begin{equation} label{Sr}
mathbf{S_R(F(U))}= begin{pmatrix}
0 \
-frac{F_R}{V} \
frac{q_w}{V} \
M W_j cdot left(sumlimits_{i}^{R_{hom}} nu_{i.j} cdot
dot{r_i}right)end{pmatrix}
end{equation}

bibliography{reference}
end{document}


enter image description here










share|improve this question







New contributor




Je Young Kim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Welcome to TeX-SE! Why do you have empty lines before and after the equation environments?

    – marmot
    3 mins ago














0












0








0








I have some problems in spacing.
I just want to put equations in the text.
What I found is that the vertical spacing between the equation and text is not consistent.
Some is large and some is small. Both spacings above and below equation are not consistent.
How do I get consistent spacing in the entire thesis?
I can adjust spacing using vspace{baselineskip}.
But I am not sure the spacing is exactly the same or not. It doesnt seems good solution.
Here is my code.



documentclass[twoside]{utmthesis}
%According to the new manual, should not mixed single-side with two-side
printing
usepackage{graphicx}
usepackage{url}
%usepackage[pages=some]{background}
usepackage{lipsum}
usepackage{pdflscape}
usepackage{verbatim}
usepackage{textcomp}
usepackage{mhchem}
usepackage{amsmath}
usepackage{listings}
usepackage{graphicx}
usepackage{mwe}
usepackage{xr}
usepackage{siunitx}
usepackage{float}
usepackage{subfig}
newsavebox{bigleftbox}
usepackage{tikz}
usepackage{nameref}
%usepackage[printonlyused]{acronym}
usepackage{romannum}
usetikzlibrary{shapes.geometric, arrows}
usepackage{natbib}
letcitecitep
bibliographystyle{utmthesis-authordate}

begin{document}
subsection{1D numerical modeling of the SI-engine}
vspace{baselineskip}
The numerical models and related equations applied in the 1D engine
simulation are presented and briefly discussed.
subsubsection{Pipe}
vspace{baselineskip}
In one-dimension modeling of flow through the pipes, working fluid is
assumed that it is flowing in one-direction, instead of three direction (X,
Y, and Z). It seems plausible, as most fluid particles are moving mostly in
longitudinal direction rather than radial direction of the pipe. A one-
dimensional pipe flow is described by Euler equation which is given in
conservation form below.

begin{equation} label{Euler}
frac{partial mathbf{U}}{partial t} + frac{partial mathbf{F(U)}}
{partial x}= mathbf{S(U)}
end{equation}

$textbf{U}$ and $textbf{F}$ represent state vector and flux vector,
respectively which are represented as follows.

begin{equation}
mathbf{U}= begin{pmatrix}
rho \
rho cdot u \
rho cdot bar{C_v} cdot T + frac{1}{2} cdot rho cdot u^2 \
rho cdot w_j end{pmatrix},,, , ,,, mathbf{F}= begin{pmatrix}
rho cdot u \
rho cdot u^2 + p \
rho cdot (E+p) \
rho cdot u cdot w_j end{pmatrix}
end{equation}

With total energy, $E$ is given as below.

begin{equation} label{E}
begin{split}
E=rho cdot bar{C_v} cdot T + frac{1}{2} cdot rho cdot u^2
end{split}
end{equation}

The source term, $textbf{S}$ is divided into two different sub-source
terms.

begin{equation} label{S}
mathbf{S(U)}= mathbf{S_A(F(U))} + mathbf{S_R(U)}
end{equation}

$mathbf{S_A}$ is the source term caused by axial changes in the pipe cross
section.

begin{equation} label{Sa}
mathbf{S_A(F(U))}= - frac{1}{A} cdot frac{dA}{dx} cdot left(F +
begin{pmatrix}
0 \
-p \
0 \
0
end{pmatrix} right)
end{equation}

$mathbf{S_R}$ is the source term taking into account homogeneous chemical
reaction, friction, heat and mass transfer between gas and solid phase.

begin{equation} label{Sr}
mathbf{S_R(F(U))}= begin{pmatrix}
0 \
-frac{F_R}{V} \
frac{q_w}{V} \
M W_j cdot left(sumlimits_{i}^{R_{hom}} nu_{i.j} cdot
dot{r_i}right)end{pmatrix}
end{equation}

bibliography{reference}
end{document}


enter image description here










share|improve this question







New contributor




Je Young Kim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I have some problems in spacing.
I just want to put equations in the text.
What I found is that the vertical spacing between the equation and text is not consistent.
Some is large and some is small. Both spacings above and below equation are not consistent.
How do I get consistent spacing in the entire thesis?
I can adjust spacing using vspace{baselineskip}.
But I am not sure the spacing is exactly the same or not. It doesnt seems good solution.
Here is my code.



documentclass[twoside]{utmthesis}
%According to the new manual, should not mixed single-side with two-side
printing
usepackage{graphicx}
usepackage{url}
%usepackage[pages=some]{background}
usepackage{lipsum}
usepackage{pdflscape}
usepackage{verbatim}
usepackage{textcomp}
usepackage{mhchem}
usepackage{amsmath}
usepackage{listings}
usepackage{graphicx}
usepackage{mwe}
usepackage{xr}
usepackage{siunitx}
usepackage{float}
usepackage{subfig}
newsavebox{bigleftbox}
usepackage{tikz}
usepackage{nameref}
%usepackage[printonlyused]{acronym}
usepackage{romannum}
usetikzlibrary{shapes.geometric, arrows}
usepackage{natbib}
letcitecitep
bibliographystyle{utmthesis-authordate}

begin{document}
subsection{1D numerical modeling of the SI-engine}
vspace{baselineskip}
The numerical models and related equations applied in the 1D engine
simulation are presented and briefly discussed.
subsubsection{Pipe}
vspace{baselineskip}
In one-dimension modeling of flow through the pipes, working fluid is
assumed that it is flowing in one-direction, instead of three direction (X,
Y, and Z). It seems plausible, as most fluid particles are moving mostly in
longitudinal direction rather than radial direction of the pipe. A one-
dimensional pipe flow is described by Euler equation which is given in
conservation form below.

begin{equation} label{Euler}
frac{partial mathbf{U}}{partial t} + frac{partial mathbf{F(U)}}
{partial x}= mathbf{S(U)}
end{equation}

$textbf{U}$ and $textbf{F}$ represent state vector and flux vector,
respectively which are represented as follows.

begin{equation}
mathbf{U}= begin{pmatrix}
rho \
rho cdot u \
rho cdot bar{C_v} cdot T + frac{1}{2} cdot rho cdot u^2 \
rho cdot w_j end{pmatrix},,, , ,,, mathbf{F}= begin{pmatrix}
rho cdot u \
rho cdot u^2 + p \
rho cdot (E+p) \
rho cdot u cdot w_j end{pmatrix}
end{equation}

With total energy, $E$ is given as below.

begin{equation} label{E}
begin{split}
E=rho cdot bar{C_v} cdot T + frac{1}{2} cdot rho cdot u^2
end{split}
end{equation}

The source term, $textbf{S}$ is divided into two different sub-source
terms.

begin{equation} label{S}
mathbf{S(U)}= mathbf{S_A(F(U))} + mathbf{S_R(U)}
end{equation}

$mathbf{S_A}$ is the source term caused by axial changes in the pipe cross
section.

begin{equation} label{Sa}
mathbf{S_A(F(U))}= - frac{1}{A} cdot frac{dA}{dx} cdot left(F +
begin{pmatrix}
0 \
-p \
0 \
0
end{pmatrix} right)
end{equation}

$mathbf{S_R}$ is the source term taking into account homogeneous chemical
reaction, friction, heat and mass transfer between gas and solid phase.

begin{equation} label{Sr}
mathbf{S_R(F(U))}= begin{pmatrix}
0 \
-frac{F_R}{V} \
frac{q_w}{V} \
M W_j cdot left(sumlimits_{i}^{R_{hom}} nu_{i.j} cdot
dot{r_i}right)end{pmatrix}
end{equation}

bibliography{reference}
end{document}


enter image description here







spacing equations amsmath






share|improve this question







New contributor




Je Young Kim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Je Young Kim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Je Young Kim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 12 mins ago









Je Young KimJe Young Kim

11




11




New contributor




Je Young Kim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Je Young Kim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Je Young Kim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Welcome to TeX-SE! Why do you have empty lines before and after the equation environments?

    – marmot
    3 mins ago



















  • Welcome to TeX-SE! Why do you have empty lines before and after the equation environments?

    – marmot
    3 mins ago

















Welcome to TeX-SE! Why do you have empty lines before and after the equation environments?

– marmot
3 mins ago





Welcome to TeX-SE! Why do you have empty lines before and after the equation environments?

– marmot
3 mins ago










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


}
});






Je Young Kim is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482361%2finconsistent-vertical-spacing-between-equation-and-text%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








Je Young Kim is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Je Young Kim is a new contributor. Be nice, and check out our Code of Conduct.













Je Young Kim is a new contributor. Be nice, and check out our Code of Conduct.












Je Young Kim 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482361%2finconsistent-vertical-spacing-between-equation-and-text%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

Contact image not getting when fetch all contact list from iPhone by CNContact

count number of partitions of a set with n elements into k subsets

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks