Perfect positioning of an image on top of text
Out of curiosity, would it be possible to have the following layout in LaTeX?
That is image a top of text with the text automatically stopping on the border of the image. The left and right margin would probably be the same but is it possible to have different left and right margins?

positioning multicol
add a comment |
Out of curiosity, would it be possible to have the following layout in LaTeX?
That is image a top of text with the text automatically stopping on the border of the image. The left and right margin would probably be the same but is it possible to have different left and right margins?

positioning multicol
1
It would be helpful for contributors if you give a minimal working example (MWE) to show how far you progressed to achieve what you need. Hopefully you can use thewrapfigpackage for this.
– Partha D.
6 hours ago
@ParthaD. I was not aware of the wrapfig and according to its documentation it looks it does exactly what I want, hence I suggest that you turn your comment into an answer.
– 永劫回帰
6 hours ago
add a comment |
Out of curiosity, would it be possible to have the following layout in LaTeX?
That is image a top of text with the text automatically stopping on the border of the image. The left and right margin would probably be the same but is it possible to have different left and right margins?

positioning multicol
Out of curiosity, would it be possible to have the following layout in LaTeX?
That is image a top of text with the text automatically stopping on the border of the image. The left and right margin would probably be the same but is it possible to have different left and right margins?

positioning multicol
positioning multicol
edited 6 hours ago
Sebastiano
9,81041858
9,81041858
asked 7 hours ago
永劫回帰永劫回帰
1675
1675
1
It would be helpful for contributors if you give a minimal working example (MWE) to show how far you progressed to achieve what you need. Hopefully you can use thewrapfigpackage for this.
– Partha D.
6 hours ago
@ParthaD. I was not aware of the wrapfig and according to its documentation it looks it does exactly what I want, hence I suggest that you turn your comment into an answer.
– 永劫回帰
6 hours ago
add a comment |
1
It would be helpful for contributors if you give a minimal working example (MWE) to show how far you progressed to achieve what you need. Hopefully you can use thewrapfigpackage for this.
– Partha D.
6 hours ago
@ParthaD. I was not aware of the wrapfig and according to its documentation it looks it does exactly what I want, hence I suggest that you turn your comment into an answer.
– 永劫回帰
6 hours ago
1
1
It would be helpful for contributors if you give a minimal working example (MWE) to show how far you progressed to achieve what you need. Hopefully you can use the
wrapfig package for this.– Partha D.
6 hours ago
It would be helpful for contributors if you give a minimal working example (MWE) to show how far you progressed to achieve what you need. Hopefully you can use the
wrapfig package for this.– Partha D.
6 hours ago
@ParthaD. I was not aware of the wrapfig and according to its documentation it looks it does exactly what I want, hence I suggest that you turn your comment into an answer.
– 永劫回帰
6 hours ago
@ParthaD. I was not aware of the wrapfig and according to its documentation it looks it does exactly what I want, hence I suggest that you turn your comment into an answer.
– 永劫回帰
6 hours ago
add a comment |
1 Answer
1
active
oldest
votes
Based on this perfect answer, using pullquote environment, following code maybe help:
documentclass{article}
usepackage{tikz}
usepackage{lipsum,graphicx}
usepackage[latin]{babel}
usepackage{pullquote}
usetikzlibrary{shapes,backgrounds,calc}
defmygraphic
{%
begin{tikzpicture}
node (0,0) {includegraphics[width=4cm]{example-image-a}};
end{tikzpicture}%
}
begin{document}
begin{pullquote}{shape=rectangular,object=mygraphic}
lipsum[1-4]
end{pullquote}
end{document}

add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f473478%2fperfect-positioning-of-an-image-on-top-of-text%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
Based on this perfect answer, using pullquote environment, following code maybe help:
documentclass{article}
usepackage{tikz}
usepackage{lipsum,graphicx}
usepackage[latin]{babel}
usepackage{pullquote}
usetikzlibrary{shapes,backgrounds,calc}
defmygraphic
{%
begin{tikzpicture}
node (0,0) {includegraphics[width=4cm]{example-image-a}};
end{tikzpicture}%
}
begin{document}
begin{pullquote}{shape=rectangular,object=mygraphic}
lipsum[1-4]
end{pullquote}
end{document}

add a comment |
Based on this perfect answer, using pullquote environment, following code maybe help:
documentclass{article}
usepackage{tikz}
usepackage{lipsum,graphicx}
usepackage[latin]{babel}
usepackage{pullquote}
usetikzlibrary{shapes,backgrounds,calc}
defmygraphic
{%
begin{tikzpicture}
node (0,0) {includegraphics[width=4cm]{example-image-a}};
end{tikzpicture}%
}
begin{document}
begin{pullquote}{shape=rectangular,object=mygraphic}
lipsum[1-4]
end{pullquote}
end{document}

add a comment |
Based on this perfect answer, using pullquote environment, following code maybe help:
documentclass{article}
usepackage{tikz}
usepackage{lipsum,graphicx}
usepackage[latin]{babel}
usepackage{pullquote}
usetikzlibrary{shapes,backgrounds,calc}
defmygraphic
{%
begin{tikzpicture}
node (0,0) {includegraphics[width=4cm]{example-image-a}};
end{tikzpicture}%
}
begin{document}
begin{pullquote}{shape=rectangular,object=mygraphic}
lipsum[1-4]
end{pullquote}
end{document}

Based on this perfect answer, using pullquote environment, following code maybe help:
documentclass{article}
usepackage{tikz}
usepackage{lipsum,graphicx}
usepackage[latin]{babel}
usepackage{pullquote}
usetikzlibrary{shapes,backgrounds,calc}
defmygraphic
{%
begin{tikzpicture}
node (0,0) {includegraphics[width=4cm]{example-image-a}};
end{tikzpicture}%
}
begin{document}
begin{pullquote}{shape=rectangular,object=mygraphic}
lipsum[1-4]
end{pullquote}
end{document}

answered 5 hours ago
ferahfezaferahfeza
5,57911830
5,57911830
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f473478%2fperfect-positioning-of-an-image-on-top-of-text%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
1
It would be helpful for contributors if you give a minimal working example (MWE) to show how far you progressed to achieve what you need. Hopefully you can use the
wrapfigpackage for this.– Partha D.
6 hours ago
@ParthaD. I was not aware of the wrapfig and according to its documentation it looks it does exactly what I want, hence I suggest that you turn your comment into an answer.
– 永劫回帰
6 hours ago