How can I use different colours for in-text citations and figure hyper-references in RMarkdown?
Advertisements Consider the following RMarkdown document: — output: pdf_document: number_sections: true fig_caption: yes enter code here title: ‘Title’ author: – Name geometry: margin=1in bibliography: references.bib csl: something.csl link-citations: yes linkcolor: blue urlcolor: black header-includes: \usepackage{setspace} \usepackage{graphicx} \usepackage[colorlinks]{hyperref} \usepackage[all]{hypcap} Lorem ipsum [@reference] “`{r landscape, echo=FALSE,include=TRUE,warning=FALSE,fig.cap="\\label{fig:landscape}Caption"} knitr::include_graphics("file.png") “` Referencing to \autoref{fig:landscape}. When I run this sort of… Read More How can I use different colours for in-text citations and figure hyper-references in RMarkdown?