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.
This is what I getThis is What I want










share|improve this question
















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















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.
This is what I getThis is What I want










share|improve this question
















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













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.
This is what I getThis is What I want










share|improve this question















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.
This is what I getThis is What I want







graphics header-footer posters footer wide-image






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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


















  • 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










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}





share|improve this answer





















    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%2f453534%2fi-want-to-put-a-header-on-my-poster%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








    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}





    share|improve this answer

























      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}





      share|improve this answer























        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}





        share|improve this answer












        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}






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 3 at 4:52









        John Kormylo

        43.4k12465




        43.4k12465






























            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%2f453534%2fi-want-to-put-a-header-on-my-poster%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

            A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

            Calculate evaluation metrics using cross_val_predict sklearn

            Insert data from modal to MySQL (multiple modal on website)