Previously I've asked a very similar question to the question I am currently trying to ask. Actually, this question can be thought of as an extension of my previous question.
I am looking for a way to include my company's logo on the first page of a PDF R Markdown output. As stated in the previous question, I've looked for answers online, but most of the solutions resulted in either the logo being on all the pages (not just the first) or in some redundant elements (chapter titles, horizontal lines below them etc.) being added to every page. This has led me to ask the previous question - how to include the logo only at the first page, with no additional elements besides the logo.
I got my answer, which satisfied the criteria that I had posted (for details of the answer, please see the previous post). However, the problem is that if my Markdown doc contains the title, author or some other fields, the logo appears below them, whereas I want it to appear above those fields in the header.
To summarize, my question is: How to print a logo in the Markdown PDF document which satisfies the following criteria:
- Appears only on the first page
- Does not result with additional unwanted elements (chapter titles etc.)
- Appears above the title and all other fields (e.g. author) in the header
Many thanks!