Преглед на файлове

* Re-document for CRAN

tags/v0.4.2
Garrick Aden-Buie преди 4 години
родител
ревизия
b6ed374c83
No known key found for this signature in database
променени са 13 файла, в които са добавени 52 реда и са изтрити 48 реда
  1. +1
    -1
      DESCRIPTION
  2. +4
    -3
      man/style_duo.Rd
  3. +7
    -9
      man/style_duo_accent.Rd
  4. +7
    -9
      man/style_duo_accent_inverse.Rd
  5. +4
    -3
      man/style_mono_accent.Rd
  6. +4
    -3
      man/style_mono_accent_inverse.Rd
  7. +4
    -3
      man/style_mono_dark.Rd
  8. +4
    -3
      man/style_mono_light.Rd
  9. +4
    -3
      man/style_solarized_dark.Rd
  10. +4
    -3
      man/style_solarized_light.Rd
  11. +6
    -5
      man/style_xaringan.Rd
  12. +2
    -2
      man/theme_xaringan_set_defaults.Rd
  13. +1
    -1
      man/xaringanthemer-package.Rd

+ 1
- 1
DESCRIPTION Целия файл

Config/testthat/edition: 3 Config/testthat/edition: 3
Encoding: UTF-8 Encoding: UTF-8
Roxygen: list(markdown = TRUE) Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.2
RoxygenNote: 7.2.1

+ 4
- 3
man/style_duo.Rd Целия файл

header_background_text_color = background_color, header_background_text_color = background_color,
header_background_padding = NULL, header_background_padding = NULL,
header_background_content_padding_top = "7rem", header_background_content_padding_top = "7rem",
header_background_ignore_classes = c("normal", "inverse", "title", "middle",
"bottom"),
header_background_ignore_classes = c("normal", "inverse", "title", "middle", "bottom"),
text_slide_number_font_size = "0.9rem", text_slide_number_font_size = "0.9rem",
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
To use the styles created by this theme function, make sure To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile} header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
argument, use that name instead of the default file name.

\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader: xaringan::moon_reader:
css: xaringan-themer.css css: xaringan-themer.css
}\if{html}{\out{</div>}} }\if{html}{\out{</div>}}

+ 7
- 9
man/style_duo_accent.Rd Целия файл

header_color = primary_color, header_color = primary_color,
background_color = white_color, background_color = white_color,
link_color = choose_dark_or_light(secondary_color, primary_color, secondary_color), link_color = choose_dark_or_light(secondary_color, primary_color, secondary_color),
text_bold_color = choose_dark_or_light(secondary_color, primary_color,
secondary_color),
text_bold_color = choose_dark_or_light(secondary_color, primary_color, secondary_color),
text_slide_number_color = primary_color, text_slide_number_color = primary_color,
padding = "16px 64px 16px 64px", padding = "16px 64px 16px 64px",
background_image = NULL, background_image = NULL,
inverse_background_color = secondary_color, inverse_background_color = secondary_color,
inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color), inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color),
inverse_text_shadow = FALSE, inverse_text_shadow = FALSE,
inverse_header_color = choose_dark_or_light(secondary_color, black_color,
white_color),
inverse_header_color = choose_dark_or_light(secondary_color, black_color, white_color),
inverse_link_color = link_color, inverse_link_color = link_color,
title_slide_text_color = choose_dark_or_light(primary_color, black_color,
white_color),
title_slide_text_color = choose_dark_or_light(primary_color, black_color, white_color),
title_slide_background_color = primary_color, title_slide_background_color = primary_color,
title_slide_background_image = NULL, title_slide_background_image = NULL,
title_slide_background_size = NULL, title_slide_background_size = NULL,
header_background_text_color = background_color, header_background_text_color = background_color,
header_background_padding = NULL, header_background_padding = NULL,
header_background_content_padding_top = "7rem", header_background_content_padding_top = "7rem",
header_background_ignore_classes = c("normal", "inverse", "title", "middle",
"bottom"),
header_background_ignore_classes = c("normal", "inverse", "title", "middle", "bottom"),
text_slide_number_font_size = "0.9rem", text_slide_number_font_size = "0.9rem",
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
To use the styles created by this theme function, make sure To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile} header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
argument, use that name instead of the default file name.

\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader: xaringan::moon_reader:
css: xaringan-themer.css css: xaringan-themer.css
}\if{html}{\out{</div>}} }\if{html}{\out{</div>}}

+ 7
- 9
man/style_duo_accent_inverse.Rd Целия файл

header_color = primary_color, header_color = primary_color,
background_color = black_color, background_color = black_color,
link_color = choose_dark_or_light(secondary_color, secondary_color, primary_color), link_color = choose_dark_or_light(secondary_color, secondary_color, primary_color),
text_bold_color = choose_dark_or_light(secondary_color, secondary_color,
primary_color),
text_bold_color = choose_dark_or_light(secondary_color, secondary_color, primary_color),
text_slide_number_color = primary_color, text_slide_number_color = primary_color,
padding = "16px 64px 16px 64px", padding = "16px 64px 16px 64px",
background_image = NULL, background_image = NULL,
inverse_background_color = secondary_color, inverse_background_color = secondary_color,
inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color), inverse_text_color = choose_dark_or_light(secondary_color, black_color, white_color),
inverse_text_shadow = FALSE, inverse_text_shadow = FALSE,
inverse_header_color = choose_dark_or_light(secondary_color, black_color,
white_color),
inverse_header_color = choose_dark_or_light(secondary_color, black_color, white_color),
inverse_link_color = link_color, inverse_link_color = link_color,
title_slide_text_color = choose_dark_or_light(primary_color, black_color,
white_color),
title_slide_text_color = choose_dark_or_light(primary_color, black_color, white_color),
title_slide_background_color = primary_color, title_slide_background_color = primary_color,
title_slide_background_image = NULL, title_slide_background_image = NULL,
title_slide_background_size = NULL, title_slide_background_size = NULL,
header_background_text_color = background_color, header_background_text_color = background_color,
header_background_padding = NULL, header_background_padding = NULL,
header_background_content_padding_top = "7rem", header_background_content_padding_top = "7rem",
header_background_ignore_classes = c("normal", "inverse", "title", "middle",
"bottom"),
header_background_ignore_classes = c("normal", "inverse", "title", "middle", "bottom"),
text_slide_number_font_size = "0.9rem", text_slide_number_font_size = "0.9rem",
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
To use the styles created by this theme function, make sure To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile} header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
argument, use that name instead of the default file name.

\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader: xaringan::moon_reader:
css: xaringan-themer.css css: xaringan-themer.css
}\if{html}{\out{</div>}} }\if{html}{\out{</div>}}

+ 4
- 3
man/style_mono_accent.Rd Целия файл

header_background_text_color = background_color, header_background_text_color = background_color,
header_background_padding = NULL, header_background_padding = NULL,
header_background_content_padding_top = "7rem", header_background_content_padding_top = "7rem",
header_background_ignore_classes = c("normal", "inverse", "title", "middle",
"bottom"),
header_background_ignore_classes = c("normal", "inverse", "title", "middle", "bottom"),
text_slide_number_font_size = "0.9rem", text_slide_number_font_size = "0.9rem",
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
To use the styles created by this theme function, make sure To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile} header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
argument, use that name instead of the default file name.

\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader: xaringan::moon_reader:
css: xaringan-themer.css css: xaringan-themer.css
}\if{html}{\out{</div>}} }\if{html}{\out{</div>}}

+ 4
- 3
man/style_mono_accent_inverse.Rd Целия файл

header_background_text_color = background_color, header_background_text_color = background_color,
header_background_padding = NULL, header_background_padding = NULL,
header_background_content_padding_top = "7rem", header_background_content_padding_top = "7rem",
header_background_ignore_classes = c("normal", "inverse", "title", "middle",
"bottom"),
header_background_ignore_classes = c("normal", "inverse", "title", "middle", "bottom"),
text_slide_number_font_size = "0.9rem", text_slide_number_font_size = "0.9rem",
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
To use the styles created by this theme function, make sure To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile} header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
argument, use that name instead of the default file name.

\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader: xaringan::moon_reader:
css: xaringan-themer.css css: xaringan-themer.css
}\if{html}{\out{</div>}} }\if{html}{\out{</div>}}

+ 4
- 3
man/style_mono_dark.Rd Целия файл

header_background_text_color = background_color, header_background_text_color = background_color,
header_background_padding = NULL, header_background_padding = NULL,
header_background_content_padding_top = "7rem", header_background_content_padding_top = "7rem",
header_background_ignore_classes = c("normal", "inverse", "title", "middle",
"bottom"),
header_background_ignore_classes = c("normal", "inverse", "title", "middle", "bottom"),
text_slide_number_font_size = "0.9rem", text_slide_number_font_size = "0.9rem",
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
To use the styles created by this theme function, make sure To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile} header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
argument, use that name instead of the default file name.

\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader: xaringan::moon_reader:
css: xaringan-themer.css css: xaringan-themer.css
}\if{html}{\out{</div>}} }\if{html}{\out{</div>}}

+ 4
- 3
man/style_mono_light.Rd Целия файл

header_background_text_color = background_color, header_background_text_color = background_color,
header_background_padding = NULL, header_background_padding = NULL,
header_background_content_padding_top = "7rem", header_background_content_padding_top = "7rem",
header_background_ignore_classes = c("normal", "inverse", "title", "middle",
"bottom"),
header_background_ignore_classes = c("normal", "inverse", "title", "middle", "bottom"),
text_slide_number_font_size = "0.9rem", text_slide_number_font_size = "0.9rem",
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
To use the styles created by this theme function, make sure To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile} header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
argument, use that name instead of the default file name.

\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader: xaringan::moon_reader:
css: xaringan-themer.css css: xaringan-themer.css
}\if{html}{\out{</div>}} }\if{html}{\out{</div>}}

+ 4
- 3
man/style_solarized_dark.Rd Целия файл

header_background_text_color = background_color, header_background_text_color = background_color,
header_background_padding = NULL, header_background_padding = NULL,
header_background_content_padding_top = "7rem", header_background_content_padding_top = "7rem",
header_background_ignore_classes = c("normal", "inverse", "title", "middle",
"bottom"),
header_background_ignore_classes = c("normal", "inverse", "title", "middle", "bottom"),
text_slide_number_font_size = "0.9rem", text_slide_number_font_size = "0.9rem",
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
To use the styles created by this theme function, make sure To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile} header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
argument, use that name instead of the default file name.

\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader: xaringan::moon_reader:
css: xaringan-themer.css css: xaringan-themer.css
}\if{html}{\out{</div>}} }\if{html}{\out{</div>}}

+ 4
- 3
man/style_solarized_light.Rd Целия файл

header_background_text_color = background_color, header_background_text_color = background_color,
header_background_padding = NULL, header_background_padding = NULL,
header_background_content_padding_top = "7rem", header_background_content_padding_top = "7rem",
header_background_ignore_classes = c("normal", "inverse", "title", "middle",
"bottom"),
header_background_ignore_classes = c("normal", "inverse", "title", "middle", "bottom"),
text_slide_number_font_size = "0.9rem", text_slide_number_font_size = "0.9rem",
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
To use the styles created by this theme function, make sure To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile} header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
argument, use that name instead of the default file name.

\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader: xaringan::moon_reader:
css: xaringan-themer.css css: xaringan-themer.css
}\if{html}{\out{</div>}} }\if{html}{\out{</div>}}

+ 6
- 5
man/style_xaringan.Rd Целия файл

header_background_text_color = background_color, header_background_text_color = background_color,
header_background_padding = NULL, header_background_padding = NULL,
header_background_content_padding_top = "7rem", header_background_content_padding_top = "7rem",
header_background_ignore_classes = c("normal", "inverse", "title", "middle",
"bottom"),
header_background_ignore_classes = c("normal", "inverse", "title", "middle", "bottom"),
text_slide_number_font_size = "0.9rem", text_slide_number_font_size = "0.9rem",
text_font_google = NULL, text_font_google = NULL,
text_font_family = xaringanthemer_font_default("text_font_family"), text_font_family = xaringanthemer_font_default("text_font_family"),
} }
\section{Functions}{ \section{Functions}{
\itemize{ \itemize{
\item \code{xaringanthemer_font_default}: Default values for font family, weight, URLs and
\item \code{xaringanthemer_font_default()}: Default values for font family, weight, URLs and
font fallbacks. font fallbacks.
}}


}}
\section{Usage}{ \section{Usage}{
To use the styles created by this theme function, make sure To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile} header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
argument, use that name instead of the default file name.

\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader: xaringan::moon_reader:
css: xaringan-themer.css css: xaringan-themer.css
}\if{html}{\out{</div>}} }\if{html}{\out{</div>}}

+ 2
- 2
man/theme_xaringan_set_defaults.Rd Целия файл

} }
\section{Functions}{ \section{Functions}{
\itemize{ \itemize{
\item \code{theme_xaringan_restore_defaults}: Restore previous or standard
\item \code{theme_xaringan_restore_defaults()}: Restore previous or standard
\pkg{ggplot2} \emph{geom} defaults. \pkg{ggplot2} \emph{geom} defaults.
}}


}}
\seealso{ \seealso{
Other xaringanthemer ggplot2 themes: Other xaringanthemer ggplot2 themes:
\code{\link{theme_xaringan_base}()}, \code{\link{theme_xaringan_base}()},

+ 1
- 1
man/xaringanthemer-package.Rd Целия файл

\alias{xaringanthemer-package} \alias{xaringanthemer-package}
\title{xaringanthemer: Custom 'xaringan' CSS Themes} \title{xaringanthemer: Custom 'xaringan' CSS Themes}
\description{ \description{
\if{html}{\figure{logo.png}{options: align='right' alt='logo' width='120'}}
\if{html}{\figure{logo.png}{options: style='float: right' alt='logo' width='120'}}


Create beautifully color-coordinated and customized themes for your 'xaringan' slides, without writing any CSS. Complete your slide theme with 'ggplot2' themes that match the font and colors used in your slides. Customized styles can be created directly in your slides' 'R Markdown' source file or in a separate external script. Create beautifully color-coordinated and customized themes for your 'xaringan' slides, without writing any CSS. Complete your slide theme with 'ggplot2' themes that match the font and colors used in your slides. Customized styles can be created directly in your slides' 'R Markdown' source file or in a separate external script.
} }

Loading…
Отказ
Запис