Skip to content
Discussion options

You must be logged in to vote

The problem was solved by doing the following -:

You can copy this and replace your first line till prepared by with this

*---
title: "Protocol Audit Report"
author: "Bikalpa Regmi"
date: "April 13, 2025"
output:
pdf_document:
latex_engine: xelatex
toc: true
number_sections: true
header-includes:

  • \usepackage{graphicx}
  • \usepackage{float}
  • \usepackage{titling}
  • \pretitle{\begin{center}\includegraphics[width=0.3\linewidth]{Logo.pdf}\[\bigskipamount]}
  • \posttitle{\end{center}}
    --- *

<-- Your report starts from here -->
...

Do the following in the GitBash or WSL-:

pandoc Report.md -o report.pdf --pdf-engine=xelatex --highlight-style=zenburn

Plz make sure you have installed latex and pandoc and …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@EngrPips
Comment options

@zakatz36
Comment options

@ntdegenerate
Comment options

@EngrPips
Comment options

Answer selected by BikalpaRegmi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants