Controlling position of figures under paragraph [duplicate]
up vote
1
down vote
favorite
This question already has an answer here:
Force figure placement in text
2 answers
I am trying to control the position of the figure. I would like to place it right below the title of paragraph, but it does not work.
When I add a text right below the paragraph, the figure moves below the title as I wish. So I tried some of my ideas such as phantom, vspace and things like that to create invisible spacing. But it did not work that way.
Could you help me fix this issue?
P.S., I would also like to make the text start in the next line, instead of starting in the same line with the paragraph. Linebreaking functions did not work..
paragraph{[2] xxx}
begin{figure}[h!]
centering
includegraphics[width=0.9textwidth]{P2.png}
caption{label{fig:frog}This is a figure caption.}
end{figure}
floats
marked as duplicate by David Carlisle
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Dec 4 at 14:35
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
up vote
1
down vote
favorite
This question already has an answer here:
Force figure placement in text
2 answers
I am trying to control the position of the figure. I would like to place it right below the title of paragraph, but it does not work.
When I add a text right below the paragraph, the figure moves below the title as I wish. So I tried some of my ideas such as phantom, vspace and things like that to create invisible spacing. But it did not work that way.
Could you help me fix this issue?
P.S., I would also like to make the text start in the next line, instead of starting in the same line with the paragraph. Linebreaking functions did not work..
paragraph{[2] xxx}
begin{figure}[h!]
centering
includegraphics[width=0.9textwidth]{P2.png}
caption{label{fig:frog}This is a figure caption.}
end{figure}
floats
marked as duplicate by David Carlisle
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Dec 4 at 14:35
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
the only reason to usefigure
is to take the content out of the main document flow so that is a float that may be re-inserted at a different place to helpwith page breaking.
– David Carlisle
Dec 3 at 0:22
but probably tex.stackexchange.com/questions/8625/…
– David Carlisle
Dec 3 at 0:22
@DavidCarlisle Thank you so much :)
– RyanH
Dec 4 at 13:58
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
This question already has an answer here:
Force figure placement in text
2 answers
I am trying to control the position of the figure. I would like to place it right below the title of paragraph, but it does not work.
When I add a text right below the paragraph, the figure moves below the title as I wish. So I tried some of my ideas such as phantom, vspace and things like that to create invisible spacing. But it did not work that way.
Could you help me fix this issue?
P.S., I would also like to make the text start in the next line, instead of starting in the same line with the paragraph. Linebreaking functions did not work..
paragraph{[2] xxx}
begin{figure}[h!]
centering
includegraphics[width=0.9textwidth]{P2.png}
caption{label{fig:frog}This is a figure caption.}
end{figure}
floats
This question already has an answer here:
Force figure placement in text
2 answers
I am trying to control the position of the figure. I would like to place it right below the title of paragraph, but it does not work.
When I add a text right below the paragraph, the figure moves below the title as I wish. So I tried some of my ideas such as phantom, vspace and things like that to create invisible spacing. But it did not work that way.
Could you help me fix this issue?
P.S., I would also like to make the text start in the next line, instead of starting in the same line with the paragraph. Linebreaking functions did not work..
paragraph{[2] xxx}
begin{figure}[h!]
centering
includegraphics[width=0.9textwidth]{P2.png}
caption{label{fig:frog}This is a figure caption.}
end{figure}
This question already has an answer here:
Force figure placement in text
2 answers
floats
floats
asked Dec 2 at 23:46
RyanH
264
264
marked as duplicate by David Carlisle
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Dec 4 at 14:35
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by David Carlisle
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Dec 4 at 14:35
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
the only reason to usefigure
is to take the content out of the main document flow so that is a float that may be re-inserted at a different place to helpwith page breaking.
– David Carlisle
Dec 3 at 0:22
but probably tex.stackexchange.com/questions/8625/…
– David Carlisle
Dec 3 at 0:22
@DavidCarlisle Thank you so much :)
– RyanH
Dec 4 at 13:58
add a comment |
the only reason to usefigure
is to take the content out of the main document flow so that is a float that may be re-inserted at a different place to helpwith page breaking.
– David Carlisle
Dec 3 at 0:22
but probably tex.stackexchange.com/questions/8625/…
– David Carlisle
Dec 3 at 0:22
@DavidCarlisle Thank you so much :)
– RyanH
Dec 4 at 13:58
the only reason to use
figure
is to take the content out of the main document flow so that is a float that may be re-inserted at a different place to helpwith page breaking.– David Carlisle
Dec 3 at 0:22
the only reason to use
figure
is to take the content out of the main document flow so that is a float that may be re-inserted at a different place to helpwith page breaking.– David Carlisle
Dec 3 at 0:22
but probably tex.stackexchange.com/questions/8625/…
– David Carlisle
Dec 3 at 0:22
but probably tex.stackexchange.com/questions/8625/…
– David Carlisle
Dec 3 at 0:22
@DavidCarlisle Thank you so much :)
– RyanH
Dec 4 at 13:58
@DavidCarlisle Thank you so much :)
– RyanH
Dec 4 at 13:58
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
I used sub-paragraph to make the text start in the next line, instead of starting in the same line with the paragraph.
I have used the following packages and reduced the size of the picture to fit it in the same page. If you are keeping the size same, it still remains below the paragraph but maybe in the following page. Hope my answer helps.
documentclass{article}
usepackage{graphicx}
usepackage{float}
begin{document}
section{Section}
Hello
paragraph{Paragraph}
subparagraph{}
begin{figure}[H]
centering
includegraphics[width=0.7textwidth]{"example3".png}
caption{label{fig:frog}This is a figure caption.}
end{figure}
end{document}
Thank you so much!!
– RyanH
Dec 4 at 13:58
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
I used sub-paragraph to make the text start in the next line, instead of starting in the same line with the paragraph.
I have used the following packages and reduced the size of the picture to fit it in the same page. If you are keeping the size same, it still remains below the paragraph but maybe in the following page. Hope my answer helps.
documentclass{article}
usepackage{graphicx}
usepackage{float}
begin{document}
section{Section}
Hello
paragraph{Paragraph}
subparagraph{}
begin{figure}[H]
centering
includegraphics[width=0.7textwidth]{"example3".png}
caption{label{fig:frog}This is a figure caption.}
end{figure}
end{document}
Thank you so much!!
– RyanH
Dec 4 at 13:58
add a comment |
up vote
1
down vote
I used sub-paragraph to make the text start in the next line, instead of starting in the same line with the paragraph.
I have used the following packages and reduced the size of the picture to fit it in the same page. If you are keeping the size same, it still remains below the paragraph but maybe in the following page. Hope my answer helps.
documentclass{article}
usepackage{graphicx}
usepackage{float}
begin{document}
section{Section}
Hello
paragraph{Paragraph}
subparagraph{}
begin{figure}[H]
centering
includegraphics[width=0.7textwidth]{"example3".png}
caption{label{fig:frog}This is a figure caption.}
end{figure}
end{document}
Thank you so much!!
– RyanH
Dec 4 at 13:58
add a comment |
up vote
1
down vote
up vote
1
down vote
I used sub-paragraph to make the text start in the next line, instead of starting in the same line with the paragraph.
I have used the following packages and reduced the size of the picture to fit it in the same page. If you are keeping the size same, it still remains below the paragraph but maybe in the following page. Hope my answer helps.
documentclass{article}
usepackage{graphicx}
usepackage{float}
begin{document}
section{Section}
Hello
paragraph{Paragraph}
subparagraph{}
begin{figure}[H]
centering
includegraphics[width=0.7textwidth]{"example3".png}
caption{label{fig:frog}This is a figure caption.}
end{figure}
end{document}
I used sub-paragraph to make the text start in the next line, instead of starting in the same line with the paragraph.
I have used the following packages and reduced the size of the picture to fit it in the same page. If you are keeping the size same, it still remains below the paragraph but maybe in the following page. Hope my answer helps.
documentclass{article}
usepackage{graphicx}
usepackage{float}
begin{document}
section{Section}
Hello
paragraph{Paragraph}
subparagraph{}
begin{figure}[H]
centering
includegraphics[width=0.7textwidth]{"example3".png}
caption{label{fig:frog}This is a figure caption.}
end{figure}
end{document}
answered Dec 3 at 1:54
Lily G
512
512
Thank you so much!!
– RyanH
Dec 4 at 13:58
add a comment |
Thank you so much!!
– RyanH
Dec 4 at 13:58
Thank you so much!!
– RyanH
Dec 4 at 13:58
Thank you so much!!
– RyanH
Dec 4 at 13:58
add a comment |
the only reason to use
figure
is to take the content out of the main document flow so that is a float that may be re-inserted at a different place to helpwith page breaking.– David Carlisle
Dec 3 at 0:22
but probably tex.stackexchange.com/questions/8625/…
– David Carlisle
Dec 3 at 0:22
@DavidCarlisle Thank you so much :)
– RyanH
Dec 4 at 13:58