I want to put a header on my poster
up vote
0
down vote
favorite
I'm working on a poster for a congress, and I need to put an image as a header. The problem is that I can't supreme the margins in the image, and I don't know how.
This is my code:
usepackage{fancyhdr}
pagestyle{fancy}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}
setlengthheadheight{80.0pt}
addtolength{textheight}{-80.0pt}
chead{includegraphics[width=textheight]{RCI_Header.png}}
begin{document}
thispagestyle{fancy}
and the first image is what I get, the second one is what I want.
Thank you in advance.
graphics header-footer posters footer wide-image
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
up vote
0
down vote
favorite
I'm working on a poster for a congress, and I need to put an image as a header. The problem is that I can't supreme the margins in the image, and I don't know how.
This is my code:
usepackage{fancyhdr}
pagestyle{fancy}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}
setlengthheadheight{80.0pt}
addtolength{textheight}{-80.0pt}
chead{includegraphics[width=textheight]{RCI_Header.png}}
begin{document}
thispagestyle{fancy}
and the first image is what I get, the second one is what I want.
Thank you in advance.
graphics header-footer posters footer wide-image
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
The obvious thing is width=textwidth, but there are other issues. First, are you only going to do this on one page? The 80pt headheight is permanent.
– John Kormylo
Oct 3 at 4:43
If this is a (one page) poster, fancyhdr is not the way to go. See tikzposter for examplle.
– John Kormylo
Oct 3 at 5:03
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm working on a poster for a congress, and I need to put an image as a header. The problem is that I can't supreme the margins in the image, and I don't know how.
This is my code:
usepackage{fancyhdr}
pagestyle{fancy}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}
setlengthheadheight{80.0pt}
addtolength{textheight}{-80.0pt}
chead{includegraphics[width=textheight]{RCI_Header.png}}
begin{document}
thispagestyle{fancy}
and the first image is what I get, the second one is what I want.
Thank you in advance.
graphics header-footer posters footer wide-image
I'm working on a poster for a congress, and I need to put an image as a header. The problem is that I can't supreme the margins in the image, and I don't know how.
This is my code:
usepackage{fancyhdr}
pagestyle{fancy}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}
setlengthheadheight{80.0pt}
addtolength{textheight}{-80.0pt}
chead{includegraphics[width=textheight]{RCI_Header.png}}
begin{document}
thispagestyle{fancy}
and the first image is what I get, the second one is what I want.
Thank you in advance.
graphics header-footer posters footer wide-image
graphics header-footer posters footer wide-image
edited Oct 2 at 21:53
Phelype Oleinik
20.9k54380
20.9k54380
asked Oct 2 at 21:36
vreyesm
1
1
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
The obvious thing is width=textwidth, but there are other issues. First, are you only going to do this on one page? The 80pt headheight is permanent.
– John Kormylo
Oct 3 at 4:43
If this is a (one page) poster, fancyhdr is not the way to go. See tikzposter for examplle.
– John Kormylo
Oct 3 at 5:03
add a comment |
The obvious thing is width=textwidth, but there are other issues. First, are you only going to do this on one page? The 80pt headheight is permanent.
– John Kormylo
Oct 3 at 4:43
If this is a (one page) poster, fancyhdr is not the way to go. See tikzposter for examplle.
– John Kormylo
Oct 3 at 5:03
The obvious thing is width=textwidth, but there are other issues. First, are you only going to do this on one page? The 80pt headheight is permanent.
– John Kormylo
Oct 3 at 4:43
The obvious thing is width=textwidth, but there are other issues. First, are you only going to do this on one page? The 80pt headheight is permanent.
– John Kormylo
Oct 3 at 4:43
If this is a (one page) poster, fancyhdr is not the way to go. See tikzposter for examplle.
– John Kormylo
Oct 3 at 5:03
If this is a (one page) poster, fancyhdr is not the way to go. See tikzposter for examplle.
– John Kormylo
Oct 3 at 5:03
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
This solution does not preserve the aspect ratio. Also, it seems that fancyhdr includes a strut
in the header, hence the raisebox
.
documentclass{article}
usepackage{fancyhdr}
usepackage{graphicx}
usepackage{showframe}% debugging tool
pagestyle{fancy}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}
addtolength{textheight}{dimexpr headheight-80pt}
setlength{headheight}{80pt}
chead{raisebox{-dpstrutbox}{includegraphics[width=textwidth,height=80pt]{example-image}}}
begin{document}
thispagestyle{fancy}
centerline{this page intentionally left blank}
end{document}
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
This solution does not preserve the aspect ratio. Also, it seems that fancyhdr includes a strut
in the header, hence the raisebox
.
documentclass{article}
usepackage{fancyhdr}
usepackage{graphicx}
usepackage{showframe}% debugging tool
pagestyle{fancy}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}
addtolength{textheight}{dimexpr headheight-80pt}
setlength{headheight}{80pt}
chead{raisebox{-dpstrutbox}{includegraphics[width=textwidth,height=80pt]{example-image}}}
begin{document}
thispagestyle{fancy}
centerline{this page intentionally left blank}
end{document}
add a comment |
up vote
0
down vote
This solution does not preserve the aspect ratio. Also, it seems that fancyhdr includes a strut
in the header, hence the raisebox
.
documentclass{article}
usepackage{fancyhdr}
usepackage{graphicx}
usepackage{showframe}% debugging tool
pagestyle{fancy}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}
addtolength{textheight}{dimexpr headheight-80pt}
setlength{headheight}{80pt}
chead{raisebox{-dpstrutbox}{includegraphics[width=textwidth,height=80pt]{example-image}}}
begin{document}
thispagestyle{fancy}
centerline{this page intentionally left blank}
end{document}
add a comment |
up vote
0
down vote
up vote
0
down vote
This solution does not preserve the aspect ratio. Also, it seems that fancyhdr includes a strut
in the header, hence the raisebox
.
documentclass{article}
usepackage{fancyhdr}
usepackage{graphicx}
usepackage{showframe}% debugging tool
pagestyle{fancy}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}
addtolength{textheight}{dimexpr headheight-80pt}
setlength{headheight}{80pt}
chead{raisebox{-dpstrutbox}{includegraphics[width=textwidth,height=80pt]{example-image}}}
begin{document}
thispagestyle{fancy}
centerline{this page intentionally left blank}
end{document}
This solution does not preserve the aspect ratio. Also, it seems that fancyhdr includes a strut
in the header, hence the raisebox
.
documentclass{article}
usepackage{fancyhdr}
usepackage{graphicx}
usepackage{showframe}% debugging tool
pagestyle{fancy}
renewcommand{headrulewidth}{0pt}
renewcommand{footrulewidth}{0pt}
addtolength{textheight}{dimexpr headheight-80pt}
setlength{headheight}{80pt}
chead{raisebox{-dpstrutbox}{includegraphics[width=textwidth,height=80pt]{example-image}}}
begin{document}
thispagestyle{fancy}
centerline{this page intentionally left blank}
end{document}
answered Oct 3 at 4:52
John Kormylo
43.4k12465
43.4k12465
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.
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.
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%2f453534%2fi-want-to-put-a-header-on-my-poster%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
The obvious thing is width=textwidth, but there are other issues. First, are you only going to do this on one page? The 80pt headheight is permanent.
– John Kormylo
Oct 3 at 4:43
If this is a (one page) poster, fancyhdr is not the way to go. See tikzposter for examplle.
– John Kormylo
Oct 3 at 5:03