Bind an image and a paragraph together











up vote
2
down vote

favorite












I have multiple blocks of text and each block is associated with an image. I am trying to wrap each image with its associated paragraph individually and so on. I want the next block of text and image to start after previous and not to overlap with each other.
Following is the sample code i've been using. and the respective result.



%Image for First text block
begin{wrapfigure}{r}{0.2textwidth}
includegraphics[width=0.19textwidth]{demo}
end{wrapfigure}
%First Text
entry{Abbreviated}{uh-bree-vee-ey-tid}{Adjective}{Constituting a shorter or smaller version of}
\
%Image for Second text block
begin{wrapfigure}{r}{0.2textwidth}
includegraphics[width=0.19textwidth]{demo}
end{wrapfigure}
%Second Text
entry{Aberration}{ab-uh-rey-shuh n}{Noun}{The act of deviating from the ordinary, usual, or normal type.}


The output i'm getting is,



enter image description here



Whereas i want the second block of text and image to start when first block has ended.



enter image description here



How can i bind the image and text together?










share|improve this question






















  • Welcome to TeX.SE! Please create a full, compilable minimal example including the documentclass and the used packages (e.g., entry in your current code looks like it comes from a package). For the question itself: maybe a tabular (instead of wrapfigure) could help?
    – Marijn
    Dec 4 at 14:29










  • You can use a couple of minipages. You can try parbox, but parbox does not change textwidth.
    – John Kormylo
    Dec 4 at 15:24















up vote
2
down vote

favorite












I have multiple blocks of text and each block is associated with an image. I am trying to wrap each image with its associated paragraph individually and so on. I want the next block of text and image to start after previous and not to overlap with each other.
Following is the sample code i've been using. and the respective result.



%Image for First text block
begin{wrapfigure}{r}{0.2textwidth}
includegraphics[width=0.19textwidth]{demo}
end{wrapfigure}
%First Text
entry{Abbreviated}{uh-bree-vee-ey-tid}{Adjective}{Constituting a shorter or smaller version of}
\
%Image for Second text block
begin{wrapfigure}{r}{0.2textwidth}
includegraphics[width=0.19textwidth]{demo}
end{wrapfigure}
%Second Text
entry{Aberration}{ab-uh-rey-shuh n}{Noun}{The act of deviating from the ordinary, usual, or normal type.}


The output i'm getting is,



enter image description here



Whereas i want the second block of text and image to start when first block has ended.



enter image description here



How can i bind the image and text together?










share|improve this question






















  • Welcome to TeX.SE! Please create a full, compilable minimal example including the documentclass and the used packages (e.g., entry in your current code looks like it comes from a package). For the question itself: maybe a tabular (instead of wrapfigure) could help?
    – Marijn
    Dec 4 at 14:29










  • You can use a couple of minipages. You can try parbox, but parbox does not change textwidth.
    – John Kormylo
    Dec 4 at 15:24













up vote
2
down vote

favorite









up vote
2
down vote

favorite











I have multiple blocks of text and each block is associated with an image. I am trying to wrap each image with its associated paragraph individually and so on. I want the next block of text and image to start after previous and not to overlap with each other.
Following is the sample code i've been using. and the respective result.



%Image for First text block
begin{wrapfigure}{r}{0.2textwidth}
includegraphics[width=0.19textwidth]{demo}
end{wrapfigure}
%First Text
entry{Abbreviated}{uh-bree-vee-ey-tid}{Adjective}{Constituting a shorter or smaller version of}
\
%Image for Second text block
begin{wrapfigure}{r}{0.2textwidth}
includegraphics[width=0.19textwidth]{demo}
end{wrapfigure}
%Second Text
entry{Aberration}{ab-uh-rey-shuh n}{Noun}{The act of deviating from the ordinary, usual, or normal type.}


The output i'm getting is,



enter image description here



Whereas i want the second block of text and image to start when first block has ended.



enter image description here



How can i bind the image and text together?










share|improve this question













I have multiple blocks of text and each block is associated with an image. I am trying to wrap each image with its associated paragraph individually and so on. I want the next block of text and image to start after previous and not to overlap with each other.
Following is the sample code i've been using. and the respective result.



%Image for First text block
begin{wrapfigure}{r}{0.2textwidth}
includegraphics[width=0.19textwidth]{demo}
end{wrapfigure}
%First Text
entry{Abbreviated}{uh-bree-vee-ey-tid}{Adjective}{Constituting a shorter or smaller version of}
\
%Image for Second text block
begin{wrapfigure}{r}{0.2textwidth}
includegraphics[width=0.19textwidth]{demo}
end{wrapfigure}
%Second Text
entry{Aberration}{ab-uh-rey-shuh n}{Noun}{The act of deviating from the ordinary, usual, or normal type.}


The output i'm getting is,



enter image description here



Whereas i want the second block of text and image to start when first block has ended.



enter image description here



How can i bind the image and text together?







graphics wrapfigure block binding






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 4 at 11:30









unkn0wn

1111




1111












  • Welcome to TeX.SE! Please create a full, compilable minimal example including the documentclass and the used packages (e.g., entry in your current code looks like it comes from a package). For the question itself: maybe a tabular (instead of wrapfigure) could help?
    – Marijn
    Dec 4 at 14:29










  • You can use a couple of minipages. You can try parbox, but parbox does not change textwidth.
    – John Kormylo
    Dec 4 at 15:24


















  • Welcome to TeX.SE! Please create a full, compilable minimal example including the documentclass and the used packages (e.g., entry in your current code looks like it comes from a package). For the question itself: maybe a tabular (instead of wrapfigure) could help?
    – Marijn
    Dec 4 at 14:29










  • You can use a couple of minipages. You can try parbox, but parbox does not change textwidth.
    – John Kormylo
    Dec 4 at 15:24
















Welcome to TeX.SE! Please create a full, compilable minimal example including the documentclass and the used packages (e.g., entry in your current code looks like it comes from a package). For the question itself: maybe a tabular (instead of wrapfigure) could help?
– Marijn
Dec 4 at 14:29




Welcome to TeX.SE! Please create a full, compilable minimal example including the documentclass and the used packages (e.g., entry in your current code looks like it comes from a package). For the question itself: maybe a tabular (instead of wrapfigure) could help?
– Marijn
Dec 4 at 14:29












You can use a couple of minipages. You can try parbox, but parbox does not change textwidth.
– John Kormylo
Dec 4 at 15:24




You can use a couple of minipages. You can try parbox, but parbox does not change textwidth.
– John Kormylo
Dec 4 at 15:24















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',
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%2f463128%2fbind-an-image-and-a-paragraph-together%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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%2f463128%2fbind-an-image-and-a-paragraph-together%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 change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?