Make my caption at the middle bottom of the image












0















I would like to make the captions at the middle bottom of the image. This is my code:



newlength{tempdima}
begin{figure}
setlength{tempdima}{2.1cm}% specify height
centering
begin{tabular}{rcc}
includegraphics[height=tempdima]{step1.png} &
includegraphics[height=tempdima]{step2.png} \
& A & textsl{$E_{s}$}\
includegraphics[height=tempdima]{step3.png} &
includegraphics[height=tempdima]{step4.png} \
& textsl{$E_{n}$} & textsl{$E$}\
includegraphics[height=tempdima]{step5.png} &
includegraphics[height=tempdima]{step6.png} \
textsl{$frac{denoise(E_{s})}{denoise(E_{n})}$} &
textsl{$Atimesfrac{denoise(E_{s})}{denoise(E_{n})}$}\
sbox0{}%
end{tabular}
caption{Different stage of the algorithm}
label{fig:fig}
end{figure}


And the result is:
enter image description here



It seems my caption is placed at right of my image. Why?










share|improve this question







New contributor




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





















  • I don't think so, if we speak of the same caption(Fig. 8, &c.)

    – Bernard
    2 hours ago











  • Welcome to TeX.SE! Please -- as usual here .. make your code snippet compilable ...

    – Kurt
    2 hours ago











  • You define three columns {rcc} and then only put content in two from each row, but for the images you put them in the first two and the text is in the last two, with the exception of the final row. Why is that?

    – Herohtar
    2 hours ago


















0















I would like to make the captions at the middle bottom of the image. This is my code:



newlength{tempdima}
begin{figure}
setlength{tempdima}{2.1cm}% specify height
centering
begin{tabular}{rcc}
includegraphics[height=tempdima]{step1.png} &
includegraphics[height=tempdima]{step2.png} \
& A & textsl{$E_{s}$}\
includegraphics[height=tempdima]{step3.png} &
includegraphics[height=tempdima]{step4.png} \
& textsl{$E_{n}$} & textsl{$E$}\
includegraphics[height=tempdima]{step5.png} &
includegraphics[height=tempdima]{step6.png} \
textsl{$frac{denoise(E_{s})}{denoise(E_{n})}$} &
textsl{$Atimesfrac{denoise(E_{s})}{denoise(E_{n})}$}\
sbox0{}%
end{tabular}
caption{Different stage of the algorithm}
label{fig:fig}
end{figure}


And the result is:
enter image description here



It seems my caption is placed at right of my image. Why?










share|improve this question







New contributor




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





















  • I don't think so, if we speak of the same caption(Fig. 8, &c.)

    – Bernard
    2 hours ago











  • Welcome to TeX.SE! Please -- as usual here .. make your code snippet compilable ...

    – Kurt
    2 hours ago











  • You define three columns {rcc} and then only put content in two from each row, but for the images you put them in the first two and the text is in the last two, with the exception of the final row. Why is that?

    – Herohtar
    2 hours ago
















0












0








0








I would like to make the captions at the middle bottom of the image. This is my code:



newlength{tempdima}
begin{figure}
setlength{tempdima}{2.1cm}% specify height
centering
begin{tabular}{rcc}
includegraphics[height=tempdima]{step1.png} &
includegraphics[height=tempdima]{step2.png} \
& A & textsl{$E_{s}$}\
includegraphics[height=tempdima]{step3.png} &
includegraphics[height=tempdima]{step4.png} \
& textsl{$E_{n}$} & textsl{$E$}\
includegraphics[height=tempdima]{step5.png} &
includegraphics[height=tempdima]{step6.png} \
textsl{$frac{denoise(E_{s})}{denoise(E_{n})}$} &
textsl{$Atimesfrac{denoise(E_{s})}{denoise(E_{n})}$}\
sbox0{}%
end{tabular}
caption{Different stage of the algorithm}
label{fig:fig}
end{figure}


And the result is:
enter image description here



It seems my caption is placed at right of my image. Why?










share|improve this question







New contributor




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












I would like to make the captions at the middle bottom of the image. This is my code:



newlength{tempdima}
begin{figure}
setlength{tempdima}{2.1cm}% specify height
centering
begin{tabular}{rcc}
includegraphics[height=tempdima]{step1.png} &
includegraphics[height=tempdima]{step2.png} \
& A & textsl{$E_{s}$}\
includegraphics[height=tempdima]{step3.png} &
includegraphics[height=tempdima]{step4.png} \
& textsl{$E_{n}$} & textsl{$E$}\
includegraphics[height=tempdima]{step5.png} &
includegraphics[height=tempdima]{step6.png} \
textsl{$frac{denoise(E_{s})}{denoise(E_{n})}$} &
textsl{$Atimesfrac{denoise(E_{s})}{denoise(E_{n})}$}\
sbox0{}%
end{tabular}
caption{Different stage of the algorithm}
label{fig:fig}
end{figure}


And the result is:
enter image description here



It seems my caption is placed at right of my image. Why?







graphics






share|improve this question







New contributor




TIANLUN ZHU 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




TIANLUN ZHU 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




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









asked 2 hours ago









TIANLUN ZHUTIANLUN ZHU

82




82




New contributor




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





New contributor





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






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













  • I don't think so, if we speak of the same caption(Fig. 8, &c.)

    – Bernard
    2 hours ago











  • Welcome to TeX.SE! Please -- as usual here .. make your code snippet compilable ...

    – Kurt
    2 hours ago











  • You define three columns {rcc} and then only put content in two from each row, but for the images you put them in the first two and the text is in the last two, with the exception of the final row. Why is that?

    – Herohtar
    2 hours ago





















  • I don't think so, if we speak of the same caption(Fig. 8, &c.)

    – Bernard
    2 hours ago











  • Welcome to TeX.SE! Please -- as usual here .. make your code snippet compilable ...

    – Kurt
    2 hours ago











  • You define three columns {rcc} and then only put content in two from each row, but for the images you put them in the first two and the text is in the last two, with the exception of the final row. Why is that?

    – Herohtar
    2 hours ago



















I don't think so, if we speak of the same caption(Fig. 8, &c.)

– Bernard
2 hours ago





I don't think so, if we speak of the same caption(Fig. 8, &c.)

– Bernard
2 hours ago













Welcome to TeX.SE! Please -- as usual here .. make your code snippet compilable ...

– Kurt
2 hours ago





Welcome to TeX.SE! Please -- as usual here .. make your code snippet compilable ...

– Kurt
2 hours ago













You define three columns {rcc} and then only put content in two from each row, but for the images you put them in the first two and the text is in the last two, with the exception of the final row. Why is that?

– Herohtar
2 hours ago







You define three columns {rcc} and then only put content in two from each row, but for the images you put them in the first two and the text is in the last two, with the exception of the final row. Why is that?

– Herohtar
2 hours ago












1 Answer
1






active

oldest

votes


















0














I'm assuming the captions you are talking about are the A, Es, En, E, and the two formulas.



The problem is, you have defined your tabular environment to have three columns with {rcc} -- a right aligned column, and two center aligned columns. However, you are only using two of those columns in each row, and to make matters worse you are putting the images into the first (right aligned) and second (center aligned) columns, but the letters are in the second and third columns (both center aligned). The exception being the formulas which are in the first two columns.



To get the effect that it looks like you're trying to achieve, you simply need to define only two center aligned columns -- {cc} and remove the extra & from the text rows.






share|improve this answer








New contributor




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





















  • Please -- as usual here -- add an compilable tex code resulting in the solution to make your answer valid ...

    – Kurt
    40 mins ago














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


}
});






TIANLUN ZHU 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%2f482509%2fmake-my-caption-at-the-middle-bottom-of-the-image%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














I'm assuming the captions you are talking about are the A, Es, En, E, and the two formulas.



The problem is, you have defined your tabular environment to have three columns with {rcc} -- a right aligned column, and two center aligned columns. However, you are only using two of those columns in each row, and to make matters worse you are putting the images into the first (right aligned) and second (center aligned) columns, but the letters are in the second and third columns (both center aligned). The exception being the formulas which are in the first two columns.



To get the effect that it looks like you're trying to achieve, you simply need to define only two center aligned columns -- {cc} and remove the extra & from the text rows.






share|improve this answer








New contributor




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





















  • Please -- as usual here -- add an compilable tex code resulting in the solution to make your answer valid ...

    – Kurt
    40 mins ago


















0














I'm assuming the captions you are talking about are the A, Es, En, E, and the two formulas.



The problem is, you have defined your tabular environment to have three columns with {rcc} -- a right aligned column, and two center aligned columns. However, you are only using two of those columns in each row, and to make matters worse you are putting the images into the first (right aligned) and second (center aligned) columns, but the letters are in the second and third columns (both center aligned). The exception being the formulas which are in the first two columns.



To get the effect that it looks like you're trying to achieve, you simply need to define only two center aligned columns -- {cc} and remove the extra & from the text rows.






share|improve this answer








New contributor




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





















  • Please -- as usual here -- add an compilable tex code resulting in the solution to make your answer valid ...

    – Kurt
    40 mins ago
















0












0








0







I'm assuming the captions you are talking about are the A, Es, En, E, and the two formulas.



The problem is, you have defined your tabular environment to have three columns with {rcc} -- a right aligned column, and two center aligned columns. However, you are only using two of those columns in each row, and to make matters worse you are putting the images into the first (right aligned) and second (center aligned) columns, but the letters are in the second and third columns (both center aligned). The exception being the formulas which are in the first two columns.



To get the effect that it looks like you're trying to achieve, you simply need to define only two center aligned columns -- {cc} and remove the extra & from the text rows.






share|improve this answer








New contributor




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










I'm assuming the captions you are talking about are the A, Es, En, E, and the two formulas.



The problem is, you have defined your tabular environment to have three columns with {rcc} -- a right aligned column, and two center aligned columns. However, you are only using two of those columns in each row, and to make matters worse you are putting the images into the first (right aligned) and second (center aligned) columns, but the letters are in the second and third columns (both center aligned). The exception being the formulas which are in the first two columns.



To get the effect that it looks like you're trying to achieve, you simply need to define only two center aligned columns -- {cc} and remove the extra & from the text rows.







share|improve this answer








New contributor




Herohtar 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 answer



share|improve this answer






New contributor




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









answered 2 hours ago









HerohtarHerohtar

1135




1135




New contributor




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





New contributor





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






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













  • Please -- as usual here -- add an compilable tex code resulting in the solution to make your answer valid ...

    – Kurt
    40 mins ago





















  • Please -- as usual here -- add an compilable tex code resulting in the solution to make your answer valid ...

    – Kurt
    40 mins ago



















Please -- as usual here -- add an compilable tex code resulting in the solution to make your answer valid ...

– Kurt
40 mins ago







Please -- as usual here -- add an compilable tex code resulting in the solution to make your answer valid ...

– Kurt
40 mins ago












TIANLUN ZHU is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















TIANLUN ZHU is a new contributor. Be nice, and check out our Code of Conduct.













TIANLUN ZHU is a new contributor. Be nice, and check out our Code of Conduct.












TIANLUN ZHU 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%2f482509%2fmake-my-caption-at-the-middle-bottom-of-the-image%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

Lallio

Unable to find Lightning Node

Futebolista