Wrapfigure on top right corner
Hello I am using MikTex in TexStudios. I have this document:
documentclass[paper=letter,fontsize=11pt]{scrartcl} % KOMA-article class
usepackage[english]{babel}
usepackage[utf8x]{inputenc}
usepackage[protrusion=true,expansion=true]{microtype}
usepackage{amsmath,amsfonts,amsthm} % Math packages
usepackage{graphicx} % Enable pdflatex
usepackage[svgnames]{xcolor} % Colors by their 'svgnames'
usepackage{geometry}
usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
usepackage{float}
usepackage{etaremune}
usepackage{wrapfig}
usepackage{layout}
usepackage{multicol}
usepackage{sectsty} % Custom sectioning}{sectsty package)
usepackage[export]{adjustbox}
frenchspacing % Better looking spacings after periods
pagestyle{empty} % No pagenumbers/headers/footers
%addtolength{voffset}{-40pt}
%addtolength{textheight}{20pt}
setlengthtopmargin{0pt}
addtolengthtopmargin{-headheight}
addtolengthtopmargin{-headsep}
setlengthoddsidemargin{0pt}
setlengthtextwidth{paperwidth}
addtolengthtextwidth{-2in}
setlengthtextheight{paperheight}
addtolengthtextheight{-2in}
sectionfont{% % Change font of section command
usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
sectionrule{0pt}{0pt}{-5pt}{3pt}}
%%% Macros
%%% ------------------------------------------------------------
newlength{spacebox}
settowidth{spacebox}{8888888888} % Box to align text
newcommand{sepspace}{vspace*{1em}} % Vertical space macro
newcommand{NewPart}[2]{section*{uppercase{#1} #2}}
%%% Begin Document
%%% ------------------------------------------------------------
begin{document}
begin{wrapfigure}{r}{0.2linewidth}
centering
includegraphics[height=2cm, keepaspectratio=true]{batman.jpg}
end{wrapfigure}
{noindentHugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}}\
Address line 1\
Address line 2\
href{mailto:yoloj@gmail.com}{yolo@gmail.com}\
%sepspace
NewPart{Overview}{}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent volutpat sapien neque, id elementum turpis tincidunt sed. Suspendisse potenti. Quisque malesuada odio sit amet blandit commodo. Sed sed dolor massa. Aliquam erat volutpat. Proin suscipit enim risus, id vehicula risus facilisis ac. Nullam et libero vitae mi viverra tincidunt vitae ac purus. Pellentesque ac justo et augue tincidunt maximus. Morbi velit metus, consectetur ac orci sit amet, gravida suscipit lacus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Curabitur est leo, rutrum eget laoreet at, imperdiet id velit. Phasellus dignissim mi sed lacus porttitor tempor et tempus justo. Aliquam at congue augue. Quisque sed velit ac neque tristique sagittis.
Relocation is NOT a problem.
NewPart{Skills}{}
begin{multicols}{3}
begin{itemize}
item 1
item 2
item 3
item 4
item 5
item 6
item 7
item 8
item 9
item 10
item 11
item 12
item 13
item 14
end{itemize}
end{multicols}
end{document}
I would like the picture to be on the top right side of the paper but within the text margins. The problem is that the wrapfigure offsets all the rules and the text behind it by a lot!
Expected result is:
What I get is:
wrapfigure alignment includegraphics
New contributor
add a comment |
Hello I am using MikTex in TexStudios. I have this document:
documentclass[paper=letter,fontsize=11pt]{scrartcl} % KOMA-article class
usepackage[english]{babel}
usepackage[utf8x]{inputenc}
usepackage[protrusion=true,expansion=true]{microtype}
usepackage{amsmath,amsfonts,amsthm} % Math packages
usepackage{graphicx} % Enable pdflatex
usepackage[svgnames]{xcolor} % Colors by their 'svgnames'
usepackage{geometry}
usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
usepackage{float}
usepackage{etaremune}
usepackage{wrapfig}
usepackage{layout}
usepackage{multicol}
usepackage{sectsty} % Custom sectioning}{sectsty package)
usepackage[export]{adjustbox}
frenchspacing % Better looking spacings after periods
pagestyle{empty} % No pagenumbers/headers/footers
%addtolength{voffset}{-40pt}
%addtolength{textheight}{20pt}
setlengthtopmargin{0pt}
addtolengthtopmargin{-headheight}
addtolengthtopmargin{-headsep}
setlengthoddsidemargin{0pt}
setlengthtextwidth{paperwidth}
addtolengthtextwidth{-2in}
setlengthtextheight{paperheight}
addtolengthtextheight{-2in}
sectionfont{% % Change font of section command
usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
sectionrule{0pt}{0pt}{-5pt}{3pt}}
%%% Macros
%%% ------------------------------------------------------------
newlength{spacebox}
settowidth{spacebox}{8888888888} % Box to align text
newcommand{sepspace}{vspace*{1em}} % Vertical space macro
newcommand{NewPart}[2]{section*{uppercase{#1} #2}}
%%% Begin Document
%%% ------------------------------------------------------------
begin{document}
begin{wrapfigure}{r}{0.2linewidth}
centering
includegraphics[height=2cm, keepaspectratio=true]{batman.jpg}
end{wrapfigure}
{noindentHugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}}\
Address line 1\
Address line 2\
href{mailto:yoloj@gmail.com}{yolo@gmail.com}\
%sepspace
NewPart{Overview}{}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent volutpat sapien neque, id elementum turpis tincidunt sed. Suspendisse potenti. Quisque malesuada odio sit amet blandit commodo. Sed sed dolor massa. Aliquam erat volutpat. Proin suscipit enim risus, id vehicula risus facilisis ac. Nullam et libero vitae mi viverra tincidunt vitae ac purus. Pellentesque ac justo et augue tincidunt maximus. Morbi velit metus, consectetur ac orci sit amet, gravida suscipit lacus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Curabitur est leo, rutrum eget laoreet at, imperdiet id velit. Phasellus dignissim mi sed lacus porttitor tempor et tempus justo. Aliquam at congue augue. Quisque sed velit ac neque tristique sagittis.
Relocation is NOT a problem.
NewPart{Skills}{}
begin{multicols}{3}
begin{itemize}
item 1
item 2
item 3
item 4
item 5
item 6
item 7
item 8
item 9
item 10
item 11
item 12
item 13
item 14
end{itemize}
end{multicols}
end{document}
I would like the picture to be on the top right side of the paper but within the text margins. The problem is that the wrapfigure offsets all the rules and the text behind it by a lot!
Expected result is:
What I get is:
wrapfigure alignment includegraphics
New contributor
2
Why are you even using wrapfigure for this? Does it extend intooverview
? If not just place it absolutely on the page or put bruce wayne in one minipage box and the inage in another. See also theadjustbox
package.
– daleif
2 days ago
mmm I don't know what an overview is. So you are suggesting to use minipage? Will I have to do some amendments to my doc apart from adding the minipage?
– Alakanu
2 days ago
You have a section named "Overview" in your example.....
– daleif
2 days ago
ah sorry, the lower case and the grey highlight made me think it was a LaTex concept. It should not extend into overview, that's the problem.
– Alakanu
2 days ago
add a comment |
Hello I am using MikTex in TexStudios. I have this document:
documentclass[paper=letter,fontsize=11pt]{scrartcl} % KOMA-article class
usepackage[english]{babel}
usepackage[utf8x]{inputenc}
usepackage[protrusion=true,expansion=true]{microtype}
usepackage{amsmath,amsfonts,amsthm} % Math packages
usepackage{graphicx} % Enable pdflatex
usepackage[svgnames]{xcolor} % Colors by their 'svgnames'
usepackage{geometry}
usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
usepackage{float}
usepackage{etaremune}
usepackage{wrapfig}
usepackage{layout}
usepackage{multicol}
usepackage{sectsty} % Custom sectioning}{sectsty package)
usepackage[export]{adjustbox}
frenchspacing % Better looking spacings after periods
pagestyle{empty} % No pagenumbers/headers/footers
%addtolength{voffset}{-40pt}
%addtolength{textheight}{20pt}
setlengthtopmargin{0pt}
addtolengthtopmargin{-headheight}
addtolengthtopmargin{-headsep}
setlengthoddsidemargin{0pt}
setlengthtextwidth{paperwidth}
addtolengthtextwidth{-2in}
setlengthtextheight{paperheight}
addtolengthtextheight{-2in}
sectionfont{% % Change font of section command
usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
sectionrule{0pt}{0pt}{-5pt}{3pt}}
%%% Macros
%%% ------------------------------------------------------------
newlength{spacebox}
settowidth{spacebox}{8888888888} % Box to align text
newcommand{sepspace}{vspace*{1em}} % Vertical space macro
newcommand{NewPart}[2]{section*{uppercase{#1} #2}}
%%% Begin Document
%%% ------------------------------------------------------------
begin{document}
begin{wrapfigure}{r}{0.2linewidth}
centering
includegraphics[height=2cm, keepaspectratio=true]{batman.jpg}
end{wrapfigure}
{noindentHugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}}\
Address line 1\
Address line 2\
href{mailto:yoloj@gmail.com}{yolo@gmail.com}\
%sepspace
NewPart{Overview}{}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent volutpat sapien neque, id elementum turpis tincidunt sed. Suspendisse potenti. Quisque malesuada odio sit amet blandit commodo. Sed sed dolor massa. Aliquam erat volutpat. Proin suscipit enim risus, id vehicula risus facilisis ac. Nullam et libero vitae mi viverra tincidunt vitae ac purus. Pellentesque ac justo et augue tincidunt maximus. Morbi velit metus, consectetur ac orci sit amet, gravida suscipit lacus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Curabitur est leo, rutrum eget laoreet at, imperdiet id velit. Phasellus dignissim mi sed lacus porttitor tempor et tempus justo. Aliquam at congue augue. Quisque sed velit ac neque tristique sagittis.
Relocation is NOT a problem.
NewPart{Skills}{}
begin{multicols}{3}
begin{itemize}
item 1
item 2
item 3
item 4
item 5
item 6
item 7
item 8
item 9
item 10
item 11
item 12
item 13
item 14
end{itemize}
end{multicols}
end{document}
I would like the picture to be on the top right side of the paper but within the text margins. The problem is that the wrapfigure offsets all the rules and the text behind it by a lot!
Expected result is:
What I get is:
wrapfigure alignment includegraphics
New contributor
Hello I am using MikTex in TexStudios. I have this document:
documentclass[paper=letter,fontsize=11pt]{scrartcl} % KOMA-article class
usepackage[english]{babel}
usepackage[utf8x]{inputenc}
usepackage[protrusion=true,expansion=true]{microtype}
usepackage{amsmath,amsfonts,amsthm} % Math packages
usepackage{graphicx} % Enable pdflatex
usepackage[svgnames]{xcolor} % Colors by their 'svgnames'
usepackage{geometry}
usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
usepackage{float}
usepackage{etaremune}
usepackage{wrapfig}
usepackage{layout}
usepackage{multicol}
usepackage{sectsty} % Custom sectioning}{sectsty package)
usepackage[export]{adjustbox}
frenchspacing % Better looking spacings after periods
pagestyle{empty} % No pagenumbers/headers/footers
%addtolength{voffset}{-40pt}
%addtolength{textheight}{20pt}
setlengthtopmargin{0pt}
addtolengthtopmargin{-headheight}
addtolengthtopmargin{-headsep}
setlengthoddsidemargin{0pt}
setlengthtextwidth{paperwidth}
addtolengthtextwidth{-2in}
setlengthtextheight{paperheight}
addtolengthtextheight{-2in}
sectionfont{% % Change font of section command
usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
sectionrule{0pt}{0pt}{-5pt}{3pt}}
%%% Macros
%%% ------------------------------------------------------------
newlength{spacebox}
settowidth{spacebox}{8888888888} % Box to align text
newcommand{sepspace}{vspace*{1em}} % Vertical space macro
newcommand{NewPart}[2]{section*{uppercase{#1} #2}}
%%% Begin Document
%%% ------------------------------------------------------------
begin{document}
begin{wrapfigure}{r}{0.2linewidth}
centering
includegraphics[height=2cm, keepaspectratio=true]{batman.jpg}
end{wrapfigure}
{noindentHugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}}\
Address line 1\
Address line 2\
href{mailto:yoloj@gmail.com}{yolo@gmail.com}\
%sepspace
NewPart{Overview}{}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent volutpat sapien neque, id elementum turpis tincidunt sed. Suspendisse potenti. Quisque malesuada odio sit amet blandit commodo. Sed sed dolor massa. Aliquam erat volutpat. Proin suscipit enim risus, id vehicula risus facilisis ac. Nullam et libero vitae mi viverra tincidunt vitae ac purus. Pellentesque ac justo et augue tincidunt maximus. Morbi velit metus, consectetur ac orci sit amet, gravida suscipit lacus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Curabitur est leo, rutrum eget laoreet at, imperdiet id velit. Phasellus dignissim mi sed lacus porttitor tempor et tempus justo. Aliquam at congue augue. Quisque sed velit ac neque tristique sagittis.
Relocation is NOT a problem.
NewPart{Skills}{}
begin{multicols}{3}
begin{itemize}
item 1
item 2
item 3
item 4
item 5
item 6
item 7
item 8
item 9
item 10
item 11
item 12
item 13
item 14
end{itemize}
end{multicols}
end{document}
I would like the picture to be on the top right side of the paper but within the text margins. The problem is that the wrapfigure offsets all the rules and the text behind it by a lot!
Expected result is:
What I get is:
wrapfigure alignment includegraphics
wrapfigure alignment includegraphics
New contributor
New contributor
edited 2 days ago
Martin Scharrer♦
200k45636818
200k45636818
New contributor
asked 2 days ago
AlakanuAlakanu
1134
1134
New contributor
New contributor
2
Why are you even using wrapfigure for this? Does it extend intooverview
? If not just place it absolutely on the page or put bruce wayne in one minipage box and the inage in another. See also theadjustbox
package.
– daleif
2 days ago
mmm I don't know what an overview is. So you are suggesting to use minipage? Will I have to do some amendments to my doc apart from adding the minipage?
– Alakanu
2 days ago
You have a section named "Overview" in your example.....
– daleif
2 days ago
ah sorry, the lower case and the grey highlight made me think it was a LaTex concept. It should not extend into overview, that's the problem.
– Alakanu
2 days ago
add a comment |
2
Why are you even using wrapfigure for this? Does it extend intooverview
? If not just place it absolutely on the page or put bruce wayne in one minipage box and the inage in another. See also theadjustbox
package.
– daleif
2 days ago
mmm I don't know what an overview is. So you are suggesting to use minipage? Will I have to do some amendments to my doc apart from adding the minipage?
– Alakanu
2 days ago
You have a section named "Overview" in your example.....
– daleif
2 days ago
ah sorry, the lower case and the grey highlight made me think it was a LaTex concept. It should not extend into overview, that's the problem.
– Alakanu
2 days ago
2
2
Why are you even using wrapfigure for this? Does it extend into
overview
? If not just place it absolutely on the page or put bruce wayne in one minipage box and the inage in another. See also the adjustbox
package.– daleif
2 days ago
Why are you even using wrapfigure for this? Does it extend into
overview
? If not just place it absolutely on the page or put bruce wayne in one minipage box and the inage in another. See also the adjustbox
package.– daleif
2 days ago
mmm I don't know what an overview is. So you are suggesting to use minipage? Will I have to do some amendments to my doc apart from adding the minipage?
– Alakanu
2 days ago
mmm I don't know what an overview is. So you are suggesting to use minipage? Will I have to do some amendments to my doc apart from adding the minipage?
– Alakanu
2 days ago
You have a section named "Overview" in your example.....
– daleif
2 days ago
You have a section named "Overview" in your example.....
– daleif
2 days ago
ah sorry, the lower case and the grey highlight made me think it was a LaTex concept. It should not extend into overview, that's the problem.
– Alakanu
2 days ago
ah sorry, the lower case and the grey highlight made me think it was a LaTex concept. It should not extend into overview, that's the problem.
– Alakanu
2 days ago
add a comment |
2 Answers
2
active
oldest
votes
Don't use wrapfigure
here as it is for running text, i.e. paragraphs, not for broken lines like this. You can fit in the image using adjustbox
, which you load anyway. Just add a hfill
after the name to push the image to the right, then align the image using adjustbox
keys vertically and/or horizontally and remove its official height and depth so that the image size is no longer taken into account for the line height etc.
Just replace the first lines with:
begin{document}
{noindentHugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}%
hfilladjustimage{height=2cm,valign=t,set height={0pt},set depth={0pt}}{example-image}%
}\
I'm using adjustimage
here instead of includegraphics
, it however uses the same internals, but allows for better adjustbox
integration. valign=t
makes the vertical alignment according to the size of the name ("Bruce Wayne" here) and the set ..
keys are for reducing its official size. If you need to have some white margin around use the margin
key or maybe center=<some width, not to wide>
, or left=...
or right=...
. See the adjustbox
manual for a detailed description on these keys.
I replaced you Batman sign with a standard example image, to make the document compileable for me.
Hi, thanks for the answer.
– Alakanu
2 days ago
add a comment |
wrapfig
is not the right tool.
documentclass[paper=letter,fontsize=11pt]{scrartcl} % KOMA-article class
usepackage[english]{babel}
usepackage[utf8x]{inputenc}
usepackage[protrusion=true,expansion=true]{microtype}
usepackage{amsmath,amsfonts,amsthm} % Math packages
usepackage{graphicx} % Enable pdflatex
usepackage[svgnames]{xcolor} % Colors by their 'svgnames'
usepackage{geometry}
usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
usepackage{float}
usepackage{etaremune}
usepackage{layout}
usepackage{multicol}
usepackage{sectsty} % Custom sectioning}{sectsty package)
usepackage[export]{adjustbox}
frenchspacing % Better looking spacings after periods
pagestyle{empty} % No pagenumbers/headers/footers
%addtolength{voffset}{-40pt}
%addtolength{textheight}{20pt}
setlengthtopmargin{0pt}
addtolengthtopmargin{-headheight}
addtolengthtopmargin{-headsep}
setlengthoddsidemargin{0pt}
setlengthtextwidth{paperwidth}
addtolengthtextwidth{-2in}
setlengthtextheight{paperheight}
addtolengthtextheight{-2in}
sectionfont{% % Change font of section command
usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
sectionrule{0pt}{0pt}{-5pt}{3pt}}
%%% Macros
%%% ------------------------------------------------------------
newlength{spacebox}
settowidth{spacebox}{8888888888} % Box to align text
newcommand{sepspace}{vspace*{1em}} % Vertical space macro
newcommand{NewPart}[2]{section*{uppercase{#1} #2}}
%%% Begin Document
%%% ------------------------------------------------------------
begin{document}
noindent
begin{minipage}{textwidth}
raggedright
{Hugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}\}
Address line 1\
Address line 2\
href{mailto:yoloj@gmail.com}{yolo@gmail.com}
end{minipage}%
makebox[0pt][r]{raisebox{-0.5height}{includegraphics[height=2cm]{example-image}}}
%sepspace
NewPart{Overview}{}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent volutpat sapien neque, id elementum turpis tincidunt sed. Suspendisse potenti. Quisque malesuada odio sit amet blandit commodo. Sed sed dolor massa. Aliquam erat volutpat. Proin suscipit enim risus, id vehicula risus facilisis ac. Nullam et libero vitae mi viverra tincidunt vitae ac purus. Pellentesque ac justo et augue tincidunt maximus. Morbi velit metus, consectetur ac orci sit amet, gravida suscipit lacus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Curabitur est leo, rutrum eget laoreet at, imperdiet id velit. Phasellus dignissim mi sed lacus porttitor tempor et tempus justo. Aliquam at congue augue. Quisque sed velit ac neque tristique sagittis.
Relocation is NOT a problem.
NewPart{Skills}{}
begin{multicols}{3}
begin{itemize}
item 1
item 2
item 3
item 4
item 5
item 6
item 7
item 8
item 9
item 10
item 11
item 12
item 13
item 14
end{itemize}
end{multicols}
end{document}
Some notes:
utf8x
has been unmaintained for several years; useutf8
- loading
geometry
and then doing all page setup by hand doesn't seem efficient
sectsty
andscrartcl
don't go along well
An edited version:
documentclass[letterpaper,11pt]{article} % KOMA-article class
usepackage[english]{babel}
usepackage[protrusion=true,expansion=true]{microtype}
usepackage{amsmath,amsfonts,amsthm} % Math packages
usepackage{graphicx} % Enable pdflatex
usepackage[svgnames]{xcolor} % Colors by their 'svgnames'
usepackage{geometry}
usepackage{float}
usepackage{etaremune}
usepackage{layout}
usepackage{multicol}
usepackage{sectsty} % Custom sectioning}{sectsty package)
usepackage[export]{adjustbox}
usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
frenchspacing % Better looking spacings after periods
pagestyle{empty} % No pagenumbers/headers/footers
geometry{margin=1in,headheight=0pt,headsep=0pt}
sectionfont{% % Change font of section command
usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
sectionrule{0pt}{0pt}{-5pt}{3pt}}
%%% Macros
%%% ------------------------------------------------------------
newlength{spacebox}
settowidth{spacebox}{8888888888} % Box to align text
newcommand{sepspace}{vspace*{1em}} % Vertical space macro
newcommand{NewPart}[2]{section*{uppercase{#1} #2}}
%%% Begin Document
%%% ------------------------------------------------------------
begin{document}
noindent
begin{minipage}{textwidth}
raggedright
{Hugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}\}
Address line 1\
Address line 2\
href{mailto:yoloj@gmail.com}{yolo@gmail.com}
end{minipage}%
makebox[0pt][r]{includegraphics[height=2cm,valign=c]{example-image}}
%sepspace
NewPart{Overview}{}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent volutpat sapien neque, id elementum turpis tincidunt sed. Suspendisse potenti. Quisque malesuada odio sit amet blandit commodo. Sed sed dolor massa. Aliquam erat volutpat. Proin suscipit enim risus, id vehicula risus facilisis ac. Nullam et libero vitae mi viverra tincidunt vitae ac purus. Pellentesque ac justo et augue tincidunt maximus. Morbi velit metus, consectetur ac orci sit amet, gravida suscipit lacus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Curabitur est leo, rutrum eget laoreet at, imperdiet id velit. Phasellus dignissim mi sed lacus porttitor tempor et tempus justo. Aliquam at congue augue. Quisque sed velit ac neque tristique sagittis.
Relocation is NOT a problem.
NewPart{Skills}{}
begin{multicols}{3}
begin{itemize}
item 1
item 2
item 3
item 4
item 5
item 6
item 7
item 8
item 9
item 10
item 11
item 12
item 13
item 14
end{itemize}
end{multicols}
end{document}
Hi, thanks for the answer and the tips.
– Alakanu
2 days ago
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
});
}
});
Alakanu is a new contributor. Be nice, and check out our Code of Conduct.
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%2f470372%2fwrapfigure-on-top-right-corner%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Don't use wrapfigure
here as it is for running text, i.e. paragraphs, not for broken lines like this. You can fit in the image using adjustbox
, which you load anyway. Just add a hfill
after the name to push the image to the right, then align the image using adjustbox
keys vertically and/or horizontally and remove its official height and depth so that the image size is no longer taken into account for the line height etc.
Just replace the first lines with:
begin{document}
{noindentHugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}%
hfilladjustimage{height=2cm,valign=t,set height={0pt},set depth={0pt}}{example-image}%
}\
I'm using adjustimage
here instead of includegraphics
, it however uses the same internals, but allows for better adjustbox
integration. valign=t
makes the vertical alignment according to the size of the name ("Bruce Wayne" here) and the set ..
keys are for reducing its official size. If you need to have some white margin around use the margin
key or maybe center=<some width, not to wide>
, or left=...
or right=...
. See the adjustbox
manual for a detailed description on these keys.
I replaced you Batman sign with a standard example image, to make the document compileable for me.
Hi, thanks for the answer.
– Alakanu
2 days ago
add a comment |
Don't use wrapfigure
here as it is for running text, i.e. paragraphs, not for broken lines like this. You can fit in the image using adjustbox
, which you load anyway. Just add a hfill
after the name to push the image to the right, then align the image using adjustbox
keys vertically and/or horizontally and remove its official height and depth so that the image size is no longer taken into account for the line height etc.
Just replace the first lines with:
begin{document}
{noindentHugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}%
hfilladjustimage{height=2cm,valign=t,set height={0pt},set depth={0pt}}{example-image}%
}\
I'm using adjustimage
here instead of includegraphics
, it however uses the same internals, but allows for better adjustbox
integration. valign=t
makes the vertical alignment according to the size of the name ("Bruce Wayne" here) and the set ..
keys are for reducing its official size. If you need to have some white margin around use the margin
key or maybe center=<some width, not to wide>
, or left=...
or right=...
. See the adjustbox
manual for a detailed description on these keys.
I replaced you Batman sign with a standard example image, to make the document compileable for me.
Hi, thanks for the answer.
– Alakanu
2 days ago
add a comment |
Don't use wrapfigure
here as it is for running text, i.e. paragraphs, not for broken lines like this. You can fit in the image using adjustbox
, which you load anyway. Just add a hfill
after the name to push the image to the right, then align the image using adjustbox
keys vertically and/or horizontally and remove its official height and depth so that the image size is no longer taken into account for the line height etc.
Just replace the first lines with:
begin{document}
{noindentHugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}%
hfilladjustimage{height=2cm,valign=t,set height={0pt},set depth={0pt}}{example-image}%
}\
I'm using adjustimage
here instead of includegraphics
, it however uses the same internals, but allows for better adjustbox
integration. valign=t
makes the vertical alignment according to the size of the name ("Bruce Wayne" here) and the set ..
keys are for reducing its official size. If you need to have some white margin around use the margin
key or maybe center=<some width, not to wide>
, or left=...
or right=...
. See the adjustbox
manual for a detailed description on these keys.
I replaced you Batman sign with a standard example image, to make the document compileable for me.
Don't use wrapfigure
here as it is for running text, i.e. paragraphs, not for broken lines like this. You can fit in the image using adjustbox
, which you load anyway. Just add a hfill
after the name to push the image to the right, then align the image using adjustbox
keys vertically and/or horizontally and remove its official height and depth so that the image size is no longer taken into account for the line height etc.
Just replace the first lines with:
begin{document}
{noindentHugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}%
hfilladjustimage{height=2cm,valign=t,set height={0pt},set depth={0pt}}{example-image}%
}\
I'm using adjustimage
here instead of includegraphics
, it however uses the same internals, but allows for better adjustbox
integration. valign=t
makes the vertical alignment according to the size of the name ("Bruce Wayne" here) and the set ..
keys are for reducing its official size. If you need to have some white margin around use the margin
key or maybe center=<some width, not to wide>
, or left=...
or right=...
. See the adjustbox
manual for a detailed description on these keys.
I replaced you Batman sign with a standard example image, to make the document compileable for me.
answered 2 days ago
Martin Scharrer♦Martin Scharrer
200k45636818
200k45636818
Hi, thanks for the answer.
– Alakanu
2 days ago
add a comment |
Hi, thanks for the answer.
– Alakanu
2 days ago
Hi, thanks for the answer.
– Alakanu
2 days ago
Hi, thanks for the answer.
– Alakanu
2 days ago
add a comment |
wrapfig
is not the right tool.
documentclass[paper=letter,fontsize=11pt]{scrartcl} % KOMA-article class
usepackage[english]{babel}
usepackage[utf8x]{inputenc}
usepackage[protrusion=true,expansion=true]{microtype}
usepackage{amsmath,amsfonts,amsthm} % Math packages
usepackage{graphicx} % Enable pdflatex
usepackage[svgnames]{xcolor} % Colors by their 'svgnames'
usepackage{geometry}
usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
usepackage{float}
usepackage{etaremune}
usepackage{layout}
usepackage{multicol}
usepackage{sectsty} % Custom sectioning}{sectsty package)
usepackage[export]{adjustbox}
frenchspacing % Better looking spacings after periods
pagestyle{empty} % No pagenumbers/headers/footers
%addtolength{voffset}{-40pt}
%addtolength{textheight}{20pt}
setlengthtopmargin{0pt}
addtolengthtopmargin{-headheight}
addtolengthtopmargin{-headsep}
setlengthoddsidemargin{0pt}
setlengthtextwidth{paperwidth}
addtolengthtextwidth{-2in}
setlengthtextheight{paperheight}
addtolengthtextheight{-2in}
sectionfont{% % Change font of section command
usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
sectionrule{0pt}{0pt}{-5pt}{3pt}}
%%% Macros
%%% ------------------------------------------------------------
newlength{spacebox}
settowidth{spacebox}{8888888888} % Box to align text
newcommand{sepspace}{vspace*{1em}} % Vertical space macro
newcommand{NewPart}[2]{section*{uppercase{#1} #2}}
%%% Begin Document
%%% ------------------------------------------------------------
begin{document}
noindent
begin{minipage}{textwidth}
raggedright
{Hugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}\}
Address line 1\
Address line 2\
href{mailto:yoloj@gmail.com}{yolo@gmail.com}
end{minipage}%
makebox[0pt][r]{raisebox{-0.5height}{includegraphics[height=2cm]{example-image}}}
%sepspace
NewPart{Overview}{}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent volutpat sapien neque, id elementum turpis tincidunt sed. Suspendisse potenti. Quisque malesuada odio sit amet blandit commodo. Sed sed dolor massa. Aliquam erat volutpat. Proin suscipit enim risus, id vehicula risus facilisis ac. Nullam et libero vitae mi viverra tincidunt vitae ac purus. Pellentesque ac justo et augue tincidunt maximus. Morbi velit metus, consectetur ac orci sit amet, gravida suscipit lacus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Curabitur est leo, rutrum eget laoreet at, imperdiet id velit. Phasellus dignissim mi sed lacus porttitor tempor et tempus justo. Aliquam at congue augue. Quisque sed velit ac neque tristique sagittis.
Relocation is NOT a problem.
NewPart{Skills}{}
begin{multicols}{3}
begin{itemize}
item 1
item 2
item 3
item 4
item 5
item 6
item 7
item 8
item 9
item 10
item 11
item 12
item 13
item 14
end{itemize}
end{multicols}
end{document}
Some notes:
utf8x
has been unmaintained for several years; useutf8
- loading
geometry
and then doing all page setup by hand doesn't seem efficient
sectsty
andscrartcl
don't go along well
An edited version:
documentclass[letterpaper,11pt]{article} % KOMA-article class
usepackage[english]{babel}
usepackage[protrusion=true,expansion=true]{microtype}
usepackage{amsmath,amsfonts,amsthm} % Math packages
usepackage{graphicx} % Enable pdflatex
usepackage[svgnames]{xcolor} % Colors by their 'svgnames'
usepackage{geometry}
usepackage{float}
usepackage{etaremune}
usepackage{layout}
usepackage{multicol}
usepackage{sectsty} % Custom sectioning}{sectsty package)
usepackage[export]{adjustbox}
usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
frenchspacing % Better looking spacings after periods
pagestyle{empty} % No pagenumbers/headers/footers
geometry{margin=1in,headheight=0pt,headsep=0pt}
sectionfont{% % Change font of section command
usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
sectionrule{0pt}{0pt}{-5pt}{3pt}}
%%% Macros
%%% ------------------------------------------------------------
newlength{spacebox}
settowidth{spacebox}{8888888888} % Box to align text
newcommand{sepspace}{vspace*{1em}} % Vertical space macro
newcommand{NewPart}[2]{section*{uppercase{#1} #2}}
%%% Begin Document
%%% ------------------------------------------------------------
begin{document}
noindent
begin{minipage}{textwidth}
raggedright
{Hugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}\}
Address line 1\
Address line 2\
href{mailto:yoloj@gmail.com}{yolo@gmail.com}
end{minipage}%
makebox[0pt][r]{includegraphics[height=2cm,valign=c]{example-image}}
%sepspace
NewPart{Overview}{}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent volutpat sapien neque, id elementum turpis tincidunt sed. Suspendisse potenti. Quisque malesuada odio sit amet blandit commodo. Sed sed dolor massa. Aliquam erat volutpat. Proin suscipit enim risus, id vehicula risus facilisis ac. Nullam et libero vitae mi viverra tincidunt vitae ac purus. Pellentesque ac justo et augue tincidunt maximus. Morbi velit metus, consectetur ac orci sit amet, gravida suscipit lacus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Curabitur est leo, rutrum eget laoreet at, imperdiet id velit. Phasellus dignissim mi sed lacus porttitor tempor et tempus justo. Aliquam at congue augue. Quisque sed velit ac neque tristique sagittis.
Relocation is NOT a problem.
NewPart{Skills}{}
begin{multicols}{3}
begin{itemize}
item 1
item 2
item 3
item 4
item 5
item 6
item 7
item 8
item 9
item 10
item 11
item 12
item 13
item 14
end{itemize}
end{multicols}
end{document}
Hi, thanks for the answer and the tips.
– Alakanu
2 days ago
add a comment |
wrapfig
is not the right tool.
documentclass[paper=letter,fontsize=11pt]{scrartcl} % KOMA-article class
usepackage[english]{babel}
usepackage[utf8x]{inputenc}
usepackage[protrusion=true,expansion=true]{microtype}
usepackage{amsmath,amsfonts,amsthm} % Math packages
usepackage{graphicx} % Enable pdflatex
usepackage[svgnames]{xcolor} % Colors by their 'svgnames'
usepackage{geometry}
usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
usepackage{float}
usepackage{etaremune}
usepackage{layout}
usepackage{multicol}
usepackage{sectsty} % Custom sectioning}{sectsty package)
usepackage[export]{adjustbox}
frenchspacing % Better looking spacings after periods
pagestyle{empty} % No pagenumbers/headers/footers
%addtolength{voffset}{-40pt}
%addtolength{textheight}{20pt}
setlengthtopmargin{0pt}
addtolengthtopmargin{-headheight}
addtolengthtopmargin{-headsep}
setlengthoddsidemargin{0pt}
setlengthtextwidth{paperwidth}
addtolengthtextwidth{-2in}
setlengthtextheight{paperheight}
addtolengthtextheight{-2in}
sectionfont{% % Change font of section command
usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
sectionrule{0pt}{0pt}{-5pt}{3pt}}
%%% Macros
%%% ------------------------------------------------------------
newlength{spacebox}
settowidth{spacebox}{8888888888} % Box to align text
newcommand{sepspace}{vspace*{1em}} % Vertical space macro
newcommand{NewPart}[2]{section*{uppercase{#1} #2}}
%%% Begin Document
%%% ------------------------------------------------------------
begin{document}
noindent
begin{minipage}{textwidth}
raggedright
{Hugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}\}
Address line 1\
Address line 2\
href{mailto:yoloj@gmail.com}{yolo@gmail.com}
end{minipage}%
makebox[0pt][r]{raisebox{-0.5height}{includegraphics[height=2cm]{example-image}}}
%sepspace
NewPart{Overview}{}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent volutpat sapien neque, id elementum turpis tincidunt sed. Suspendisse potenti. Quisque malesuada odio sit amet blandit commodo. Sed sed dolor massa. Aliquam erat volutpat. Proin suscipit enim risus, id vehicula risus facilisis ac. Nullam et libero vitae mi viverra tincidunt vitae ac purus. Pellentesque ac justo et augue tincidunt maximus. Morbi velit metus, consectetur ac orci sit amet, gravida suscipit lacus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Curabitur est leo, rutrum eget laoreet at, imperdiet id velit. Phasellus dignissim mi sed lacus porttitor tempor et tempus justo. Aliquam at congue augue. Quisque sed velit ac neque tristique sagittis.
Relocation is NOT a problem.
NewPart{Skills}{}
begin{multicols}{3}
begin{itemize}
item 1
item 2
item 3
item 4
item 5
item 6
item 7
item 8
item 9
item 10
item 11
item 12
item 13
item 14
end{itemize}
end{multicols}
end{document}
Some notes:
utf8x
has been unmaintained for several years; useutf8
- loading
geometry
and then doing all page setup by hand doesn't seem efficient
sectsty
andscrartcl
don't go along well
An edited version:
documentclass[letterpaper,11pt]{article} % KOMA-article class
usepackage[english]{babel}
usepackage[protrusion=true,expansion=true]{microtype}
usepackage{amsmath,amsfonts,amsthm} % Math packages
usepackage{graphicx} % Enable pdflatex
usepackage[svgnames]{xcolor} % Colors by their 'svgnames'
usepackage{geometry}
usepackage{float}
usepackage{etaremune}
usepackage{layout}
usepackage{multicol}
usepackage{sectsty} % Custom sectioning}{sectsty package)
usepackage[export]{adjustbox}
usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
frenchspacing % Better looking spacings after periods
pagestyle{empty} % No pagenumbers/headers/footers
geometry{margin=1in,headheight=0pt,headsep=0pt}
sectionfont{% % Change font of section command
usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
sectionrule{0pt}{0pt}{-5pt}{3pt}}
%%% Macros
%%% ------------------------------------------------------------
newlength{spacebox}
settowidth{spacebox}{8888888888} % Box to align text
newcommand{sepspace}{vspace*{1em}} % Vertical space macro
newcommand{NewPart}[2]{section*{uppercase{#1} #2}}
%%% Begin Document
%%% ------------------------------------------------------------
begin{document}
noindent
begin{minipage}{textwidth}
raggedright
{Hugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}\}
Address line 1\
Address line 2\
href{mailto:yoloj@gmail.com}{yolo@gmail.com}
end{minipage}%
makebox[0pt][r]{includegraphics[height=2cm,valign=c]{example-image}}
%sepspace
NewPart{Overview}{}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent volutpat sapien neque, id elementum turpis tincidunt sed. Suspendisse potenti. Quisque malesuada odio sit amet blandit commodo. Sed sed dolor massa. Aliquam erat volutpat. Proin suscipit enim risus, id vehicula risus facilisis ac. Nullam et libero vitae mi viverra tincidunt vitae ac purus. Pellentesque ac justo et augue tincidunt maximus. Morbi velit metus, consectetur ac orci sit amet, gravida suscipit lacus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Curabitur est leo, rutrum eget laoreet at, imperdiet id velit. Phasellus dignissim mi sed lacus porttitor tempor et tempus justo. Aliquam at congue augue. Quisque sed velit ac neque tristique sagittis.
Relocation is NOT a problem.
NewPart{Skills}{}
begin{multicols}{3}
begin{itemize}
item 1
item 2
item 3
item 4
item 5
item 6
item 7
item 8
item 9
item 10
item 11
item 12
item 13
item 14
end{itemize}
end{multicols}
end{document}
Hi, thanks for the answer and the tips.
– Alakanu
2 days ago
add a comment |
wrapfig
is not the right tool.
documentclass[paper=letter,fontsize=11pt]{scrartcl} % KOMA-article class
usepackage[english]{babel}
usepackage[utf8x]{inputenc}
usepackage[protrusion=true,expansion=true]{microtype}
usepackage{amsmath,amsfonts,amsthm} % Math packages
usepackage{graphicx} % Enable pdflatex
usepackage[svgnames]{xcolor} % Colors by their 'svgnames'
usepackage{geometry}
usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
usepackage{float}
usepackage{etaremune}
usepackage{layout}
usepackage{multicol}
usepackage{sectsty} % Custom sectioning}{sectsty package)
usepackage[export]{adjustbox}
frenchspacing % Better looking spacings after periods
pagestyle{empty} % No pagenumbers/headers/footers
%addtolength{voffset}{-40pt}
%addtolength{textheight}{20pt}
setlengthtopmargin{0pt}
addtolengthtopmargin{-headheight}
addtolengthtopmargin{-headsep}
setlengthoddsidemargin{0pt}
setlengthtextwidth{paperwidth}
addtolengthtextwidth{-2in}
setlengthtextheight{paperheight}
addtolengthtextheight{-2in}
sectionfont{% % Change font of section command
usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
sectionrule{0pt}{0pt}{-5pt}{3pt}}
%%% Macros
%%% ------------------------------------------------------------
newlength{spacebox}
settowidth{spacebox}{8888888888} % Box to align text
newcommand{sepspace}{vspace*{1em}} % Vertical space macro
newcommand{NewPart}[2]{section*{uppercase{#1} #2}}
%%% Begin Document
%%% ------------------------------------------------------------
begin{document}
noindent
begin{minipage}{textwidth}
raggedright
{Hugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}\}
Address line 1\
Address line 2\
href{mailto:yoloj@gmail.com}{yolo@gmail.com}
end{minipage}%
makebox[0pt][r]{raisebox{-0.5height}{includegraphics[height=2cm]{example-image}}}
%sepspace
NewPart{Overview}{}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent volutpat sapien neque, id elementum turpis tincidunt sed. Suspendisse potenti. Quisque malesuada odio sit amet blandit commodo. Sed sed dolor massa. Aliquam erat volutpat. Proin suscipit enim risus, id vehicula risus facilisis ac. Nullam et libero vitae mi viverra tincidunt vitae ac purus. Pellentesque ac justo et augue tincidunt maximus. Morbi velit metus, consectetur ac orci sit amet, gravida suscipit lacus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Curabitur est leo, rutrum eget laoreet at, imperdiet id velit. Phasellus dignissim mi sed lacus porttitor tempor et tempus justo. Aliquam at congue augue. Quisque sed velit ac neque tristique sagittis.
Relocation is NOT a problem.
NewPart{Skills}{}
begin{multicols}{3}
begin{itemize}
item 1
item 2
item 3
item 4
item 5
item 6
item 7
item 8
item 9
item 10
item 11
item 12
item 13
item 14
end{itemize}
end{multicols}
end{document}
Some notes:
utf8x
has been unmaintained for several years; useutf8
- loading
geometry
and then doing all page setup by hand doesn't seem efficient
sectsty
andscrartcl
don't go along well
An edited version:
documentclass[letterpaper,11pt]{article} % KOMA-article class
usepackage[english]{babel}
usepackage[protrusion=true,expansion=true]{microtype}
usepackage{amsmath,amsfonts,amsthm} % Math packages
usepackage{graphicx} % Enable pdflatex
usepackage[svgnames]{xcolor} % Colors by their 'svgnames'
usepackage{geometry}
usepackage{float}
usepackage{etaremune}
usepackage{layout}
usepackage{multicol}
usepackage{sectsty} % Custom sectioning}{sectsty package)
usepackage[export]{adjustbox}
usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
frenchspacing % Better looking spacings after periods
pagestyle{empty} % No pagenumbers/headers/footers
geometry{margin=1in,headheight=0pt,headsep=0pt}
sectionfont{% % Change font of section command
usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
sectionrule{0pt}{0pt}{-5pt}{3pt}}
%%% Macros
%%% ------------------------------------------------------------
newlength{spacebox}
settowidth{spacebox}{8888888888} % Box to align text
newcommand{sepspace}{vspace*{1em}} % Vertical space macro
newcommand{NewPart}[2]{section*{uppercase{#1} #2}}
%%% Begin Document
%%% ------------------------------------------------------------
begin{document}
noindent
begin{minipage}{textwidth}
raggedright
{Hugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}\}
Address line 1\
Address line 2\
href{mailto:yoloj@gmail.com}{yolo@gmail.com}
end{minipage}%
makebox[0pt][r]{includegraphics[height=2cm,valign=c]{example-image}}
%sepspace
NewPart{Overview}{}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent volutpat sapien neque, id elementum turpis tincidunt sed. Suspendisse potenti. Quisque malesuada odio sit amet blandit commodo. Sed sed dolor massa. Aliquam erat volutpat. Proin suscipit enim risus, id vehicula risus facilisis ac. Nullam et libero vitae mi viverra tincidunt vitae ac purus. Pellentesque ac justo et augue tincidunt maximus. Morbi velit metus, consectetur ac orci sit amet, gravida suscipit lacus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Curabitur est leo, rutrum eget laoreet at, imperdiet id velit. Phasellus dignissim mi sed lacus porttitor tempor et tempus justo. Aliquam at congue augue. Quisque sed velit ac neque tristique sagittis.
Relocation is NOT a problem.
NewPart{Skills}{}
begin{multicols}{3}
begin{itemize}
item 1
item 2
item 3
item 4
item 5
item 6
item 7
item 8
item 9
item 10
item 11
item 12
item 13
item 14
end{itemize}
end{multicols}
end{document}
wrapfig
is not the right tool.
documentclass[paper=letter,fontsize=11pt]{scrartcl} % KOMA-article class
usepackage[english]{babel}
usepackage[utf8x]{inputenc}
usepackage[protrusion=true,expansion=true]{microtype}
usepackage{amsmath,amsfonts,amsthm} % Math packages
usepackage{graphicx} % Enable pdflatex
usepackage[svgnames]{xcolor} % Colors by their 'svgnames'
usepackage{geometry}
usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
usepackage{float}
usepackage{etaremune}
usepackage{layout}
usepackage{multicol}
usepackage{sectsty} % Custom sectioning}{sectsty package)
usepackage[export]{adjustbox}
frenchspacing % Better looking spacings after periods
pagestyle{empty} % No pagenumbers/headers/footers
%addtolength{voffset}{-40pt}
%addtolength{textheight}{20pt}
setlengthtopmargin{0pt}
addtolengthtopmargin{-headheight}
addtolengthtopmargin{-headsep}
setlengthoddsidemargin{0pt}
setlengthtextwidth{paperwidth}
addtolengthtextwidth{-2in}
setlengthtextheight{paperheight}
addtolengthtextheight{-2in}
sectionfont{% % Change font of section command
usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
sectionrule{0pt}{0pt}{-5pt}{3pt}}
%%% Macros
%%% ------------------------------------------------------------
newlength{spacebox}
settowidth{spacebox}{8888888888} % Box to align text
newcommand{sepspace}{vspace*{1em}} % Vertical space macro
newcommand{NewPart}[2]{section*{uppercase{#1} #2}}
%%% Begin Document
%%% ------------------------------------------------------------
begin{document}
noindent
begin{minipage}{textwidth}
raggedright
{Hugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}\}
Address line 1\
Address line 2\
href{mailto:yoloj@gmail.com}{yolo@gmail.com}
end{minipage}%
makebox[0pt][r]{raisebox{-0.5height}{includegraphics[height=2cm]{example-image}}}
%sepspace
NewPart{Overview}{}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent volutpat sapien neque, id elementum turpis tincidunt sed. Suspendisse potenti. Quisque malesuada odio sit amet blandit commodo. Sed sed dolor massa. Aliquam erat volutpat. Proin suscipit enim risus, id vehicula risus facilisis ac. Nullam et libero vitae mi viverra tincidunt vitae ac purus. Pellentesque ac justo et augue tincidunt maximus. Morbi velit metus, consectetur ac orci sit amet, gravida suscipit lacus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Curabitur est leo, rutrum eget laoreet at, imperdiet id velit. Phasellus dignissim mi sed lacus porttitor tempor et tempus justo. Aliquam at congue augue. Quisque sed velit ac neque tristique sagittis.
Relocation is NOT a problem.
NewPart{Skills}{}
begin{multicols}{3}
begin{itemize}
item 1
item 2
item 3
item 4
item 5
item 6
item 7
item 8
item 9
item 10
item 11
item 12
item 13
item 14
end{itemize}
end{multicols}
end{document}
Some notes:
utf8x
has been unmaintained for several years; useutf8
- loading
geometry
and then doing all page setup by hand doesn't seem efficient
sectsty
andscrartcl
don't go along well
An edited version:
documentclass[letterpaper,11pt]{article} % KOMA-article class
usepackage[english]{babel}
usepackage[protrusion=true,expansion=true]{microtype}
usepackage{amsmath,amsfonts,amsthm} % Math packages
usepackage{graphicx} % Enable pdflatex
usepackage[svgnames]{xcolor} % Colors by their 'svgnames'
usepackage{geometry}
usepackage{float}
usepackage{etaremune}
usepackage{layout}
usepackage{multicol}
usepackage{sectsty} % Custom sectioning}{sectsty package)
usepackage[export]{adjustbox}
usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
frenchspacing % Better looking spacings after periods
pagestyle{empty} % No pagenumbers/headers/footers
geometry{margin=1in,headheight=0pt,headsep=0pt}
sectionfont{% % Change font of section command
usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
sectionrule{0pt}{0pt}{-5pt}{3pt}}
%%% Macros
%%% ------------------------------------------------------------
newlength{spacebox}
settowidth{spacebox}{8888888888} % Box to align text
newcommand{sepspace}{vspace*{1em}} % Vertical space macro
newcommand{NewPart}[2]{section*{uppercase{#1} #2}}
%%% Begin Document
%%% ------------------------------------------------------------
begin{document}
noindent
begin{minipage}{textwidth}
raggedright
{Hugeusefont{OT1}{phv}{b}{n}{Bruce Wayne}\}
Address line 1\
Address line 2\
href{mailto:yoloj@gmail.com}{yolo@gmail.com}
end{minipage}%
makebox[0pt][r]{includegraphics[height=2cm,valign=c]{example-image}}
%sepspace
NewPart{Overview}{}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent volutpat sapien neque, id elementum turpis tincidunt sed. Suspendisse potenti. Quisque malesuada odio sit amet blandit commodo. Sed sed dolor massa. Aliquam erat volutpat. Proin suscipit enim risus, id vehicula risus facilisis ac. Nullam et libero vitae mi viverra tincidunt vitae ac purus. Pellentesque ac justo et augue tincidunt maximus. Morbi velit metus, consectetur ac orci sit amet, gravida suscipit lacus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Curabitur est leo, rutrum eget laoreet at, imperdiet id velit. Phasellus dignissim mi sed lacus porttitor tempor et tempus justo. Aliquam at congue augue. Quisque sed velit ac neque tristique sagittis.
Relocation is NOT a problem.
NewPart{Skills}{}
begin{multicols}{3}
begin{itemize}
item 1
item 2
item 3
item 4
item 5
item 6
item 7
item 8
item 9
item 10
item 11
item 12
item 13
item 14
end{itemize}
end{multicols}
end{document}
answered 2 days ago
egregegreg
713k8618943182
713k8618943182
Hi, thanks for the answer and the tips.
– Alakanu
2 days ago
add a comment |
Hi, thanks for the answer and the tips.
– Alakanu
2 days ago
Hi, thanks for the answer and the tips.
– Alakanu
2 days ago
Hi, thanks for the answer and the tips.
– Alakanu
2 days ago
add a comment |
Alakanu is a new contributor. Be nice, and check out our Code of Conduct.
Alakanu is a new contributor. Be nice, and check out our Code of Conduct.
Alakanu is a new contributor. Be nice, and check out our Code of Conduct.
Alakanu 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.
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%2f470372%2fwrapfigure-on-top-right-corner%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
2
Why are you even using wrapfigure for this? Does it extend into
overview
? If not just place it absolutely on the page or put bruce wayne in one minipage box and the inage in another. See also theadjustbox
package.– daleif
2 days ago
mmm I don't know what an overview is. So you are suggesting to use minipage? Will I have to do some amendments to my doc apart from adding the minipage?
– Alakanu
2 days ago
You have a section named "Overview" in your example.....
– daleif
2 days ago
ah sorry, the lower case and the grey highlight made me think it was a LaTex concept. It should not extend into overview, that's the problem.
– Alakanu
2 days ago