post_process_modify_link_colors: Modify reference link colors in the document

View source: R/post-process-modify-link-colors.R

post_process_modify_link_colorsR Documentation

Modify reference link colors in the document

Description

Modify reference link colors in the document

Usage

post_process_modify_link_colors(
  x,
  underline_links = NULL,
  color_links = NULL,
  toc_underline_link_color = NULL,
  toc_link_text_color = NULL,
  cite_underline_link_color = NULL,
  cite_link_text_color = NULL,
  url_underline_link_color = NULL,
  url_link_text_color = NULL,
  ...
)

Arguments

x

Tex code, as a vector of lines read in from a TeX file by readLines()

underline_links

Logical. If TRUE make all the links in the TOC and the section links in the document text be underlined

color_links

Logical. If TRUE make all the links in the TOC and the section links in the document text be colored

toc_underline_link_color

If underline_links is TRUE, this color will be the underline color. See LaTeX package xcolor for allowable colors

toc_link_text_color

If underline_links is FALSE, this color will be the color of the link text (without underlines). See LaTeX package xcolor for allowable colors

cite_underline_link_color

If underline_links is TRUE, this color will be the underline color for citations

cite_link_text_color

Text color for citation links. See toc_link_text_color

url_underline_link_color

If underline_links is TRUE, this color will be the underline color for URLs

url_link_text_color

Text color for URL links. See toc_link_text_color

...

Absorb arguments meant for other functions

Value

The modified Tex code, as a vector


pacific-hake/hake-assessment documentation built on Nov. 8, 2024, 1:16 p.m.