Browse Source

pkgdown refreshed

tags/0.8.0
boB Rudis 5 years ago
parent
commit
9baf48b931
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 2
      README.Rmd
  2. 2
      README.md
  3. BIN
      README_figs/README-ft-1.png
  4. BIN
      README_figs/README-unnamed-chunk-10-1.png
  5. BIN
      README_figs/README-unnamed-chunk-11-1.png
  6. BIN
      README_figs/README-unnamed-chunk-12-1.png
  7. BIN
      README_figs/README-unnamed-chunk-13-1.png
  8. BIN
      README_figs/README-unnamed-chunk-5-1.png
  9. BIN
      README_figs/README-unnamed-chunk-6-1.png
  10. BIN
      README_figs/README-unnamed-chunk-7-1.png
  11. BIN
      README_figs/README-unnamed-chunk-8-1.png
  12. BIN
      README_figs/README-unnamed-chunk-9-1.png
  13. 147
      docs/CONDUCT.html
  14. 141
      docs/LICENSE-text.html
  15. 108
      docs/LICENSE.html
  16. BIN
      docs/README_figs/README-unnamed-chunk-10-1.png
  17. BIN
      docs/README_figs/README-unnamed-chunk-11-1.png
  18. BIN
      docs/README_figs/README-unnamed-chunk-5-1.png
  19. BIN
      docs/README_figs/README-unnamed-chunk-6-1.png
  20. BIN
      docs/README_figs/README-unnamed-chunk-7-1.png
  21. BIN
      docs/README_figs/README-unnamed-chunk-8-1.png
  22. BIN
      docs/README_figs/README-unnamed-chunk-9-1.png
  23. 79
      docs/articles/index.html
  24. 72
      docs/articles/why_hrbrthemes.html
  25. BIN
      docs/articles/why_hrbrthemes_files/figure-html/unnamed-chunk-1-1.png
  26. 109
      docs/authors.html
  27. 148
      docs/docsearch.css
  28. 85
      docs/docsearch.js
  29. 464
      docs/index.html
  30. 9
      docs/jquery.sticky-kit.min.js
  31. 146
      docs/news/index.html
  32. 98
      docs/pkgdown.css
  33. 119
      docs/pkgdown.js
  34. 6
      docs/pkgdown.yml
  35. 76
      docs/reference/ArialNarrow.html
  36. 172
      docs/reference/PlexSans.html
  37. 82
      docs/reference/RobotoCondensed.html
  38. 178
      docs/reference/TitilliumWeb.html
  39. 201
      docs/reference/flush_ticks.html
  40. 169
      docs/reference/ft_cols.html
  41. 155
      docs/reference/ft_geom_defaults.html
  42. BIN
      docs/reference/ft_pal-1.png
  43. 160
      docs/reference/ft_pal.html
  44. BIN
      docs/reference/gg_check-1.png
  45. BIN
      docs/reference/gg_check-5.png
  46. BIN
      docs/reference/gg_check-7.png
  47. 97
      docs/reference/gg_check.html
  48. 78
      docs/reference/hrbrthemes-exports.html
  49. 83
      docs/reference/hrbrthemes.html
  50. 173
      docs/reference/import_plex_sans.html
  51. 78
      docs/reference/import_roboto_condensed.html
  52. 173
      docs/reference/import_titillium_web.html
  53. 341
      docs/reference/index.html
  54. 87
      docs/reference/ipsum.html
  55. BIN
      docs/reference/ipsum_pal-1.png
  56. BIN
      docs/reference/ipsum_pal-2.png
  57. BIN
      docs/reference/ipsum_pal-5.png
  58. 80
      docs/reference/ipsum_pal.html
  59. 171
      docs/reference/ipsum_pdf.html
  60. 155
      docs/reference/modern_geom_defaults.html
  61. 211
      docs/reference/scale_ft.html
  62. 125
      docs/reference/scale_ipsum.html
  63. 140
      docs/reference/scale_x_percent.html
  64. 149
      docs/reference/theme_ipsum.html
  65. 285
      docs/reference/theme_ipsum_ps.html
  66. 229
      docs/reference/theme_ipsum_rc.html
  67. 287
      docs/reference/theme_ipsum_tw.html
  68. 78
      docs/reference/update_geom_font_defaults.html
  69. 2
      man/ipsum.Rd

2
README.Rmd

@ -11,7 +11,7 @@ knitr::opts_chunk$set(collapse=TRUE, comment="##", fig.retina=2, fig.path = "REA
[![codecov](https://codecov.io/gh/hrbrmstr/hrbrthemes/branch/master/graph/badge.svg)](https://codecov.io/gh/hrbrmstr/hrbrthemes)
[![Travis-CI Build Status](https://travis-ci.org/hrbrmstr/hrbrthemes.svg?branch=master)](https://travis-ci.org/hrbrmstr/hrbrthemes)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/hrbrthemes)](https://cran.r-project.org/package=hrbrthemes)
![downloads](http://cranlogs.r-pkg.org/badges/grand-total/hrbrthemes)
![downloads](http://cranlogs.r-pkg.org/badges/grand-total/hrbrthemes)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2545422.svg)](https://doi.org/10.5281/zenodo.2545422)
----

2
README.md

@ -8,7 +8,7 @@ developed.](http://www.repostatus.org/badges/0.1.0/active.svg)](http://www.repos
[![Travis-CI Build
Status](https://travis-ci.org/hrbrmstr/hrbrthemes.svg?branch=master)](https://travis-ci.org/hrbrmstr/hrbrthemes)
[![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/hrbrthemes)](https://cran.r-project.org/package=hrbrthemes)
![downloads](http://cranlogs.r-pkg.org/badges/grand-total/hrbrthemes)
![downloads](http://cranlogs.r-pkg.org/badges/grand-total/hrbrthemes)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2545422.svg)](https://doi.org/10.5281/zenodo.2545422)
-----

BIN
README_figs/README-ft-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 77 KiB

BIN
README_figs/README-unnamed-chunk-10-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 83 KiB

BIN
README_figs/README-unnamed-chunk-11-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 KiB

After

Width:  |  Height:  |  Size: 158 KiB

BIN
README_figs/README-unnamed-chunk-12-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 95 KiB

BIN
README_figs/README-unnamed-chunk-13-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 61 KiB

BIN
README_figs/README-unnamed-chunk-5-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 78 KiB

BIN
README_figs/README-unnamed-chunk-6-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 74 KiB

BIN
README_figs/README-unnamed-chunk-7-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 KiB

After

Width:  |  Height:  |  Size: 206 KiB

BIN
README_figs/README-unnamed-chunk-8-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 KiB

After

Width:  |  Height:  |  Size: 213 KiB

BIN
README_figs/README-unnamed-chunk-9-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 83 KiB

147
docs/CONDUCT.html

@ -0,0 +1,147 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contributor Code of Conduct • hrbrthemes</title>
<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="pkgdown.css" rel="stylesheet">
<script src="pkgdown.js"></script>
<meta property="og:title" content="Contributor Code of Conduct" />
<!-- mathjax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-title-body">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a class="navbar-link" href="index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header>
<div class="row">
<div class="contents col-md-9">
<div class="page-header">
<h1>Contributor Code of Conduct</h1>
</div>
<div id="contributor-code-of-conduct" class="section level1">
<p>As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.</p>
<p>We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.</p>
<p>Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.</p>
<p>Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.</p>
<p>Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.</p>
<p>This Code of Conduct is adapted from the Contributor Covenant (<a href="http:contributor-covenant.org" class="uri">http:contributor-covenant.org</a>), version 1.0.0, available at <a href="http://contributor-covenant.org/version/1/0/0/" class="uri">http://contributor-covenant.org/version/1/0/0/</a></p>
</div>
</div>
</div>
<footer>
<div class="copyright">
<p>Developed by Bob Rudis.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

141
docs/LICENSE-text.html

@ -0,0 +1,141 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>License • hrbrthemes</title>
<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="pkgdown.css" rel="stylesheet">
<script src="pkgdown.js"></script>
<meta property="og:title" content="License" />
<!-- mathjax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-title-body">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a class="navbar-link" href="index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header>
<div class="row">
<div class="contents col-md-9">
<div class="page-header">
<h1>License</h1>
</div>
<pre>YEAR: 2017
COPYRIGHT HOLDER: Bob Rudis
</pre>
</div>
</div>
<footer>
<div class="copyright">
<p>Developed by Bob Rudis.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

108
docs/LICENSE.html

@ -1,108 +0,0 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>License • hrbrthemes</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<!-- pkgdown -->
<link href="pkgdown.css" rel="stylesheet">
<script src="jquery.sticky-kit.min.js"></script>
<script src="pkgdown.js"></script>
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-license">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">hrbrthemes</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="reference/index.html">Reference</a>
</li>
<li>
<a href="articles/index.html">Articles</a>
</li>
<li>
<a href="news/index.html">News</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header>
<div class="row">
<div class="contents col-md-12">
<div class="page-header">
<h1>License</h1>
</div>
<pre>YEAR: 2017
COPYRIGHT HOLDER: Bob Rudis
</pre>
</div>
</div>
<footer>
<div class="copyright">
<p>Developed by Bob Rudis.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
</div>
</footer>
</div>
</body>
</html>

BIN
docs/README_figs/README-unnamed-chunk-10-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

BIN
docs/README_figs/README-unnamed-chunk-11-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

BIN
docs/README_figs/README-unnamed-chunk-5-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

BIN
docs/README_figs/README-unnamed-chunk-6-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

BIN
docs/README_figs/README-unnamed-chunk-7-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

BIN
docs/README_figs/README-unnamed-chunk-8-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

BIN
docs/README_figs/README-unnamed-chunk-9-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB

79
docs/articles/index.html

@ -1,6 +1,6 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -9,24 +9,34 @@
<title>Articles • hrbrthemes</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../jquery.sticky-kit.min.js"></script>
<script src="../pkgdown.js"></script>
<meta property="og:title" content="Articles" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@ -37,39 +47,60 @@
</head>
<body>
<div class="container template-vignette-index">
<div class="container template-article-index">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../reference/index.html">Reference</a>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../articles/index.html">Articles</a>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">News</a>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
@ -77,12 +108,12 @@
</header>
<div class="page-header">
<h1>Articles <small>version&nbsp;0.3.2</small></h1>
</div>
<div class="row">
<div class="col-md-9">
<div class="col-md-9 contents">
<div class="page-header">
<h1>Articles</h1>
</div>
<div class="section ">
<h3>All vignettes</h3>
<p class="section-desc"></p>
@ -100,11 +131,13 @@
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

72
docs/articles/why_hrbrthemes.html

@ -1,46 +1,69 @@
<!DOCTYPE html>
<!-- Generated by pkgdown: do not edit by hand --><html>
<!-- Generated by pkgdown: do not edit by hand --><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Why hrbrthemes? • hrbrthemes</title>
<!-- jquery --><script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script><!-- Bootstrap --><link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script><!-- Font Awesome icons --><link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<!-- pkgdown --><link href="../pkgdown.css" rel="stylesheet">
<script src="../jquery.sticky-kit.min.js"></script><script src="../pkgdown.js"></script><!-- mathjax --><script src="https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script><!--[if lt IE 9]>
<!-- jquery --><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script><!-- Bootstrap --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous">
<!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script><!-- sticky kit --><script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script><!-- pkgdown --><link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script><meta property="og:title" content="Why hrbrthemes?">
<meta property="og:description" content="">
<meta name="twitter:card" content="summary">
<!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-vignette">
<div class="container template-article">
<header><div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/index.html">Articles</a>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">News</a>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
@ -55,18 +78,21 @@
</header><div class="row">
<div class="col-md-9">
<div class="col-md-9 contents">
<div class="page-header toc-ignore">
<h1>Why hrbrthemes?</h1>
<h4 class="author">Bob Rudis</h4>
<h4 class="date">2017-06-22</h4>
</div>
<h4 class="date">2019-01-21</h4>
<small class="dont-index">Source: <a href="https://github.com/hrbrmstr/hrbrthemes/blob/master/vignettes/why_hrbrthemes.Rmd"><code>vignettes/why_hrbrthemes.Rmd</code></a></small>
<div class="hidden name"><code>why_hrbrthemes.Rmd</code></div>
</div>
<div class="contents">
<p>The <code>hrbrthemes</code> pacakge has two goals. First, it provides a base theme that focuses on typographic elements, including where various labels are placed as well as the fonts that are used. The second goal centers around productivity for a production workflow. In fact, this “production workflow” is the context for where the elements of <code>hrbrthemes</code> should be used.</p>
<p>The <code>hrbrthemes</code> package has two goals. First, it provides a base theme that focuses on typographic elements, including where various labels are placed as well as the fonts that are used. The second goal centers around productivity for a production workflow. In fact, this “production workflow” is the context for where the elements of <code>hrbrthemes</code> should be used.</p>
<p>A “production workflow” is when you intend for the output of your work to be put into a publication of some kind, whether it be a blog post, academic paper, presentation, internal report or industry publication. When you’re cranking through an analysis, the visual elements don’t need to be perfect. They are there to validate/support your work and are more of a starting point for the finished product than anything else. The level of attention to detail on the final graphical products can be a great motivator for your audience to either dive deep into your analysis text or relegate it to the TLDR pile.</p>
<div id="font-fundamentals" class="section level2">
<h2 class="hasAnchor">
@ -103,9 +129,7 @@
<a href="#tabula-figura" class="anchor"></a>Tabula Figura</h3>
<p>Tabular digits line up when placed on top of each other. Proportional ones do not. This is best explained visually:</p>
<center>
<div class="figure">
<img src="numbers.png">
</div>
<p><img src="numbers.png"></p>
</center>
<p>Can you spot the proportional digits from the tabular ones? (Hint: there are two of each.)</p>
<p>Proportional digits stand out (in a “yes, I just spilled sriracha on my white shirt” way) when used on the Y axis of a chart and the numeric labels contain numbers of varying widths (like Hind and Encode Sans Condensed in the example above). Using proportional digits will be one further, subtle, subliminal message to viewers that there is something not-quite-awesome about your creation.</p>
@ -124,9 +148,7 @@
<p>Ideally, you’d use a font with a broad diversity of <em>weights</em>. The term <em>weight</em> can be though of as a numeric scale (the one used here was introduced by TrueType) between 100 and 900 (usually at 100 or 200 increments) or with names ranging from “hairline” through “ultra-black”.</p>
<p>Take Open Sans, for example:</p>
<center>
<div class="figure">
<img src="weights.png">
</div>
<p><img src="weights.png"></p>
</center>
<p>There is plenty of room to work with in Open Sans. You can embolden the title, but mute the other labels and choose appropriate label fonts to both enhance style as well as reduce importance. Lighter weights are great for captions and even some direct annotations. Heaver weights should be used sparingly and for emphasis.</p>
</div>
@ -143,7 +165,6 @@
<p><code>hrbrthemes</code> makes opinionated choices over the spacing between title elements and all labels. For some elements, it makes very new choices (such as the justification of the axis labels).</p>
<p>The font choices you make may cause you to adjust the <code>hrbrthemes</code> defaults, especially if you choose a font with a wonky line-height.</p>
</div>
</div>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
@ -165,11 +186,12 @@
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

BIN
docs/articles/why_hrbrthemes_files/figure-html/unnamed-chunk-1-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 110 KiB

109
docs/authors.html

@ -1,6 +1,6 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -9,24 +9,34 @@
<title>Authors • hrbrthemes</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="pkgdown.css" rel="stylesheet">
<script src="jquery.sticky-kit.min.js"></script>
<script src="pkgdown.js"></script>
<meta property="og:title" content="Authors" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@ -42,34 +52,55 @@
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="reference/index.html">Reference</a>
<a href="index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="articles/index.html">Articles</a>
<a href="reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="news/index.html">News</a>
<a href="news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
@ -77,20 +108,52 @@
</header>
<div class="row">
<div class="contents col-md-12">
<div class="row">
<div class="contents col-md-9">
<div class="page-header">
<h1>Authors</h1>
</div>
<ul class="list-unstyled">
<li>
<p><strong>Bob Rudis</strong>. Author, maintainer.
<p><strong>Bob Rudis</strong>. Author, maintainer. <a href='https://orcid.org/0000-0001-5670-2640' target='orcid.widget'><img src='https://members.orcid.org/sites/default/files/vector_iD_icon.svg' class='orcid' alt='ORCID' height='16'></a>
</p>
</li>
<li>
<p><strong>Patrick Kennedy</strong>. Contributor.
</p>
</li>
<li>
<p><strong>Philipp Reiner</strong>. Contributor.
</p>
</li>
<li>
<p><strong>Dan Wilson</strong>. Contributor.
<br /><small>Secondary axis support</small></p>
</li>
<li>
<p><strong>Xavier Adam</strong>. Contributor.
</p>
</li>
<li>
<p><strong>Google</strong>. Copyright holder.
<br /><small>Roboto Condensed & Titillium Web Fonts</small></p>
</li>
<li>
<p><strong>IBM</strong>. Copyright holder.
<br /><small>Plex Sans Font</small></p>
</li>
<li>
<p><strong>Jacob Barnett</strong>. Contributor.
</p>
</li>
<li>
<p><strong>Google</strong>. Copyright&nbsp;holder.
<br /><small>Roboto Condensed Font</small></p>
<p><strong>Thomas J. Leeper</strong>. Contributor. <a href='https://orcid.org/0000-0003-4097-6326' target='orcid.widget'><img src='https://members.orcid.org/sites/default/files/vector_iD_icon.svg' class='orcid' alt='ORCID' height='16'></a>
</p>
</li>
<li>
<p><strong>Joris Meys</strong>. Contributor.
</p>
</li>
</ul>
@ -105,11 +168,13 @@
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

148
docs/docsearch.css

File diff suppressed because one or more lines are too long

85
docs/docsearch.js

@ -0,0 +1,85 @@
$(function() {
// register a handler to move the focus to the search bar
// upon pressing shift + "/" (i.e. "?")
$(document).on('keydown', function(e) {
if (e.shiftKey && e.keyCode == 191) {
e.preventDefault();
$("#search-input").focus();
}
});
$(document).ready(function() {
// do keyword highlighting
/* modified from https://jsfiddle.net/julmot/bL6bb5oo/ */
var mark = function() {
var referrer = document.URL ;
var paramKey = "q" ;
if (referrer.indexOf("?") !== -1) {
var qs = referrer.substr(referrer.indexOf('?') + 1);
var qs_noanchor = qs.split('#')[0];
var qsa = qs_noanchor.split('&');
var keyword = "";
for (var i = 0; i < qsa.length; i++) {
var currentParam = qsa[i].split('=');
if (currentParam.length !== 2) {
continue;
}
if (currentParam[0] == paramKey) {
keyword = decodeURIComponent(currentParam[1].replace(/\+/g, "%20"));
}
}
if (keyword !== "") {
$(".contents").unmark({
done: function() {
$(".contents").mark(keyword);
}
});
}
}
};
mark();
});
});
/* Search term highlighting ------------------------------*/
function matchedWords(hit) {
var words = [];
var hierarchy = hit._highlightResult.hierarchy;
// loop to fetch from lvl0, lvl1, etc.
for (var idx in hierarchy) {
words = words.concat(hierarchy[idx].matchedWords);
}
var content = hit._highlightResult.content;
if (content) {
words = words.concat(content.matchedWords);
}
// return unique words
var words_uniq = [...new Set(words)];
return words_uniq;
}
function updateHitURL(hit) {
var words = matchedWords(hit);
var url = "";
if (hit.anchor) {
url = hit.url_without_anchor + '?q=' + escape(words.join(" ")) + '#' + hit.anchor;
} else {
url = hit.url + '?q=' + escape(words.join(" "));
}
return url;
}

464
docs/index.html

@ -1,46 +1,74 @@
<!DOCTYPE html>
<!-- Generated by pkgdown: do not edit by hand --><html>
<!-- Generated by pkgdown: do not edit by hand --><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Additional Themes, Theme Components and Utilities for 'ggplot2' • hrbrthemes</title>
<!-- jquery --><script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script><!-- Bootstrap --><link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script><!-- Font Awesome icons --><link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<!-- pkgdown --><link href="pkgdown.css" rel="stylesheet">
<script src="jquery.sticky-kit.min.js"></script><script src="pkgdown.js"></script><!-- mathjax --><script src="https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script><!--[if lt IE 9]>
<!-- jquery --><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script><!-- Bootstrap --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous">
<!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script><!-- sticky kit --><script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script><!-- pkgdown --><link href="pkgdown.css" rel="stylesheet">
<script src="pkgdown.js"></script><meta property="og:title" content="Additional Themes, Theme Components and Utilities for 'ggplot2'">
<meta property="og:description" content="A compilation of extra 'ggplot2' themes, scales and utilities, including a
spell check function for plot label fields and an overall emphasis on typography.
A copy of the 'Google' font 'Roboto Condensed' &lt;https://github.com/google/roboto/&gt;
is also included along with a copy of the 'IBM' 'Plex Sans' &lt;https://github.com/IBM/type&gt;
and 'Titillium Web' &lt;https://fonts.google.com/specimen/Titillium+Web&gt; fonts
are also included to support their respective typography-oriented themes.">
<meta name="twitter:card" content="summary">
<!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-vignette">
<div class="container template-article">
<header><div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="articles/index.html">Articles</a>
<a href="articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="news/index.html">News</a>
<a href="news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
@ -55,203 +83,366 @@
</header><div class="row">
<div class="col-md-9">
<div class="col-md-9 contents">
<div class="contents">
<div id="hrbrthemes-additional-themes-and-theme-components-for-ggplot2" class="section level2">
<h2 class="hasAnchor">
<a href="#hrbrthemes-additional-themes-and-theme-components-for-ggplot2" class="anchor"></a><code>hrbrthemes</code> : Additional Themes and Theme Components for ‘ggplot2’</h2>
<p><a href="http://www.repostatus.org/#active"><img src="http://www.repostatus.org/badges/0.1.0/active.svg" alt="Project Status: Active - The project has reached a stable, usable state and is being actively developed."></a> <a href="https://codecov.io/gh/hrbrmstr/hrbrthemes"><img src="https://codecov.io/gh/hrbrmstr/hrbrthemes/branch/master/graph/badge.svg" alt="codecov"></a> <a href="https://travis-ci.org/hrbrmstr/hrbrthemes"><img src="https://travis-ci.org/hrbrmstr/hrbrthemes.svg?branch=master" alt="Travis-CI Build Status"></a> <a href="https://cran.r-project.org/package=hrbrthemes"><img src="http://www.r-pkg.org/badges/version/hrbrthemes" alt="CRAN_Status_Badge"></a> <img src="http://cranlogs.r-pkg.org/badges/grand-total/hrbrthemes" alt="downloads"><!-- [![keybase verified](https://img.shields.io/badge/keybase-verified-brightgreen.svg)](https://gist.github.com/hrbrmstr/be2f2c14fd78cac24697) --></p>
<p><a href="http://www.repostatus.org/#active"><img src="http://www.repostatus.org/badges/0.1.0/active.svg" alt="Project Status: Active - The project has reached a stable, usable state and is being actively developed."></a> <a href="https://codecov.io/gh/hrbrmstr/hrbrthemes"><img src="https://codecov.io/gh/hrbrmstr/hrbrthemes/branch/master/graph/badge.svg" alt="codecov"></a> <a href="https://travis-ci.org/hrbrmstr/hrbrthemes"><img src="https://travis-ci.org/hrbrmstr/hrbrthemes.svg?branch=master" alt="Travis-CI Build Status"></a> <a href="https://cran.r-project.org/package=hrbrthemes"><img src="http://www.r-pkg.org/badges/version/hrbrthemes" alt="CRAN_Status_Badge"></a> <img src="http://cranlogs.r-pkg.org/badges/grand-total/hrbrthemes" alt="downloads"><a href="https://doi.org/10.5281/zenodo.2545422"><img src="https://zenodo.org/badge/DOI/10.5281/zenodo.2545422.svg" alt="DOI"></a></p>
<hr>
<p>This is a very focused package that provides typography-centric themes and theme components for ggplot2. It’s a an extract/riff of <a href="http://github.com/hrbrmstr/hrbrmisc"><code>hrbrmisc</code></a> created by request.</p>
<p>The core theme: <code>theme_ipsum</code> (“ipsum” is Latin for “precise”) uses Arial Narrow which should be installed on practically any modern system, so it’s “free”-ish. This font is condensed, has solid default kerning pairs and geometric numbers. That’s what I consider the “font trifecta” must-have for charts. An additional quality for fonts for charts is that they have a diversity of weights. Arial Narrow (the one on most systems, anyway) does not have said diversity but this quality is not (IMO) a “must have”.</p>
<p>The following functions are implemented/objects are exported:</p>
<p>Themes:</p>
<ul>
<li>
<code>theme_ipsum</code> : Arial Narrow-based theme</li>
<code>theme_ft_rc</code>: A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy</li>
<li>
<code>theme_ipsum_rc</code> : Roboto Condensed-based theme</li>
<code>theme_ipsum</code>: A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typography</li>
<li>
<code>gg_check</code>: Spell check ggplot2 plot labels</li>
<code>theme_ipsum_ps</code>: A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy</li>
<li>
<code>theme_ipsum_rc</code>: A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy</li>
<li>
<code>update_geom_font_defaults</code>: Update matching font defaults for text geoms (the default is — unsurprisingly — Arial Narrow)</li>
<code>theme_ipsum_tw</code>: A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy</li>
<li>
<code>scale_x_comma</code> / <code>scale_y_comma</code> : Comma format for axis text and <code>expand=c(0,0)</code> (you need to set limits)</li>
<code>theme_modern_rc</code>: A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy</li>
</ul>
<p>Scales (that align with various themes):</p>
<ul>
<li>
<code>scale_color_ft</code>: Discrete color &amp; fill scales based on the FT palette</li>
<li>
<code>scale_color_ipsum</code>: Discrete color &amp; fill scales based on the ipsum palette</li>
<li>
<code>scale_colour_ft</code>: Discrete color &amp; fill scales based on the FT palette</li>
<li>
<code>scale_x_percent</code> / <code>scale_y_percent</code> : Percent format for axis text and <code>expand=c(0,0)</code> (you need to set limits)</li>
<code>scale_colour_ipsum</code>: Discrete color &amp; fill scales based on the ipsum palette</li>
<li>
<code>scale_color_ipsum</code> / <code>scale_fill_ipsum</code> / <code>ipsum_pal</code> : A muted discrete color palette with 9 colors</li>
<code>scale_fill_ft</code>: Discrete color &amp; fill scales based on the FT palette</li>
<li>
<code>font_an</code>: a short global alias for “<code>Arial Narrow</code></li>
<code>scale_fill_ipsum</code>: Discrete color &amp; fill scales based on the ipsum palette</li>
<li>
<code>font_rc</code>: a short global alias for “<code>Roboto Condensed</code></li>
<code>scale_x_comma</code>: X &amp; Y scales with opinionated pre-sets for percent &amp; comma label formats</li>
<li>
<code>font_rc_light</code>: a short global alias for “<code>Roboto Condensed Light</code></li>
<code>scale_x_percent</code>: X &amp; Y scales with opinionated pre-sets for percent &amp; comma label formats</li>
<li>
<code>scale_y_comma</code>: X &amp; Y scales with opinionated pre-sets for percent &amp; comma label formats</li>
<li>
<code>scale_y_percent</code>: X &amp; Y scales with opinionated pre-sets for percent &amp; comma label formats</li>
</ul>
<p>Palettes/Named Colors:</p>
<ul>
<li>
<code>ipsum_pal</code>: A muted, qualitative color palette</li>
<li>
<code>ft_cols</code>: FT color palette</li>
<li>
<code>ft_pal</code>: A bright qualitative color palette</li>
<li>
<code>ft_text_col</code>: FT color palette</li>
</ul>
<p>Fonts:</p>
<ul>
<li>
<code>font_an</code>: Arial Narrow font name R variable aliases</li>
<li>
<code>font_ps</code>: PlexSans font name R variable aliases</li>
<li>
<code>font_ps_light</code>: PlexSans font name R variable aliases</li>
<li>
<code>font_rc</code>: Roboto Condensed font name R variable aliases</li>
<li>
<code>font_rc_light</code>: Roboto Condensed font name R variable aliases</li>
<li>
<code>font_tw</code>: Titillium Web font name R variable aliases</li>
<li>
<code>font_tw_bold</code>: Titillium Web font name R variable aliases</li>
<li>
<code>font_tw_light</code>: Titillium Web font name R variable aliases</li>
</ul>
<p>R Markdown:</p>
<ul>
<li>
<code>ipsum</code>: ipsum R markdown template</li>
<li>
<code>ipsum_pdf</code>: ipsum R markdown template for PDF output</li>
</ul>
<p>Utilities:</p>
<ul>
<li>
<code>flush_ticks</code>: Makes axis text labels flush on the ends</li>
<li>
<code>ft_geom_defaults</code>: Change geom defaults from black to custom lights for the FT theme</li>
<li>
<code>gg_check</code>: Spell check ggplot2 plot labels</li>
<li>
<code>import_plex_sans</code>: Import IBM Plex Sans font for use in charts</li>
<li>
<code>import_roboto_condensed</code>: Import Roboto Condensed font for use in charts</li>
<li>
<code>import_titillium_web</code>: Import Titillium Web font for use in charts</li>
<li>
<code>modern_geom_defaults</code>: Change geom defaults from black to white for the modern theme</li>
<li>
<code>update_geom_font_defaults</code>: Update matching font defaults for text geoms</li>
</ul>
<div id="installation" class="section level3">
<h3 class="hasAnchor">
<a href="#installation" class="anchor"></a>Installation</h3>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">devtools<span class="op">::</span><span class="kw">install_github</span>(<span class="st">"hrbrmstr/hrbrthemes"</span>)</code></pre></div>
<div class="sourceCode" id="cb1"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb1-1" data-line-number="1">devtools<span class="op">::</span><span class="kw"><a href="https://www.rdocumentation.org/packages/devtools/topics/reexports">install_github</a></span>(<span class="st">"hrbrmstr/hrbrthemes"</span>)</a></code></pre></div>
</div>
<div id="usage" class="section level3">
<h3 class="hasAnchor">
<a href="#usage" class="anchor"></a>Usage</h3>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">library</span>(hrbrthemes)
<span class="kw">library</span>(gcookbook)
<span class="kw">library</span>(tidyverse)
<span class="co"># current verison</span>
<span class="kw">packageVersion</span>(<span class="st">"hrbrthemes"</span>)
## [1] '0.3.2'</code></pre></div>
<div class="sourceCode" id="cb2"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb2-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/library">library</a></span>(hrbrthemes)</a>
<a class="sourceLine" id="cb2-2" data-line-number="2"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/library">library</a></span>(gcookbook)</a>
<a class="sourceLine" id="cb2-3" data-line-number="3"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/library">library</a></span>(tidyverse)</a>
<a class="sourceLine" id="cb2-4" data-line-number="4"></a>
<a class="sourceLine" id="cb2-5" data-line-number="5"><span class="co"># current verison</span></a>
<a class="sourceLine" id="cb2-6" data-line-number="6"><span class="kw"><a href="https://www.rdocumentation.org/packages/utils/topics/packageDescription">packageVersion</a></span>(<span class="st">"hrbrthemes"</span>)</a>
<a class="sourceLine" id="cb2-7" data-line-number="7"><span class="co">## [1] '0.5.0'</span></a></code></pre></div>
</div>
<div id="base-theme-arial-narrow" class="section level3">
<h3 class="hasAnchor">
<a href="#base-theme-arial-narrow" class="anchor"></a>Base theme (Arial Narrow)</h3>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">ggplot</span>(mtcars, <span class="kw">aes</span>(mpg, wt)) <span class="op">+</span>
<span class="st"> </span><span class="kw">geom_point</span>() <span class="op">+</span>
<span class="st"> </span><span class="kw">labs</span>(<span class="dt">x=</span><span class="st">"Fuel effiiency (mpg)"</span>, <span class="dt">y=</span><span class="st">"Weight (tons)"</span>,
<span class="dt">title=</span><span class="st">"Seminal ggplot2 scatterplot example"</span>,
<span class="dt">subtitle=</span><span class="st">"A plot that is only useful for demonstration purposes"</span>,
<span class="dt">caption=</span><span class="st">"Brought to you by the letter 'g'"</span>) <span class="op">+</span><span class="st"> </span>
<span class="st"> </span><span class="kw"><a href="reference/theme_ipsum.html">theme_ipsum</a></span>()</code></pre></div>
<p><img src="README_figs/README-unnamed-chunk-5-1.png" width="672"></p>
<div class="sourceCode" id="cb3"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb3-1" data-line-number="1"><span class="kw">ggplot</span>(mtcars, <span class="kw">aes</span>(mpg, wt)) <span class="op">+</span></a>
<a class="sourceLine" id="cb3-2" data-line-number="2"><span class="st"> </span><span class="kw">geom_point</span>() <span class="op">+</span></a>
<a class="sourceLine" id="cb3-3" data-line-number="3"><span class="st"> </span><span class="kw">labs</span>(<span class="dt">x=</span><span class="st">"Fuel efficiency (mpg)"</span>, <span class="dt">y=</span><span class="st">"Weight (tons)"</span>,</a>
<a class="sourceLine" id="cb3-4" data-line-number="4"> <span class="dt">title=</span><span class="st">"Seminal ggplot2 scatterplot example"</span>,</a>
<a class="sourceLine" id="cb3-5" data-line-number="5"> <span class="dt">subtitle=</span><span class="st">"A plot that is only useful for demonstration purposes"</span>,</a>
<a class="sourceLine" id="cb3-6" data-line-number="6"> <span class="dt">caption=</span><span class="st">"Brought to you by the letter 'g'"</span>) <span class="op">+</span><span class="st"> </span></a>
<a class="sourceLine" id="cb3-7" data-line-number="7"><span class="st"> </span><span class="kw"><a href="reference/theme_ipsum.html">theme_ipsum</a></span>()</a></code></pre></div>
<p><img src="README_figs/README-unnamed-chunk-5-1.png" width="700"></p>
</div>
<div id="roboto-condensed" class="section level3">
<h3 class="hasAnchor">
<a href="#roboto-condensed" class="anchor"></a>Roboto Condensed</h3>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">ggplot</span>(mtcars, <span class="kw">aes</span>(mpg, wt)) <span class="op">+</span>
<span class="st"> </span><span class="kw">geom_point</span>() <span class="op">+</span>
<span class="st"> </span><span class="kw">labs</span>(<span class="dt">x=</span><span class="st">"Fuel effiiency (mpg)"</span>, <span class="dt">y=</span><span class="st">"Weight (tons)"</span>,
<span class="dt">title=</span><span class="st">"Seminal ggplot2 scatterplot example"</span>,
<span class="dt">subtitle=</span><span class="st">"A plot that is only useful for demonstration purposes"</span>,
<span class="dt">caption=</span><span class="st">"Brought to you by the letter 'g'"</span>) <span class="op">+</span><span class="st"> </span>
<span class="st"> </span><span class="kw"><a href="reference/theme_ipsum_rc.html">theme_ipsum_rc</a></span>()</code></pre></div>
<p><img src="README_figs/README-unnamed-chunk-6-1.png" width="672"></p>
<div class="sourceCode" id="cb4"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb4-1" data-line-number="1"><span class="kw">ggplot</span>(mtcars, <span class="kw">aes</span>(mpg, wt)) <span class="op">+</span></a>
<a class="sourceLine" id="cb4-2" data-line-number="2"><span class="st"> </span><span class="kw">geom_point</span>() <span class="op">+</span></a>
<a class="sourceLine" id="cb4-3" data-line-number="3"><span class="st"> </span><span class="kw">labs</span>(<span class="dt">x=</span><span class="st">"Fuel efficiency (mpg)"</span>, <span class="dt">y=</span><span class="st">"Weight (tons)"</span>,</a>
<a class="sourceLine" id="cb4-4" data-line-number="4"> <span class="dt">title=</span><span class="st">"Seminal ggplot2 scatterplot example"</span>,</a>
<a class="sourceLine" id="cb4-5" data-line-number="5"> <span class="dt">subtitle=</span><span class="st">"A plot that is only useful for demonstration purposes"</span>,</a>
<a class="sourceLine" id="cb4-6" data-line-number="6"> <span class="dt">caption=</span><span class="st">"Brought to you by the letter 'g'"</span>) <span class="op">+</span><span class="st"> </span></a>
<a class="sourceLine" id="cb4-7" data-line-number="7"><span class="st"> </span><span class="kw"><a href="reference/theme_ipsum_rc.html">theme_ipsum_rc</a></span>()</a></code></pre></div>
<p><img src="README_figs/README-unnamed-chunk-6-1.png" width="700"></p>
</div>
<div id="new-ft-theme" class="section level3">
<h3 class="hasAnchor">
<a href="#new-ft-theme" class="anchor"></a>New FT Theme!</h3>
<div class="sourceCode" id="cb5"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb5-1" data-line-number="1"><span class="kw">ggplot</span>(mtcars, <span class="kw">aes</span>(mpg, wt)) <span class="op">+</span></a>
<a class="sourceLine" id="cb5-2" data-line-number="2"><span class="st"> </span><span class="kw">geom_point</span>(<span class="dt">color =</span> ft_cols<span class="op">$</span>yellow) <span class="op">+</span></a>
<a class="sourceLine" id="cb5-3" data-line-number="3"><span class="st"> </span><span class="kw">labs</span>(<span class="dt">x=</span><span class="st">"Fuel efficiency (mpg)"</span>, <span class="dt">y=</span><span class="st">"Weight (tons)"</span>,</a>
<a class="sourceLine" id="cb5-4" data-line-number="4"> <span class="dt">title=</span><span class="st">"Seminal ggplot2 scatterplot example"</span>,</a>
<a class="sourceLine" id="cb5-5" data-line-number="5"> <span class="dt">subtitle=</span><span class="st">"A plot that is only useful for demonstration purposes"</span>,</a>
<a class="sourceLine" id="cb5-6" data-line-number="6"> <span class="dt">caption=</span><span class="st">"Brought to you by the letter 'g'"</span>) <span class="op">+</span><span class="st"> </span></a>
<a class="sourceLine" id="cb5-7" data-line-number="7"><span class="st"> </span><span class="kw"><a href="reference/theme_ipsum_rc.html">theme_ft_rc</a></span>()</a></code></pre></div>
<p><img src="README_figs/README-ft-1.png" width="700"></p>
</div>
<div id="ibm-plex-sans" class="section level3">
<h3 class="hasAnchor">
<a href="#ibm-plex-sans" class="anchor"></a>IBM Plex Sans</h3>
<div class="sourceCode" id="cb6"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb6-1" data-line-number="1"><span class="kw">ggplot</span>(mpg, <span class="kw">aes</span>(displ, hwy)) <span class="op">+</span></a>
<a class="sourceLine" id="cb6-2" data-line-number="2"><span class="st"> </span><span class="kw">geom_jitter</span>(<span class="kw">aes</span>(<span class="dt">color=</span>class, <span class="dt">fill=</span>class), <span class="dt">size=</span><span class="dv">3</span>, <span class="dt">shape=</span><span class="dv">21</span>, <span class="dt">alpha=</span><span class="dv">1</span><span class="op">/</span><span class="dv">2</span>) <span class="op">+</span></a>
<a class="sourceLine" id="cb6-3" data-line-number="3"><span class="st"> </span><span class="kw">scale_x_continuous</span>(<span class="dt">expand=</span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/c">c</a></span>(<span class="dv">0</span>,<span class="dv">0</span>), <span class="dt">limits=</span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/c">c</a></span>(<span class="dv">1</span>, <span class="dv">8</span>), <span class="dt">breaks=</span><span class="dv">1</span><span class="op">:</span><span class="dv">8</span>) <span class="op">+</span></a>
<a class="sourceLine" id="cb6-4" data-line-number="4"><span class="st"> </span><span class="kw">scale_y_continuous</span>(<span class="dt">expand=</span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/c">c</a></span>(<span class="dv">0</span>,<span class="dv">0</span>), <span class="dt">limits=</span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/c">c</a></span>(<span class="dv">10</span>, <span class="dv">50</span>)) <span class="op">+</span></a>
<a class="sourceLine" id="cb6-5" data-line-number="5"><span class="st"> </span><span class="kw"><a href="reference/scale_ipsum.html">scale_color_ipsum</a></span>() <span class="op">+</span></a>
<a class="sourceLine" id="cb6-6" data-line-number="6"><span class="st"> </span><span class="kw"><a href="reference/scale_ipsum.html">scale_fill_ipsum</a></span>() <span class="op">+</span></a>
<a class="sourceLine" id="cb6-7" data-line-number="7"><span class="st"> </span><span class="kw">facet_wrap</span>(<span class="op">~</span>class, <span class="dt">scales=</span><span class="st">"free"</span>) <span class="op">+</span></a>
<a class="sourceLine" id="cb6-8" data-line-number="8"><span class="st"> </span><span class="kw">labs</span>(</a>
<a class="sourceLine" id="cb6-9" data-line-number="9"> <span class="dt">title=</span><span class="st">"IBM Plex Sans Test"</span>,</a>
<a class="sourceLine" id="cb6-10" data-line-number="10"> <span class="dt">subtitle=</span><span class="st">"This is a subtitle to see the how it looks in IBM Plex Sans"</span>,</a>
<a class="sourceLine" id="cb6-11" data-line-number="11"> <span class="dt">caption=</span><span class="st">"Source: hrbrthemes &amp; IBM"</span></a>
<a class="sourceLine" id="cb6-12" data-line-number="12"> ) <span class="op">+</span></a>
<a class="sourceLine" id="cb6-13" data-line-number="13"><span class="st"> </span><span class="kw"><a href="reference/theme_ipsum_ps.html">theme_ipsum_ps</a></span>(<span class="dt">grid=</span><span class="st">"XY"</span>, <span class="dt">axis=</span><span class="st">"xy"</span>) <span class="op">+</span></a>
<a class="sourceLine" id="cb6-14" data-line-number="14"><span class="st"> </span><span class="kw">theme</span>(<span class="dt">legend.position=</span><span class="st">"none"</span>) -&gt;<span class="st"> </span>gg</a>
<a class="sourceLine" id="cb6-15" data-line-number="15"></a>
<a class="sourceLine" id="cb6-16" data-line-number="16"><span class="kw"><a href="reference/flush_ticks.html">flush_ticks</a></span>(gg)</a>
<a class="sourceLine" id="cb6-17" data-line-number="17"><span class="co">## theme(axis.text.x=element_text(hjust=c(0, rep(0.5, 6), 1))) +</span></a>
<a class="sourceLine" id="cb6-18" data-line-number="18"><span class="co">## theme(axis.text.y=element_text(vjust=c(0, rep(0.5, 3), 1)))</span></a></code></pre></div>
<p><img src="README_figs/README-unnamed-chunk-7-1.png" width="960"></p>
</div>
<div id="titillium-web" class="section level3">
<h3 class="hasAnchor">
<a href="#titillium-web" class="anchor"></a>Titillium Web</h3>
<div class="sourceCode" id="cb7"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb7-1" data-line-number="1"><span class="kw">ggplot</span>(mpg, <span class="kw">aes</span>(displ, hwy)) <span class="op">+</span></a>
<a class="sourceLine" id="cb7-2" data-line-number="2"><span class="st"> </span><span class="kw">geom_jitter</span>(<span class="kw">aes</span>(<span class="dt">color=</span>class, <span class="dt">fill=</span>class), <span class="dt">size=</span><span class="dv">3</span>, <span class="dt">shape=</span><span class="dv">21</span>, <span class="dt">alpha=</span><span class="dv">1</span><span class="op">/</span><span class="dv">2</span>) <span class="op">+</span></a>
<a class="sourceLine" id="cb7-3" data-line-number="3"><span class="st"> </span><span class="kw">scale_x_continuous</span>(<span class="dt">expand=</span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/c">c</a></span>(<span class="dv">0</span>,<span class="dv">0</span>), <span class="dt">limits=</span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/c">c</a></span>(<span class="dv">1</span>, <span class="dv">8</span>), <span class="dt">breaks=</span><span class="dv">1</span><span class="op">:</span><span class="dv">8</span>) <span class="op">+</span></a>
<a class="sourceLine" id="cb7-4" data-line-number="4"><span class="st"> </span><span class="kw">scale_y_continuous</span>(<span class="dt">expand=</span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/c">c</a></span>(<span class="dv">0</span>,<span class="dv">0</span>), <span class="dt">limits=</span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/c">c</a></span>(<span class="dv">10</span>, <span class="dv">50</span>)) <span class="op">+</span></a>
<a class="sourceLine" id="cb7-5" data-line-number="5"><span class="st"> </span><span class="kw"><a href="reference/scale_ipsum.html">scale_color_ipsum</a></span>() <span class="op">+</span></a>
<a class="sourceLine" id="cb7-6" data-line-number="6"><span class="st"> </span><span class="kw"><a href="reference/scale_ipsum.html">scale_fill_ipsum</a></span>() <span class="op">+</span></a>
<a class="sourceLine" id="cb7-7" data-line-number="7"><span class="st"> </span><span class="kw">facet_wrap</span>(<span class="op">~</span>class, <span class="dt">scales=</span><span class="st">"free"</span>) <span class="op">+</span></a>
<a class="sourceLine" id="cb7-8" data-line-number="8"><span class="st"> </span><span class="kw">labs</span>(</a>
<a class="sourceLine" id="cb7-9" data-line-number="9"> <span class="dt">title=</span><span class="st">"Titillium Web"</span>,</a>
<a class="sourceLine" id="cb7-10" data-line-number="10"> <span class="dt">subtitle=</span><span class="st">"This is a subtitle to see the how it looks in Titillium Web"</span>,</a>
<a class="sourceLine" id="cb7-11" data-line-number="11"> <span class="dt">caption=</span><span class="st">"Source: hrbrthemes &amp; Google"</span></a>
<a class="sourceLine" id="cb7-12" data-line-number="12"> ) <span class="op">+</span></a>
<a class="sourceLine" id="cb7-13" data-line-number="13"><span class="st"> </span><span class="kw"><a href="reference/theme_ipsum_tw.html">theme_ipsum_tw</a></span>(<span class="dt">grid=</span><span class="st">"XY"</span>, <span class="dt">axis=</span><span class="st">"xy"</span>) <span class="op">+</span></a>
<a class="sourceLine" id="cb7-14" data-line-number="14"><span class="st"> </span><span class="kw">theme</span>(<span class="dt">legend.position=</span><span class="st">"none"</span>) -&gt;<span class="st"> </span>gg</a>
<a class="sourceLine" id="cb7-15" data-line-number="15"></a>
<a class="sourceLine" id="cb7-16" data-line-number="16"><span class="kw"><a href="reference/flush_ticks.html">flush_ticks</a></span>(gg)</a>
<a class="sourceLine" id="cb7-17" data-line-number="17"><span class="co">## theme(axis.text.x=element_text(hjust=c(0, rep(0.5, 6), 1))) +</span></a>
<a class="sourceLine" id="cb7-18" data-line-number="18"><span class="co">## theme(axis.text.y=element_text(vjust=c(0, rep(0.5, 3), 1)))</span></a></code></pre></div>
<p><img src="README_figs/README-unnamed-chunk-8-1.png" width="960"></p>
</div>
<div id="scales-colorfill" class="section level3">
<h3 class="hasAnchor">
<a href="#scales-colorfill" class="anchor"></a>Scales (Color/Fill)</h3>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">ggplot</span>(mtcars, <span class="kw">aes</span>(mpg, wt)) <span class="op">+</span>
<span class="st"> </span><span class="kw">geom_point</span>(<span class="kw">aes</span>(<span class="dt">color=</span><span class="kw">factor</span>(carb))) <span class="op">+</span>
<span class="st"> </span><span class="kw">labs</span>(<span class="dt">x=</span><span class="st">"Fuel effiiency (mpg)"</span>, <span class="dt">y=</span><span class="st">"Weight (tons)"</span>,
<span class="dt">title=</span><span class="st">"Seminal ggplot2 scatterplot example"</span>,
<span class="dt">subtitle=</span><span class="st">"A plot that is only useful for demonstration purposes"</span>,
<span class="dt">caption=</span><span class="st">"Brought to you by the letter 'g'"</span>) <span class="op">+</span><span class="st"> </span>
<span class="st"> </span><span class="kw"><a href="reference/scale_ipsum.html">scale_color_ipsum</a></span>() <span class="op">+</span>
<span class="st"> </span><span class="kw"><a href="reference/theme_ipsum_rc.html">theme_ipsum_rc</a></span>()</code></pre></div>
<p><img src="README_figs/README-unnamed-chunk-7-1.png" width="672"></p>
<div class="sourceCode" id="cb8"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb8-1" data-line-number="1"><span class="kw">ggplot</span>(mtcars, <span class="kw">aes</span>(mpg, wt)) <span class="op">+</span></a>
<a class="sourceLine" id="cb8-2" data-line-number="2"><span class="st"> </span><span class="kw">geom_point</span>(<span class="kw">aes</span>(<span class="dt">color=</span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/factor">factor</a></span>(carb))) <span class="op">+</span></a>
<a class="sourceLine" id="cb8-3" data-line-number="3"><span class="st"> </span><span class="kw">labs</span>(<span class="dt">x=</span><span class="st">"Fuel efficiency (mpg)"</span>, <span class="dt">y=</span><span class="st">"Weight (tons)"</span>,</a>
<a class="sourceLine" id="cb8-4" data-line-number="4"> <span class="dt">title=</span><span class="st">"Seminal ggplot2 scatterplot example"</span>,</a>
<a class="sourceLine" id="cb8-5" data-line-number="5"> <span class="dt">subtitle=</span><span class="st">"A plot that is only useful for demonstration purposes"</span>,</a>
<a class="sourceLine" id="cb8-6" data-line-number="6"> <span class="dt">caption=</span><span class="st">"Brought to you by the letter 'g'"</span>) <span class="op">+</span><span class="st"> </span></a>
<a class="sourceLine" id="cb8-7" data-line-number="7"><span class="st"> </span><span class="kw"><a href="reference/scale_ipsum.html">scale_color_ipsum</a></span>() <span class="op">+</span></a>
<a class="sourceLine" id="cb8-8" data-line-number="8"><span class="st"> </span><span class="kw"><a href="reference/theme_ipsum_rc.html">theme_ipsum_rc</a></span>()</a></code></pre></div>
<p><img src="README_figs/README-unnamed-chunk-9-1.png" width="700"></p>
</div>
<div id="scales-axis" class="section level3">
<h3 class="hasAnchor">
<a href="#scales-axis" class="anchor"></a>Scales (Axis)</h3>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">count</span>(mpg, class) <span class="op">%&gt;%</span><span class="st"> </span>
<span class="st"> </span><span class="kw">mutate</span>(<span class="dt">pct=</span>n<span class="op">/</span><span class="kw">sum</span>(n)) <span class="op">%&gt;%</span><span class="st"> </span>
<span class="st"> </span><span class="kw">ggplot</span>(<span class="kw">aes</span>(class, pct)) <span class="op">+</span>
<span class="st"> </span><span class="kw">geom_col</span>() <span class="op">+</span>
<span class="st"> </span><span class="kw"><a href="reference/scale_x_percent.html">scale_y_percent</a></span>() <span class="op">+</span>
<span class="st"> </span><span class="kw">labs</span>(<span class="dt">x=</span><span class="st">"Fuel effiiency (mpg)"</span>, <span class="dt">y=</span><span class="st">"Weight (tons)"</span>,
<span class="dt">title=</span><span class="st">"Seminal ggplot2 column chart example with percents"</span>,
<span class="dt">subtitle=</span><span class="st">"A plot that is only useful for demonstration purposes"</span>,
<span class="dt">caption=</span><span class="st">"Brought to you by the letter 'g'"</span>) <span class="op">+</span><span class="st"> </span>
<span class="st"> </span><span class="kw"><a href="reference/theme_ipsum.html">theme_ipsum</a></span>(<span class="dt">grid=</span><span class="st">"Y"</span>)</code></pre></div>
<p><img src="README_figs/README-unnamed-chunk-8-1.png" width="672"></p>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">ggplot</span>(uspopage, <span class="kw">aes</span>(<span class="dt">x=</span>Year, <span class="dt">y=</span>Thousands, <span class="dt">fill=</span>AgeGroup)) <span class="op">+</span><span class="st"> </span>
<span class="st"> </span><span class="kw">geom_area</span>() <span class="op">+</span>
<span class="st"> </span><span class="kw"><a href="reference/scale_ipsum.html">scale_fill_ipsum</a></span>() <span class="op">+</span>
<span class="st"> </span><span class="kw">scale_x_continuous</span>(<span class="dt">expand=</span><span class="kw">c</span>(<span class="dv">0</span>,<span class="dv">0</span>)) <span class="op">+</span>
<span class="st"> </span><span class="kw"><a href="reference/scale_x_percent.html">scale_y_comma</a></span>() <span class="op">+</span>
<span class="st"> </span><span class="kw">labs</span>(<span class="dt">title=</span><span class="st">"Age distribution of population in the U.S., 1900-2002"</span>,
<span class="dt">subtitle=</span><span class="st">"Example data from the R Graphics Cookbook"</span>,
<span class="dt">caption=</span><span class="st">"Source: R Graphics Cookbook"</span>) <span class="op">+</span>
<span class="st"> </span><span class="kw"><a href="reference/theme_ipsum_rc.html">theme_ipsum_rc</a></span>(<span class="dt">grid=</span><span class="st">"XY"</span>) <span class="op">+</span>
<span class="st"> </span><span class="kw">theme</span>(<span class="dt">axis.text.x=</span><span class="kw">element_text</span>(<span class="dt">hjust=</span><span class="kw">c</span>(<span class="dv">0</span>, <span class="fl">0.5</span>, <span class="fl">0.5</span>, <span class="fl">0.5</span>, <span class="dv">1</span>))) <span class="op">+</span>
<span class="st"> </span><span class="kw">theme</span>(<span class="dt">legend.position=</span><span class="st">"bottom"</span>)</code></pre></div>
<p><img src="README_figs/README-unnamed-chunk-9-1.png" width="672"></p>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw"><a href="reference/update_geom_font_defaults.html">update_geom_font_defaults</a></span>(font_rc_light)
<span class="kw">count</span>(mpg, class) <span class="op">%&gt;%</span><span class="st"> </span>
<span class="st"> </span><span class="kw">mutate</span>(<span class="dt">n=</span>n<span class="op">*</span><span class="dv">2000</span>) <span class="op">%&gt;%</span><span class="st"> </span>
<span class="st"> </span><span class="kw">arrange</span>(n) <span class="op">%&gt;%</span><span class="st"> </span>
<span class="st"> </span><span class="kw">mutate</span>(<span class="dt">class=</span><span class="kw">factor</span>(class, <span class="dt">levels=</span>class)) <span class="op">%&gt;%</span><span class="st"> </span>
<span class="st"> </span><span class="kw">ggplot</span>(<span class="kw">aes</span>(class, n)) <span class="op">+</span>
<span class="st"> </span><span class="kw">geom_col</span>() <span class="op">+</span>
<span class="st"> </span><span class="kw">geom_text</span>(<span class="kw">aes</span>(<span class="dt">label=</span>scales<span class="op">::</span><span class="kw">comma</span>(n)), <span class="dt">hjust=</span><span class="dv">0</span>, <span class="dt">nudge_y=</span><span class="dv">2000</span>) <span class="op">+</span>
<span class="st"> </span><span class="kw"><a href="reference/scale_x_percent.html">scale_y_comma</a></span>(<span class="dt">limits=</span><span class="kw">c</span>(<span class="dv">0</span>,<span class="dv">150000</span>)) <span class="op">+</span>
<span class="st"> </span><span class="kw">coord_flip</span>() <span class="op">+</span>
<span class="st"> </span><span class="kw">labs</span>(<span class="dt">x=</span><span class="st">"Fuel effiiency (mpg)"</span>, <span class="dt">y=</span><span class="st">"Weight (tons)"</span>,
<span class="dt">title=</span><span class="st">"Seminal ggplot2 column chart example with commas"</span>,
<span class="dt">subtitle=</span><span class="st">"A plot that is only useful for demonstration purposes, esp since you'd never</span><span class="ch">\n</span><span class="st">really want direct labels and axis labels"</span>,
<span class="dt">caption=</span><span class="st">"Brought to you by the letter 'g'"</span>) <span class="op">+</span><span class="st"> </span>
<span class="st"> </span><span class="kw"><a href="reference/theme_ipsum_rc.html">theme_ipsum_rc</a></span>(<span class="dt">grid=</span><span class="st">"X"</span>)</code></pre></div>
<p><img src="README_figs/README-unnamed-chunk-10-1.png" width="672"></p>
<div class="sourceCode" id="cb9"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb9-1" data-line-number="1"><span class="kw">count</span>(mpg, class) <span class="op">%&gt;%</span><span class="st"> </span></a>
<a class="sourceLine" id="cb9-2" data-line-number="2"><span class="st"> </span><span class="kw">mutate</span>(<span class="dt">pct=</span>n<span class="op">/</span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/sum">sum</a></span>(n)) <span class="op">%&gt;%</span><span class="st"> </span></a>
<a class="sourceLine" id="cb9-3" data-line-number="3"><span class="st"> </span><span class="kw">ggplot</span>(<span class="kw">aes</span>(class, pct)) <span class="op">+</span></a>
<a class="sourceLine" id="cb9-4" data-line-number="4"><span class="st"> </span><span class="kw">geom_col</span>() <span class="op">+</span></a>
<a class="sourceLine" id="cb9-5" data-line-number="5"><span class="st"> </span><span class="kw"><a href="reference/scale_x_percent.html">scale_y_percent</a></span>() <span class="op">+</span></a>
<a class="sourceLine" id="cb9-6" data-line-number="6"><span class="st"> </span><span class="kw">labs</span>(<span class="dt">x=</span><span class="st">"Fuel efficiency (mpg)"</span>, <span class="dt">y=</span><span class="st">"Weight (tons)"</span>,</a>
<a class="sourceLine" id="cb9-7" data-line-number="7"> <span class="dt">title=</span><span class="st">"Seminal ggplot2 column chart example with percents"</span>,</a>
<a class="sourceLine" id="cb9-8" data-line-number="8"> <span class="dt">subtitle=</span><span class="st">"A plot that is only useful for demonstration purposes"</span>,</a>
<a class="sourceLine" id="cb9-9" data-line-number="9"> <span class="dt">caption=</span><span class="st">"Brought to you by the letter 'g'"</span>) <span class="op">+</span><span class="st"> </span></a>
<a class="sourceLine" id="cb9-10" data-line-number="10"><span class="st"> </span><span class="kw"><a href="reference/theme_ipsum.html">theme_ipsum</a></span>(<span class="dt">grid=</span><span class="st">"Y"</span>)</a></code></pre></div>
<p><img src="README_figs/README-unnamed-chunk-10-1.png" width="700"></p>
<div class="sourceCode" id="cb10"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb10-1" data-line-number="1"><span class="kw">ggplot</span>(uspopage, <span class="kw">aes</span>(<span class="dt">x=</span>Year, <span class="dt">y=</span>Thousands, <span class="dt">fill=</span>AgeGroup)) <span class="op">+</span><span class="st"> </span></a>
<a class="sourceLine" id="cb10-2" data-line-number="2"><span class="st"> </span><span class="kw">geom_area</span>() <span class="op">+</span></a>
<a class="sourceLine" id="cb10-3" data-line-number="3"><span class="st"> </span><span class="kw"><a href="reference/scale_ipsum.html">scale_fill_ipsum</a></span>() <span class="op">+</span></a>
<a class="sourceLine" id="cb10-4" data-line-number="4"><span class="st"> </span><span class="kw">scale_x_continuous</span>(<span class="dt">expand=</span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/c">c</a></span>(<span class="dv">0</span>,<span class="dv">0</span>)) <span class="op">+</span></a>
<a class="sourceLine" id="cb10-5" data-line-number="5"><span class="st"> </span><span class="kw"><a href="reference/scale_x_percent.html">scale_y_comma</a></span>() <span class="op">+</span></a>
<a class="sourceLine" id="cb10-6" data-line-number="6"><span class="st"> </span><span class="kw">labs</span>(<span class="dt">title=</span><span class="st">"Age distribution of population in the U.S., 1900-2002"</span>,</a>
<a class="sourceLine" id="cb10-7" data-line-number="7"> <span class="dt">subtitle=</span><span class="st">"Example data from the R Graphics Cookbook"</span>,</a>
<a class="sourceLine" id="cb10-8" data-line-number="8"> <span class="dt">caption=</span><span class="st">"Source: R Graphics Cookbook"</span>) <span class="op">+</span></a>
<a class="sourceLine" id="cb10-9" data-line-number="9"><span class="st"> </span><span class="kw"><a href="reference/theme_ipsum_rc.html">theme_ipsum_rc</a></span>(<span class="dt">grid=</span><span class="st">"XY"</span>) <span class="op">+</span></a>
<a class="sourceLine" id="cb10-10" data-line-number="10"><span class="st"> </span><span class="kw">theme</span>(<span class="dt">axis.text.x=</span><span class="kw">element_text</span>(<span class="dt">hjust=</span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/c">c</a></span>(<span class="dv">0</span>, <span class="fl">0.5</span>, <span class="fl">0.5</span>, <span class="fl">0.5</span>, <span class="dv">1</span>))) <span class="op">+</span></a>
<a class="sourceLine" id="cb10-11" data-line-number="11"><span class="st"> </span><span class="kw">theme</span>(<span class="dt">legend.position=</span><span class="st">"bottom"</span>)</a></code></pre></div>
<p><img src="README_figs/README-unnamed-chunk-11-1.png" width="700"></p>
<div class="sourceCode" id="cb11"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb11-1" data-line-number="1"><span class="kw"><a href="reference/update_geom_font_defaults.html">update_geom_font_defaults</a></span>(font_rc_light)</a>
<a class="sourceLine" id="cb11-2" data-line-number="2"></a>
<a class="sourceLine" id="cb11-3" data-line-number="3"><span class="kw">count</span>(mpg, class) <span class="op">%&gt;%</span><span class="st"> </span></a>
<a class="sourceLine" id="cb11-4" data-line-number="4"><span class="st"> </span><span class="kw">mutate</span>(<span class="dt">n=</span>n<span class="op">*</span><span class="dv">2000</span>) <span class="op">%&gt;%</span><span class="st"> </span></a>
<a class="sourceLine" id="cb11-5" data-line-number="5"><span class="st"> </span><span class="kw">arrange</span>(n) <span class="op">%&gt;%</span><span class="st"> </span></a>
<a class="sourceLine" id="cb11-6" data-line-number="6"><span class="st"> </span><span class="kw">mutate</span>(<span class="dt">class=</span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/factor">factor</a></span>(class, <span class="dt">levels=</span>class)) <span class="op">%&gt;%</span><span class="st"> </span></a>
<a class="sourceLine" id="cb11-7" data-line-number="7"><span class="st"> </span><span class="kw">ggplot</span>(<span class="kw">aes</span>(class, n)) <span class="op">+</span></a>
<a class="sourceLine" id="cb11-8" data-line-number="8"><span class="st"> </span><span class="kw">geom_col</span>() <span class="op">+</span></a>
<a class="sourceLine" id="cb11-9" data-line-number="9"><span class="st"> </span><span class="kw">geom_text</span>(<span class="kw">aes</span>(<span class="dt">label=</span>scales<span class="op">::</span><span class="kw"><a href="https://www.rdocumentation.org/packages/scales/topics/number_format">comma</a></span>(n)), <span class="dt">hjust=</span><span class="dv">0</span>, <span class="dt">nudge_y=</span><span class="dv">2000</span>) <span class="op">+</span></a>
<a class="sourceLine" id="cb11-10" data-line-number="10"><span class="st"> </span><span class="kw"><a href="reference/scale_x_percent.html">scale_y_comma</a></span>(<span class="dt">limits=</span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/c">c</a></span>(<span class="dv">0</span>,<span class="dv">150000</span>)) <span class="op">+</span></a>
<a class="sourceLine" id="cb11-11" data-line-number="11"><span class="st"> </span><span class="kw">coord_flip</span>() <span class="op">+</span></a>
<a class="sourceLine" id="cb11-12" data-line-number="12"><span class="st"> </span><span class="kw">labs</span>(<span class="dt">x=</span><span class="st">"Fuel efficiency (mpg)"</span>, <span class="dt">y=</span><span class="st">"Weight (tons)"</span>,</a>
<a class="sourceLine" id="cb11-13" data-line-number="13"> <span class="dt">title=</span><span class="st">"Seminal ggplot2 column chart example with commas"</span>,</a>
<a class="sourceLine" id="cb11-14" data-line-number="14"> <span class="dt">subtitle=</span><span class="st">"A plot that is only useful for demonstration purposes, esp since you'd never</span><span class="ch">\n</span><span class="st">really want direct labels and axis labels"</span>,</a>
<a class="sourceLine" id="cb11-15" data-line-number="15"> <span class="dt">caption=</span><span class="st">"Brought to you by the letter 'g'"</span>) <span class="op">+</span><span class="st"> </span></a>
<a class="sourceLine" id="cb11-16" data-line-number="16"><span class="st"> </span><span class="kw"><a href="reference/theme_ipsum_rc.html">theme_ipsum_rc</a></span>(<span class="dt">grid=</span><span class="st">"X"</span>)</a></code></pre></div>
<p><img src="README_figs/README-unnamed-chunk-12-1.png" width="700"></p>
</div>
<div id="spellcheck-ggplot2-labels" class="section level3">
<h3 class="hasAnchor">
<a href="#spellcheck-ggplot2-labels" class="anchor"></a>Spellcheck ggplot2 labels</h3>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">df &lt;-<span class="st"> </span><span class="kw">data.frame</span>(<span class="dt">x=</span><span class="kw">c</span>(<span class="dv">20</span>, <span class="dv">25</span>, <span class="dv">30</span>), <span class="dt">y=</span><span class="kw">c</span>(<span class="dv">4</span>, <span class="dv">4</span>, <span class="dv">4</span>), <span class="dt">txt=</span><span class="kw">c</span>(<span class="st">"One"</span>, <span class="st">"Two"</span>, <span class="st">"Three"</span>))
<span class="kw">ggplot</span>(mtcars, <span class="kw">aes</span>(mpg, wt)) <span class="op">+</span>
<span class="st"> </span><span class="kw">geom_point</span>() <span class="op">+</span>
<span class="st"> </span><span class="kw">labs</span>(<span class="dt">x=</span><span class="st">"This is some txt"</span>, <span class="dt">y=</span><span class="st">"This is more text"</span>,
<span class="dt">title=</span><span class="st">"Thisy is a titlle"</span>,
<span class="dt">subtitle=</span><span class="st">"This is a subtitley"</span>,
<span class="dt">caption=</span><span class="st">"This is a captien"</span>) <span class="op">+</span>
<span class="st"> </span><span class="kw"><a href="reference/theme_ipsum_rc.html">theme_ipsum_rc</a></span>(<span class="dt">grid=</span><span class="st">"XY"</span>) -&gt;<span class="st"> </span>gg
<span class="kw"><a href="reference/gg_check.html">gg_check</a></span>(gg)
## Possible misspelled words in [title]: (Thisy, titlle)
## Possible misspelled words in [subtitle]: (subtitley)
## Possible misspelled words in [caption]: (captien)</code></pre></div>
<p><img src="README_figs/README-unnamed-chunk-11-1.png" width="672"></p>
<div class="sourceCode" id="cb12"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb12-1" data-line-number="1">df &lt;-<span class="st"> </span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/data.frame">data.frame</a></span>(<span class="dt">x=</span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/c">c</a></span>(<span class="dv">20</span>, <span class="dv">25</span>, <span class="dv">30</span>), <span class="dt">y=</span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/c">c</a></span>(<span class="dv">4</span>, <span class="dv">4</span>, <span class="dv">4</span>), <span class="dt">txt=</span><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/c">c</a></span>(<span class="st">"One"</span>, <span class="st">"Two"</span>, <span class="st">"Three"</span>))</a>
<a class="sourceLine" id="cb12-2" data-line-number="2"></a>
<a class="sourceLine" id="cb12-3" data-line-number="3"><span class="kw">ggplot</span>(mtcars, <span class="kw">aes</span>(mpg, wt)) <span class="op">+</span></a>
<a class="sourceLine" id="cb12-4" data-line-number="4"><span class="st"> </span><span class="kw">geom_point</span>() <span class="op">+</span></a>
<a class="sourceLine" id="cb12-5" data-line-number="5"><span class="st"> </span><span class="kw">labs</span>(<span class="dt">x=</span><span class="st">"This is some txt"</span>, <span class="dt">y=</span><span class="st">"This is more text"</span>,</a>
<a class="sourceLine" id="cb12-6" data-line-number="6"> <span class="dt">title=</span><span class="st">"Thisy is a titlle"</span>,</a>
<a class="sourceLine" id="cb12-7" data-line-number="7"> <span class="dt">subtitle=</span><span class="st">"This is a subtitley"</span>,</a>
<a class="sourceLine" id="cb12-8" data-line-number="8"> <span class="dt">caption=</span><span class="st">"This is a captien"</span>) <span class="op">+</span></a>
<a class="sourceLine" id="cb12-9" data-line-number="9"><span class="st"> </span><span class="kw"><a href="reference/theme_ipsum_rc.html">theme_ipsum_rc</a></span>(<span class="dt">grid=</span><span class="st">"XY"</span>) -&gt;<span class="st"> </span>gg</a>
<a class="sourceLine" id="cb12-10" data-line-number="10"></a>
<a class="sourceLine" id="cb12-11" data-line-number="11"><span class="kw"><a href="reference/gg_check.html">gg_check</a></span>(gg)</a>
<a class="sourceLine" id="cb12-12" data-line-number="12"><span class="co">## Possible misspelled words in [title]: (Thisy, titlle)</span></a>
<a class="sourceLine" id="cb12-13" data-line-number="13"><span class="co">## Possible misspelled words in [subtitle]: (subtitley)</span></a>
<a class="sourceLine" id="cb12-14" data-line-number="14"><span class="co">## Possible misspelled words in [caption]: (captien)</span></a></code></pre></div>
<p><img src="README_figs/README-unnamed-chunk-13-1.png" width="700"></p>
</div>
<div id="test-results" class="section level3">
<div id="hrbrthemes-metrics" class="section level3">
<h3 class="hasAnchor">
<a href="#test-results" class="anchor"></a>Test Results</h3>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">library</span>(hrbrthemes)
<span class="kw">date</span>()
## [1] "Thu Jun 22 08:45:58 2017"
devtools<span class="op">::</span><span class="kw">test</span>()
## basic functionality: ..........
## themes:
## .
## .
##
## DONE ===================================================================================================================</code></pre></div>
<a href="#hrbrthemes-metrics" class="anchor"></a>hrbrthemes Metrics</h3>
<table class="table table">
<thead><tr class="header">
<th align="left">Lang</th>
<th align="right"># Files</th>
<th align="right">(%)</th>
<th align="right">LoC</th>
<th align="right">(%)</th>
<th align="right">Blank lines</th>
<th align="right">(%)</th>
<th align="right"># Lines</th>
<th align="right">(%)</th>
</tr></thead>
<tbody>
<tr class="odd">
<td align="left">R</td>
<td align="right">20</td>
<td align="right">0.91</td>
<td align="right">1082</td>
<td align="right">0.9</td>
<td align="right">211</td>
<td align="right">0.68</td>
<td align="right">583</td>
<td align="right">0.78</td>
</tr>
<tr class="even">
<td align="left">Rmd</td>
<td align="right">2</td>
<td align="right">0.09</td>
<td align="right">124</td>
<td align="right">0.1</td>
<td align="right">99</td>
<td align="right">0.32</td>
<td align="right">162</td>
<td align="right">0.22</td>
</tr>
</tbody>
</table>
</div>
<div id="code-of-conduct" class="section level3">
<h3 class="hasAnchor">
<a href="#code-of-conduct" class="anchor"></a>Code of Conduct</h3>
<p>Please note that this project is released with a <a href="CONDUCT.md">Contributor Code of Conduct</a>. By participating in this project you agree to abide by its terms.</p>
</div>
<p>Please note that this project is released with a <a href="CONDUCT.html">Contributor Code of Conduct</a>. By participating in this project you agree to abide by its terms.</p>
</div>
</div>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2 class="hasAnchor">
<a href="#sidebar" class="anchor"></a>Links</h2>
<div class="links">
<h2>Links</h2>
<ul class="list-unstyled">
<li>Download from CRAN at <br><a href="https://cran.r-project.org/package=hrbrthemes">https://​cran.r-project.org/​package=hrbrthemes</a>
<li>Download from CRAN at <br><a href="https://cloud.r-project.org/package=hrbrthemes">https://​cloud.r-project.org/​package=hrbrthemes</a>
</li>
<li>Browse source code at <br><a href="http://github.com/hrbrmstr/hrbrthemes">http://​github.com/​hrbrmstr/​hrbrthemes</a>
<li>Browse source code at <br><a href="https://github.com/hrbrmstr/hrbrthemes">https://​github.com/​hrbrmstr/​hrbrthemes</a>
</li>
<li>Report a bug at <br><a href="https://github.com/hrbrmstr/hrbrthemes/issues">https://​github.com/​hrbrmstr/​hrbrthemes/​issues</a>
</li>
</ul>
</div>
<div class="license">
<h2>License</h2>
<p><a href="https://opensource.org/licenses/mit-license.php">MIT</a> + file <a href="LICENSE.html">LICENSE</a></p>
<ul class="list-unstyled">
<li>
<a href="https://opensource.org/licenses/mit-license.php">MIT</a> + file <a href="LICENSE-text.html">LICENSE</a>
</li>
</ul>
</div>
<div class="developers">
<h2>Developers</h2>
<ul class="list-unstyled">
<li>Bob Rudis <br><small class="roles"> Author, maintainer </small> </li>
<li>Bob Rudis <br><small class="roles"> Author, maintainer </small> <a href="https://orcid.org/0000-0001-5670-2640" target="orcid.widget"><img src="https://members.orcid.org/sites/default/files/vector_iD_icon.svg" class="orcid" alt="ORCID" height="16"></a> </li>
<li><a href="authors.html">All authors...</a></li>
</ul>
</div>
</div>
</div>
@ -260,11 +451,12 @@ devtools<span class="op">::</span><span class="kw">test</span>()
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

9
docs/jquery.sticky-kit.min.js

@ -1,9 +0,0 @@
/*
Sticky-kit v1.1.2 | WTFPL | Leaf Corcoran 2015 | http://leafo.net
*/
(function(){var b,f;b=this.jQuery||window.jQuery;f=b(window);b.fn.stick_in_parent=function(d){var A,w,J,n,B,K,p,q,k,E,t;null==d&&(d={});t=d.sticky_class;B=d.inner_scrolling;E=d.recalc_every;k=d.parent;q=d.offset_top;p=d.spacer;w=d.bottoming;null==q&&(q=0);null==k&&(k=void 0);null==B&&(B=!0);null==t&&(t="is_stuck");A=b(document);null==w&&(w=!0);J=function(a,d,n,C,F,u,r,G){var v,H,m,D,I,c,g,x,y,z,h,l;if(!a.data("sticky_kit")){a.data("sticky_kit",!0);I=A.height();g=a.parent();null!=k&&(g=g.closest(k));
if(!g.length)throw"failed to find stick parent";v=m=!1;(h=null!=p?p&&a.closest(p):b("<div />"))&&h.css("position",a.css("position"));x=function(){var c,f,e;if(!G&&(I=A.height(),c=parseInt(g.css("border-top-width"),10),f=parseInt(g.css("padding-top"),10),d=parseInt(g.css("padding-bottom"),10),n=g.offset().top+c+f,C=g.height(),m&&(v=m=!1,null==p&&(a.insertAfter(h),h.detach()),a.css({position:"",top:"",width:"",bottom:""}).removeClass(t),e=!0),F=a.offset().top-(parseInt(a.css("margin-top"),10)||0)-q,
u=a.outerHeight(!0),r=a.css("float"),h&&h.css({width:a.outerWidth(!0),height:u,display:a.css("display"),"vertical-align":a.css("vertical-align"),"float":r}),e))return l()};x();if(u!==C)return D=void 0,c=q,z=E,l=function(){var b,l,e,k;if(!G&&(e=!1,null!=z&&(--z,0>=z&&(z=E,x(),e=!0)),e||A.height()===I||x(),e=f.scrollTop(),null!=D&&(l=e-D),D=e,m?(w&&(k=e+u+c>C+n,v&&!k&&(v=!1,a.css({position:"fixed",bottom:"",top:c}).trigger("sticky_kit:unbottom"))),e<F&&(m=!1,c=q,null==p&&("left"!==r&&"right"!==r||a.insertAfter(h),
h.detach()),b={position:"",width:"",top:""},a.css(b).removeClass(t).trigger("sticky_kit:unstick")),B&&(b=f.height(),u+q>b&&!v&&(c-=l,c=Math.max(b-u,c),c=Math.min(q,c),m&&a.css({top:c+"px"})))):e>F&&(m=!0,b={position:"fixed",top:c},b.width="border-box"===a.css("box-sizing")?a.outerWidth()+"px":a.width()+"px",a.css(b).addClass(t),null==p&&(a.after(h),"left"!==r&&"right"!==r||h.append(a)),a.trigger("sticky_kit:stick")),m&&w&&(null==k&&(k=e+u+c>C+n),!v&&k)))return v=!0,"static"===g.css("position")&&g.css({position:"relative"}),
a.css({position:"absolute",bottom:d,top:"auto"}).trigger("sticky_kit:bottom")},y=function(){x();return l()},H=function(){G=!0;f.off("touchmove",l);f.off("scroll",l);f.off("resize",y);b(document.body).off("sticky_kit:recalc",y);a.off("sticky_kit:detach",H);a.removeData("sticky_kit");a.css({position:"",bottom:"",top:"",width:""});g.position("position","");if(m)return null==p&&("left"!==r&&"right"!==r||a.insertAfter(h),h.remove()),a.removeClass(t)},f.on("touchmove",l),f.on("scroll",l),f.on("resize",
y),b(document.body).on("sticky_kit:recalc",y),a.on("sticky_kit:detach",H),setTimeout(l,0)}};n=0;for(K=this.length;n<K;n++)d=this[n],J(b(d));return this}}).call(this);

146
docs/news/index.html

@ -1,32 +1,42 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>All news • hrbrthemes</title>
<title>Changelog • hrbrthemes</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../jquery.sticky-kit.min.js"></script>
<script src="../pkgdown.js"></script>
<meta property="og:title" content="Changelog" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@ -42,34 +52,55 @@
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../reference/index.html">Reference</a>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../articles/index.html">Articles</a>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">News</a>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
@ -77,17 +108,52 @@
</header>
<div class="row">
<div class="col-md-9">
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>Change log <small>All releases</small></h1>
<h1>Changelog <small></small></h1>
<small>Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/NEWS.md'><code>NEWS.md</code></a></small>
</div>
<div class="contents">
<div id="hrbrthemes-0-6-0" class="section level1">
<h1 class="page-header">
<a href="#hrbrthemes-0-6-0" class="anchor"></a>hrbrthemes 0.6.0<small> 2019-01-21 </small>
</h1>
<ul>
<li>new themes &amp; fonts</li>
<li>doc fixes</li>
</ul>
</div>
<div id="hrbrthemes-0-5-0" class="section level1">
<h1 class="page-header">
<a href="#hrbrthemes-0-5-0" class="anchor"></a>hrbrthemes 0.5.0<small> 2018-04-24 </small>
</h1>
<div id="new-stuff" class="section level2">
<h2 class="hasAnchor">
<a href="#new-stuff" class="anchor"></a>New Stuff</h2>
<ul>
<li>
<code><a href="../reference/flush_ticks.html">flush_ticks()</a></code> for easier alignment of x/y axis labels</li>
<li>
<code>ipsum_pdf</code> R Markdown format for using hrbrthemes in PDFs</li>
<li>
<code><a href="../reference/theme_ipsum_tw.html">theme_ipsum_tw()</a></code> (+ fonts) a Titillium Web-based theme</li>
<li>Updated theme_modern_rc()</li>
</ul>
</div>
</div>
<div id="hrbrthemes-0-3-2" class="section level1">
<h1 class="hasAnchor">
<a href="#hrbrthemes-0-3-2" class="anchor"></a>hrbrthemes 0.3.2</h1>
<h1 class="page-header">
<a href="#hrbrthemes-0-3-2" class="anchor"></a>hrbrthemes 0.3.2<small> Unreleased </small>
</h1>
<div id="new-stuff-1" class="section level2">
<h2 class="hasAnchor">
<a href="#new-stuff-1" class="anchor"></a>New Stuff</h2>
<ul>
<li>IBM Plex Sans font + theme</li>
<li>New “dark” RC theme mostly for RStudio plotting</li>
</ul>
</div>
<div id="changed-stuff" class="section level2">
<h2 class="hasAnchor">
<a href="#changed-stuff" class="anchor"></a>Changed Stuff</h2>
@ -95,34 +161,37 @@
<li>Removed <code>purrr</code> dependency</li>
<li>Tweaked <code>scale_</code>s with <code>expand=c(0.01,0)</code>
</li>
<li>Secondary axis support (by Dan Wilson)</li>
<li>Updated tests</li>
</ul>
</div>
</div>
<div id="hrbrthemes-0-2-0" class="section level1">
<h1 class="hasAnchor">
<a href="#hrbrthemes-0-2-0" class="anchor"></a>hrbrthemes 0.2.0</h1>
<h1 class="page-header">
<a href="#hrbrthemes-0-2-0" class="anchor"></a>hrbrthemes 0.2.0<small> Unreleased </small>
</h1>
<div id="changed-stuff-1" class="section level2">
<h2 class="hasAnchor">
<a href="#changed-stuff-1" class="anchor"></a>Changed Stuff</h2>
<ul>
<li>Added <code>vdiffr</code> tests for the two core themes.</li>
<li>Moved <code>hunspell</code> and <code>stringi</code> to <code>Suggests</code> and added namespace tests to <code><a href="../reference/gg_check.html">gg_check()</a></code>.</li>
<li>Added <code>dict</code> and <code>ignore</code> parameters (with defaults) to <code><a href="../reference/gg_check.html">gg_check()</a></code> (@karldw) [PR #3].</li>
<li>Fixed typos (@benmarwick) [PR #1].</li>
<li>Spelling in vignette fixed (@zx8754) [Issue #6].</li>
<li>New lighter grid color default <code>#cccccc</code> [Issue #7].</li>
<li>Added font auto-loading (@alexwhan) [Issue #12].</li>
<li>Added <code>dict</code> and <code>ignore</code> parameters (with defaults) to <code><a href="../reference/gg_check.html">gg_check()</a></code> (<a href='https://github.com/karldw'>@karldw</a>) [PR <a href='https://github.com/hrbrmstr/hrbrthemes/issues/3'>#3</a>].</li>
<li>Fixed typos (<a href='https://github.com/benmarwick'>@benmarwick</a>) [PR <a href='https://github.com/hrbrmstr/hrbrthemes/issues/1'>#1</a>].</li>
<li>Spelling in vignette fixed (<a href='https://github.com/zx8754'>@zx8754</a>) [Issue <a href='https://github.com/hrbrmstr/hrbrthemes/issues/6'>#6</a>].</li>
<li>New lighter grid color default <code>#cccccc</code> [Issue <a href='https://github.com/hrbrmstr/hrbrthemes/issues/7'>#7</a>].</li>
<li>Added font auto-loading (<a href='https://github.com/alexwhan'>@alexwhan</a>) [Issue <a href='https://github.com/hrbrmstr/hrbrthemes/issues/12'>#12</a>].</li>
<li>Made base font 0.5 pts larger</li>
</ul>
</div>
</div>
<div id="hrbrthemes-0-1-0" class="section level1">
<h1 class="hasAnchor">
<a href="#hrbrthemes-0-1-0" class="anchor"></a>hrbrthemes 0.1.0</h1>
<div id="new-stuff" class="section level2">
<h1 class="page-header">
<a href="#hrbrthemes-0-1-0" class="anchor"></a>hrbrthemes 0.1.0<small> 2017-02-25 </small>
</h1>
<div id="new-stuff-2" class="section level2">
<h2 class="hasAnchor">
<a href="#new-stuff" class="anchor"></a>New Stuff</h2>
<a href="#new-stuff-2" class="anchor"></a>New Stuff</h2>
<ul>
<li>Initial release with ‘Roboto Condensed’ and ‘Arial Narrow’ fonts based ‘ggplot2’ themes.</li>
<li>Muted discrete color palette with 9 colors.</li>
@ -130,13 +199,14 @@
</ul>
</div>
</div>
</div>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<div id="tocnav">
<h2>Contents</h2>
<ul class="nav nav-pills nav-stacked">
<li><a href="#hrbrthemes-0-6-0">0.6.0</a></li>
<li><a href="#hrbrthemes-0-5-0">0.5.0</a></li>
<li><a href="#hrbrthemes-0-3-2">0.3.2</a></li>
<li><a href="#hrbrthemes-0-2-0">0.2.0</a></li>
<li><a href="#hrbrthemes-0-1-0">0.1.0</a></li>
@ -152,11 +222,13 @@
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

98
docs/pkgdown.css

@ -1,13 +1,32 @@
/* Sticker footer */
/* Sticky footer */
/**
* Basic idea: https://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/
* Details: https://github.com/philipwalton/solved-by-flexbox/blob/master/assets/css/components/site.css
*
* .Site -> body > .container
* .Site-content -> body > .container .row
* .footer -> footer
*
* Key idea seems to be to ensure that .container and __all its parents__
* have height set to 100%
*
*/
html, body {
height: 100%;
}
body > .container {
display: flex;
padding-top: 60px;
min-height: calc(100vh);
height: 100%;
flex-direction: column;
padding-top: 60px;
}
body > .container .row {
flex: 1;
flex: 1 0 auto;
}
footer {
@ -16,6 +35,7 @@ footer {
border-top: 1px solid #e5e5e5;
color: #666;
display: flex;
flex-shrink: 0;
}
footer p {
margin-bottom: 0;
@ -38,6 +58,17 @@ img {
max-width: 100%;
}
/* Fix bug in bootstrap (only seen in firefox) */
summary {
display: list-item;
}
/* Typographic tweaking ---------------------------------*/
.contents .page-header {
margin-top: calc(-60px + 1em);
}
/* Section anchors ---------------------------------*/
a.anchor {
@ -68,7 +99,7 @@ a.anchor {
.contents h1, .contents h2, .contents h3, .contents h4 {
padding-top: 60px;
margin-top: -60px;
margin-top: -40px;
}
/* Static header placement on mobile devices */
@ -100,16 +131,19 @@ a.anchor {
margin-bottom: 0.5em;
}
.orcid {
height: 16px;
vertical-align: middle;
}
/* Reference index & topics ----------------------------------------------- */
.ref-index th {font-weight: normal;}
.ref-index h2 {font-size: 20px;}
.ref-index td {vertical-align: top;}
.ref-index .icon {width: 40px;}
.ref-index .alias {width: 40%;}
.ref-index .title {width: 60%;}
.ref-index .alias {width: 40%;}
.ref-index-icons .alias {width: calc(40% - 40px);}
.ref-index .title {width: 60%;}
.ref-arguments th {text-align: right; padding-right: 10px;}
@ -137,15 +171,30 @@ pre, code {
color: #333;
}
pre img {
pre code {
overflow: auto;
word-wrap: normal;
white-space: pre;
}
pre .img {
margin: 5px 0;
}
pre .img img {
background-color: #fff;
display: block;
height: auto;
}
code a, pre a {
color: #375f84;
}
a.sourceLine:hover {
text-decoration: none;
}
.fl {color: #1514b5;}
.fu {color: #000000;} /* function */
.ch,.st {color: #036a07;} /* string */
@ -156,3 +205,32 @@ code a, pre a {
.error { color: orange; font-weight: bolder;}
.warning { color: #6A0366; font-weight: bolder;}
/* Clipboard --------------------------*/
.hasCopyButton {
position: relative;
}
.btn-copy-ex {
position: absolute;
right: 0;
top: 0;
visibility: hidden;
}
.hasCopyButton:hover button.btn-copy-ex {
visibility: visible;
}
/* mark.js ----------------------------*/
mark {
background-color: rgba(255, 255, 51, 0.5);
border-bottom: 2px solid rgba(255, 153, 51, 0.3);
padding: 1px;
}
/* vertical spacing after htmlwidgets */
.html-widget {
margin-bottom: 10px;
}

119
docs/pkgdown.js

@ -1,8 +1,115 @@
$(function() {
$("#sidebar").stick_in_parent({offset_top: 40});
$('body').scrollspy({
target: '#sidebar',
offset: 60
/* http://gregfranko.com/blog/jquery-best-practices/ */
(function($) {
$(function() {
$("#sidebar")
.stick_in_parent({offset_top: 40})
.on('sticky_kit:bottom', function(e) {
$(this).parent().css('position', 'static');
})
.on('sticky_kit:unbottom', function(e) {
$(this).parent().css('position', 'relative');
});
$('body').scrollspy({
target: '#sidebar',
offset: 60
});
$('[data-toggle="tooltip"]').tooltip();
var cur_path = paths(location.pathname);
var links = $("#navbar ul li a");
var max_length = -1;
var pos = -1;
for (var i = 0; i < links.length; i++) {
if (links[i].getAttribute("href") === "#")
continue;
// Ignore external links
if (links[i].host !== location.host)
continue;
var nav_path = paths(links[i].pathname);
var length = prefix_length(nav_path, cur_path);
if (length > max_length) {
max_length = length;
pos = i;
}
}
// Add class to parent <li>, and enclosing <li> if in dropdown
if (pos >= 0) {
var menu_anchor = $(links[pos]);
menu_anchor.parent().addClass("active");
menu_anchor.closest("li.dropdown").addClass("active");
}
});
});
function paths(pathname) {
var pieces = pathname.split("/");
pieces.shift(); // always starts with /
var end = pieces[pieces.length - 1];
if (end === "index.html" || end === "")
pieces.pop();
return(pieces);
}
// Returns -1 if not found
function prefix_length(needle, haystack) {
if (needle.length > haystack.length)
return(-1);
// Special case for length-0 haystack, since for loop won't run
if (haystack.length === 0) {
return(needle.length === 0 ? 0 : -1);
}
for (var i = 0; i < haystack.length; i++) {
if (needle[i] != haystack[i])
return(i);
}
return(haystack.length);
}
/* Clipboard --------------------------*/
function changeTooltipMessage(element, msg) {
var tooltipOriginalTitle=element.getAttribute('data-original-title');
element.setAttribute('data-original-title', msg);
$(element).tooltip('show');
element.setAttribute('data-original-title', tooltipOriginalTitle);
}
if(ClipboardJS.isSupported()) {
$(document).ready(function() {
var copyButton = "<button type='button' class='btn btn-primary btn-copy-ex' type = 'submit' title='Copy to clipboard' aria-label='Copy to clipboard' data-toggle='tooltip' data-placement='left auto' data-trigger='hover' data-clipboard-copy><i class='fa fa-copy'></i></button>";
$(".examples, div.sourceCode").addClass("hasCopyButton");
// Insert copy buttons:
$(copyButton).prependTo(".hasCopyButton");
// Initialize tooltips:
$('.btn-copy-ex').tooltip({container: 'body'});
// Initialize clipboard:
var clipboardBtnCopies = new ClipboardJS('[data-clipboard-copy]', {
text: function(trigger) {
return trigger.parentNode.textContent;
}
});
clipboardBtnCopies.on('success', function(e) {
changeTooltipMessage(e.trigger, 'Copied!');
e.clearSelection();
});
clipboardBtnCopies.on('error', function() {
changeTooltipMessage(e.trigger,'Press Ctrl+C or Command+C to copy');
});
});
}
})(window.jQuery || window.$)

6
docs/pkgdown.yml

@ -0,0 +1,6 @@
pandoc: 2.3.1
pkgdown: 1.3.0
pkgdown_sha: ~
articles:
why_hrbrthemes: why_hrbrthemes.html

76
docs/reference/ArialNarrow.html

@ -1,6 +1,6 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -9,24 +9,37 @@
<title>Arial Narrow font name R variable aliases — font_an • hrbrthemes</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../jquery.sticky-kit.min.js"></script>
<script src="../pkgdown.js"></script>
<meta property="og:title" content="Arial Narrow font name R variable aliases — font_an" />
<meta property="og:description" content="font_an == &quot;Arial Narrow&quot;" />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@ -42,34 +55,55 @@
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../reference/index.html">Reference</a>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../articles/index.html">Articles</a>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">News</a>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
@ -77,15 +111,19 @@
</header>
<div class="row">
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>Arial Narrow font name R variable aliases</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/theme-ipsum.r'><code>R/theme-ipsum.r</code></a></small>
<div class="hidden name"><code>ArialNarrow.Rd</code></div>
</div>
<div class="ref-description">
<p><code>font_an</code> == "<code>Arial Narrow</code>"</p>
</div>
<pre class="usage"><span class='no'>font_an</span></pre>
@ -111,11 +149,13 @@
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

172
docs/reference/PlexSans.html

@ -0,0 +1,172 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PlexSans font name R variable aliases — font_ps • hrbrthemes</title>
<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script>
<meta property="og:title" content="PlexSans font name R variable aliases — font_ps" />
<meta property="og:description" content="font_ps == &quot;IBMPlexSans&quot;
font_ps_light == &quot;IBMPlexSans-Light&quot;" />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-reference-topic">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header>
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>PlexSans font name R variable aliases</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/plexsans.R'><code>R/plexsans.R</code></a></small>
<div class="hidden name"><code>PlexSans.Rd</code></div>
</div>
<div class="ref-description">
<p><code>font_ps</code> == "<code>IBMPlexSans</code>"</p>
<p><code>font_ps_light</code> == "<code>IBMPlexSans-Light</code>"</p>
</div>
<pre class="usage"><span class='no'>font_ps</span>
<span class='no'>font_ps_light</span></pre>
<h2 class="hasAnchor" id="format"><a class="anchor" href="#format"></a>Format</h2>
<p>length 1 character vector</p>
<h2 class="hasAnchor" id="note"><a class="anchor" href="#note"></a>Note</h2>
<p><code>font_ps_light</code> (a.k.a. "<code>IBMPlexSans-Light</code>") is not available on
Windows and will throw a warning if used in plots.</p>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
<ul class="nav nav-pills nav-stacked">
<li><a href="#format">Format</a></li>
<li><a href="#note">Note</a></li>
</ul>
</div>
</div>
<footer>
<div class="copyright">
<p>Developed by Bob Rudis.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

82
docs/reference/RobotoCondensed.html

@ -1,6 +1,6 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -9,24 +9,38 @@
<title>Roboto Condensed font name R variable aliases — font_rc • hrbrthemes</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../jquery.sticky-kit.min.js"></script>
<script src="../pkgdown.js"></script>
<meta property="og:title" content="Roboto Condensed font name R variable aliases — font_rc" />
<meta property="og:description" content="font_rc == &quot;Roboto Condensed&quot;
font_fc_light == &quot;Roboto Condensed Light&quot;" />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@ -42,34 +56,55 @@
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../reference/index.html">Reference</a>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../articles/index.html">Articles</a>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">News</a>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
@ -77,17 +112,20 @@
</header>
<div class="row">
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>Roboto Condensed font name R variable aliases</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/roboto-condensed.r'><code>R/roboto-condensed.r</code></a></small>
<div class="hidden name"><code>RobotoCondensed.Rd</code></div>
</div>
<div class="ref-description">
<p><code>font_rc</code> == "<code>Roboto Condensed</code>"
<code>font_fc_light</code> == "<code>Roboto Condensed Light</code>"</p>
<p><code>font_rc</code> == "<code>Roboto Condensed</code>"</p>
<p><code>font_fc_light</code> == "<code>Roboto Condensed Light</code>"</p>
</div>
<pre class="usage"><span class='no'>font_rc</span>
@ -122,11 +160,13 @@ Windows and will throw a warning if used in plots.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

178
docs/reference/TitilliumWeb.html

@ -0,0 +1,178 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Titillium Web font name R variable aliases — font_tw • hrbrthemes</title>
<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script>
<meta property="og:title" content="Titillium Web font name R variable aliases — font_tw" />
<meta property="og:description" content="font_tw == &quot;Titillium Web&quot;
font_tw_light == &quot;Titillium Web Bold&quot;
font_tw_light == &quot;Titillium Web Light&quot;" />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-reference-topic">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header>
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>Titillium Web font name R variable aliases</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/titillium-web.R'><code>R/titillium-web.R</code></a></small>
<div class="hidden name"><code>TitilliumWeb.Rd</code></div>
</div>
<div class="ref-description">
<p><code>font_tw</code> == "<code>Titillium Web</code>"</p>
<p><code>font_tw_light</code> == "<code>Titillium Web Bold</code>"</p>
<p><code>font_tw_light</code> == "<code>Titillium Web Light</code>"</p>
</div>
<pre class="usage"><span class='no'>font_tw</span>
<span class='no'>font_tw_bold</span>
<span class='no'>font_tw_light</span></pre>
<h2 class="hasAnchor" id="format"><a class="anchor" href="#format"></a>Format</h2>
<p>length 1 character vector</p>
<h2 class="hasAnchor" id="note"><a class="anchor" href="#note"></a>Note</h2>
<p><code>font_tw_light</code> (a.k.a. "<code>Titillium Web Bold</code>") is not available on
Windows and will throw a warning if used in plots.</p>
<p><code>font_tw_light</code> (a.k.a. "<code>Titillium Web Light</code>") is not available on
Windows and will throw a warning if used in plots.</p>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
<ul class="nav nav-pills nav-stacked">
<li><a href="#format">Format</a></li>
<li><a href="#note">Note</a></li>
</ul>
</div>
</div>
<footer>
<div class="copyright">
<p>Developed by Bob Rudis.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

201
docs/reference/flush_ticks.html

@ -0,0 +1,201 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Makes axis text labels flush on the ends — flush_ticks • hrbrthemes</title>
<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script>
<meta property="og:title" content="Makes axis text labels flush on the ends — flush_ticks" />
<meta property="og:description" content="A covenience function intended for basic, fixed-scale plots only (i.e. does not handle
free scales in facets).
You need to pass in a ggplot2 object to this function. It can't be +'d in a chain
of geoms, coords, scales, themes, etc. It also builds the plot (but does not display
it) so if the plt takes a while (i.e. has lots of data or transforms) this will also
take a while." />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-reference-topic">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header>
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>Makes axis text labels flush on the ends</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/flush-ticks.R'><code>R/flush-ticks.R</code></a></small>
<div class="hidden name"><code>flush_ticks.Rd</code></div>
</div>
<div class="ref-description">
<p>A covenience function intended for basic, fixed-scale plots only (i.e. does not handle
free scales in facets).<br />
<br />
You need to pass in a ggplot2 object to this function. It can't be <code>+</code>'d in a chain
of geoms, coords, scales, themes, etc. It also builds the plot (but does not display
it) so if the plt takes a while (i.e. has lots of data or transforms) this will also
take a while.</p>
</div>
<pre class="usage"><span class='fu'>flush_ticks</span>(<span class='no'>gg</span>, <span class='kw'>flush</span> <span class='kw'>=</span> <span class='st'>"XY"</span>, <span class='kw'>plot</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>, <span class='kw'>cat</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)</pre>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
<table class="ref-arguments">
<colgroup><col class="name" /><col class="desc" /></colgroup>
<tr>
<th>gg</th>
<td><p>ggplot2 plot object</p></td>
</tr>
<tr>
<th>flush</th>
<td><p>either "<code>X</code>" or "<code>Y</code>" or "<code>XY</code>" to flush individual or both axes. Default: both.</p></td>
</tr>
<tr>
<th>plot</th>
<td><p>if <code>FALSE</code> then the ggplot object will be returned <em>invisibly</em></p></td>
</tr>
<tr>
<th>cat</th>
<td><p>if <code>TRUE</code> then display <code>theme()</code> statements and copy them to the clipboard</p></td>
</tr>
</table>
<h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2>
<p>ggplot2 object with <code>theme()</code> elements added</p>
<h2 class="hasAnchor" id="note"><a class="anchor" href="#note"></a>Note</h2>
<p>Intended for basic, fixed-scale plots only (i.e. does not handle free scales in facets).</p>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
<ul class="nav nav-pills nav-stacked">
<li><a href="#arguments">Arguments</a></li>
<li><a href="#value">Value</a></li>
<li><a href="#note">Note</a></li>
</ul>
</div>
</div>
<footer>
<div class="copyright">
<p>Developed by Bob Rudis.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

169
docs/reference/ft_cols.html

@ -0,0 +1,169 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FT color palette — ft_cols • hrbrthemes</title>
<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script>
<meta property="og:title" content="FT color palette — ft_cols" />
<meta property="og:description" content="FT color palette" />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-reference-topic">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header>
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>FT color palette</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/ft.R'><code>R/ft.R</code></a></small>
<div class="hidden name"><code>ft_cols.Rd</code></div>
</div>
<div class="ref-description">
<p>FT color palette</p>
</div>
<pre class="usage"><span class='no'>ft_cols</span>
<span class='no'>ft_text_col</span></pre>
<h2 class="hasAnchor" id="format"><a class="anchor" href="#format"></a>Format</h2>
<p>An object of class <code>list</code> of length 9.</p>
<h2 class="hasAnchor" id="note"><a class="anchor" href="#note"></a>Note</h2>
<p>don't forget you can use <code><a href='https://www.rdocumentation.org/packages/scales/topics/alpha'>scales::alpha()</a></code> with these colors</p>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
<ul class="nav nav-pills nav-stacked">
<li><a href="#format">Format</a></li>
<li><a href="#note">Note</a></li>
</ul>
</div>
</div>
<footer>
<div class="copyright">
<p>Developed by Bob Rudis.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

155
docs/reference/ft_geom_defaults.html

@ -0,0 +1,155 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Change geom defaults from black to custom lights for the FT theme — ft_geom_defaults • hrbrthemes</title>
<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script>
<meta property="og:title" content="Change geom defaults from black to custom lights for the FT theme — ft_geom_defaults" />
<meta property="og:description" content="Change geom defaults from black to custom lights for the FT theme" />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-reference-topic">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header>
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>Change geom defaults from black to custom lights for the FT theme</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/ft.R'><code>R/ft.R</code></a></small>
<div class="hidden name"><code>ft_geom_defaults.Rd</code></div>
</div>
<div class="ref-description">
<p>Change geom defaults from black to custom lights for the FT theme</p>
</div>
<pre class="usage"><span class='fu'>ft_geom_defaults</span>()</pre>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
<ul class="nav nav-pills nav-stacked">
</ul>
</div>
</div>
<footer>
<div class="copyright">
<p>Developed by Bob Rudis.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

BIN
docs/reference/ft_pal-1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

160
docs/reference/ft_pal.html

@ -0,0 +1,160 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>A bright qualitative color palette — ft_pal • hrbrthemes</title>
<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script>
<meta property="og:title" content="A bright qualitative color palette — ft_pal" />
<meta property="og:description" content="A bright qualitative color palette" />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-reference-topic">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header>
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>A bright qualitative color palette</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/ft.R'><code>R/ft.R</code></a></small>
<div class="hidden name"><code>ft_pal.Rd</code></div>
</div>
<div class="ref-description">
<p>A bright qualitative color palette</p>
</div>
<pre class="usage"><span class='fu'>ft_pal</span>()</pre>
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'><span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/library'>library</a></span>(<span class='no'>scales</span>)
<span class='kw pkg'>scales</span><span class='kw ns'>::</span><span class='fu'><a href='https://www.rdocumentation.org/packages/scales/topics/show_col'>show_col</a></span>(<span class='fu'>ft_pal</span>()(<span class='fl'>8</span>))</div><div class='img'><img src='ft_pal-1.png' alt='' width='700' height='433' /></div></pre>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
<ul class="nav nav-pills nav-stacked">
<li><a href="#examples">Examples</a></li>
</ul>
</div>
</div>
<footer>
<div class="copyright">
<p>Developed by Bob Rudis.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

BIN
docs/reference/gg_check-1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

BIN
docs/reference/gg_check-5.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

BIN
docs/reference/gg_check-7.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

97
docs/reference/gg_check.html

@ -1,6 +1,6 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -9,24 +9,38 @@
<title>Spell check ggplot2 plot labels — gg_check • hrbrthemes</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../jquery.sticky-kit.min.js"></script>
<script src="../pkgdown.js"></script>
<meta property="og:title" content="Spell check ggplot2 plot labels — gg_check" />
<meta property="og:description" content="Due to the way ggplot2 objects are created, this has to be used in a
standalone context." />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@ -42,34 +56,55 @@
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../reference/index.html">Reference</a>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../articles/index.html">Articles</a>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">News</a>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
@ -77,20 +112,24 @@
</header>
<div class="row">
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>Spell check ggplot2 plot labels</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/check.r'><code>R/check.r</code></a></small>
<div class="hidden name"><code>gg_check.Rd</code></div>
</div>
<div class="ref-description">
<p>Due to the way ggplot2 objects are created, this has to be used in a
standalone context.</p>
</div>
<pre class="usage"><span class='fu'>gg_check</span>(<span class='no'>gg</span>, <span class='no'>dict</span>, <span class='no'>ignore</span>)</pre>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a> Arguments</h2>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
<table class="ref-arguments">
<colgroup><col class="name" /><col class="desc" /></colgroup>
<tr>
@ -99,13 +138,13 @@ standalone context.</p>
</tr>
<tr>
<th>dict</th>
<td><p>a dictionary object or string which can be passed to <a href='http://www.rdocumentation.org/packages/hunspell/topics/hunspell'>hunspell::dictionary</a>.
Defaults to <code>hunspell::dictionary("en_US")</code></p></td>
<td><p>a dictionary object or string which can be passed to <a href='https://www.rdocumentation.org/packages/hunspell/topics/hunspell'>hunspell::dictionary</a>.
Defaults to <code><a href='https://www.rdocumentation.org/packages/hunspell/topics/hunspell'>hunspell::dictionary("en_US")</a></code></p></td>
</tr>
<tr>
<th>ignore</th>
<td><p>character vector with additional approved words added to the dictionary.
Defaults to <code>hunspell::en_stats</code></p></td>
Defaults to <code><a href='https://www.rdocumentation.org/packages/hunspell/topics/hunspell'>hunspell::en_stats</a></code></p></td>
</tr>
</table>
@ -122,19 +161,19 @@ words.</p>
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'><span class='fu'>library</span>(<span class='no'>ggplot2</span>)
<pre class="examples"><div class='input'><span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/library'>library</a></span>(<span class='no'>ggplot2</span>)
<span class='no'>df</span> <span class='kw'>&lt;-</span> <span class='fu'>data.frame</span>(<span class='kw'>x</span><span class='kw'>=</span><span class='fu'>c</span>(<span class='fl'>20</span>, <span class='fl'>25</span>, <span class='fl'>30</span>), <span class='kw'>y</span><span class='kw'>=</span><span class='fu'>c</span>(<span class='fl'>4</span>, <span class='fl'>4</span>, <span class='fl'>4</span>), <span class='kw'>txt</span><span class='kw'>=</span><span class='fu'>c</span>(<span class='st'>"One"</span>, <span class='st'>"Two"</span>, <span class='st'>"Three"</span>))
<span class='no'>df</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/data.frame'>data.frame</a></span>(<span class='kw'>x</span><span class='kw'>=</span><span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/c'>c</a></span>(<span class='fl'>20</span>, <span class='fl'>25</span>, <span class='fl'>30</span>), <span class='kw'>y</span><span class='kw'>=</span><span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/c'>c</a></span>(<span class='fl'>4</span>, <span class='fl'>4</span>, <span class='fl'>4</span>), <span class='kw'>txt</span><span class='kw'>=</span><span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/c'>c</a></span>(<span class='st'>"One"</span>, <span class='st'>"Two"</span>, <span class='st'>"Three"</span>))
<span class='co'># not piping</span>
<span class='fu'>ggplot</span>(<span class='no'>mtcars</span>, <span class='fu'>aes</span>(<span class='no'>mpg</span>, <span class='no'>wt</span>)) +
<span class='fu'>geom_point</span>() +
<span class='fu'>labs</span>(<span class='kw'>x</span><span class='kw'>=</span><span class='st'>"This is some txt"</span>, <span class='kw'>y</span><span class='kw'>=</span><span class='st'>"This is more text"</span>,
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></span>(<span class='no'>mtcars</span>, <span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='no'>mpg</span>, <span class='no'>wt</span>)) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/geom_point.html'>geom_point</a></span>() +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/labs.html'>labs</a></span>(<span class='kw'>x</span><span class='kw'>=</span><span class='st'>"This is some txt"</span>, <span class='kw'>y</span><span class='kw'>=</span><span class='st'>"This is more text"</span>,
<span class='kw'>title</span><span class='kw'>=</span><span class='st'>"Thisy is a titlle"</span>,
<span class='kw'>subtitle</span><span class='kw'>=</span><span class='st'>"This is a subtitley"</span>,
<span class='kw'>caption</span><span class='kw'>=</span><span class='st'>"This is a captien"</span>) <span class='kw'>-&gt;</span> <span class='no'>gg</span>
<span class='fu'>gg_check</span>(<span class='no'>gg</span>)</div><div class='output co'>#&gt; <span class='message'>Possible misspelled words in [title]: (Thisy, titlle)</span></div><div class='output co'>#&gt; <span class='message'>Possible misspelled words in [subtitle]: (subtitley)</span></div><div class='output co'>#&gt; <span class='message'>Possible misspelled words in [caption]: (captien)</span></div><img src='gg_check-5.png' alt='' width='540' height='400' /></pre>
<span class='fu'>gg_check</span>(<span class='no'>gg</span>)</div><div class='output co'>#&gt; <span class='message'>Possible misspelled words in [title]: (Thisy, titlle)</span></div><div class='output co'>#&gt; <span class='message'>Possible misspelled words in [subtitle]: (subtitley)</span></div><div class='output co'>#&gt; <span class='message'>Possible misspelled words in [caption]: (captien)</span></div><div class='img'><img src='gg_check-1.png' alt='' width='700' height='433' /></div></pre>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
@ -157,11 +196,13 @@ words.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

78
docs/reference/hrbrthemes-exports.html

@ -1,6 +1,6 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -9,24 +9,39 @@
<title>hrbrthemes exported operators — hrbrthemes-exports • hrbrthemes</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../jquery.sticky-kit.min.js"></script>
<script src="../pkgdown.js"></script>
<meta property="og:title" content="hrbrthemes exported operators — hrbrthemes-exports" />
<meta property="og:description" content="The following functions are imported and then re-exported
from the hrbrthemes package to enable use of the magrittr
pipe operator with no additional library calls" />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@ -42,34 +57,55 @@
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../reference/index.html">Reference</a>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../articles/index.html">Articles</a>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">News</a>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
@ -77,17 +113,21 @@
</header>
<div class="row">
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>hrbrthemes exported operators</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/hrbrthemes-package.R'><code>R/hrbrthemes-package.R</code></a></small>
<div class="hidden name"><code>hrbrthemes-exports.Rd</code></div>
</div>
<div class="ref-description">
<p>The following functions are imported and then re-exported
from the hrbrthemes package to enable use of the magrittr
pipe operator with no additional library calls</p>
</div>
@ -106,11 +146,13 @@ pipe operator with no additional library calls</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

83
docs/reference/hrbrthemes.html

@ -1,6 +1,6 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -9,24 +9,38 @@
<title>Additional Themes and Theme Components for 'ggplot2' — hrbrthemes • hrbrthemes</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../jquery.sticky-kit.min.js"></script>
<script src="../pkgdown.js"></script>
<meta property="og:title" content="Additional Themes and Theme Components for 'ggplot2' — hrbrthemes" />
<meta property="og:description" content="A compilation of extra themes and theme components for 'ggplot2' with an
emphasis on typography." />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@ -42,34 +56,55 @@
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../reference/index.html">Reference</a>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../articles/index.html">Articles</a>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">News</a>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
@ -77,16 +112,20 @@
</header>
<div class="row">
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>Additional Themes and Theme Components for 'ggplot2'</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/hrbrthemes-package.R'><code>R/hrbrthemes-package.R</code></a></small>
<div class="hidden name"><code>hrbrthemes.Rd</code></div>
</div>
<div class="ref-description">
<p>A compilation of extra themes and theme components for 'ggplot2' with an
emphasis on typography.</p>
</div>
<h2 class="hasAnchor" id="details"><a class="anchor" href="#details"></a>Details</h2>
@ -99,7 +138,7 @@ quality for fonts for charts is that they have a diversity of weights. Arial
Narrow (the one on most systems, anyway) does not have said diversity but this
quality is not (IMO) a "must have".</p>
<p>There is an option <code>hrbrthemes.loadfonts</code> which -- if set to <code>TRUE</code> -- will
call <code>extrafont::loadfonts()</code> to register non-core fonts with R PDF &amp; PostScript
call <code><a href='https://www.rdocumentation.org/packages/extrafont/topics/loadfonts'>extrafont::loadfonts()</a></code> to register non-core fonts with R PDF &amp; PostScript
devices. If you are running under Windows, the package calls the same function
to register non-core fonts with the Windows graphics device.</p>
@ -113,9 +152,7 @@ to register non-core fonts with the Windows graphics device.</p>
</ul>
<h2>Author</h2>
Bob Rudis (bob@rud.is)
<p>Bob Rudis (bob@rud.is)</p>
</div>
</div>
@ -125,11 +162,13 @@ Bob Rudis (bob@rud.is)
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

173
docs/reference/import_plex_sans.html

@ -0,0 +1,173 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Import IBM Plex Sans font for use in charts — import_plex_sans • hrbrthemes</title>
<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script>
<meta property="og:title" content="Import IBM Plex Sans font for use in charts — import_plex_sans" />
<meta property="og:description" content="IBM Plex Sans is a trademark of IBM and distributed under the SIL Open Font License, Version 1.1." />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-reference-topic">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header>
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>Import IBM Plex Sans font for use in charts</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/plexsans.R'><code>R/plexsans.R</code></a></small>
<div class="hidden name"><code>import_plex_sans.Rd</code></div>
</div>
<div class="ref-description">
<p>IBM Plex Sans is a trademark of IBM and distributed under the SIL Open Font License, Version 1.1.</p>
</div>
<pre class="usage"><span class='fu'>import_plex_sans</span>()</pre>
<h2 class="hasAnchor" id="details"><a class="anchor" href="#details"></a>Details</h2>
<p>There is an option <code>hrbrthemes.loadfonts</code> which -- if set to <code>TRUE</code> -- will
call <code><a href='https://www.rdocumentation.org/packages/extrafont/topics/loadfonts'>extrafont::loadfonts()</a></code> to register non-core fonts with R PDF &amp; PostScript
devices. If you are running under Windows, the package calls the same function
to register non-core fonts with the Windows graphics device.</p>
<h2 class="hasAnchor" id="note"><a class="anchor" href="#note"></a>Note</h2>
<p>This will take care of ensuring PDF/PostScript usage. The location of the
font directory is displayed after the base import is complete. It is highly
recommended that you install them on your system the same way you would any
other font you wish to use in other programs.</p>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
<ul class="nav nav-pills nav-stacked">
<li><a href="#details">Details</a></li>
<li><a href="#note">Note</a></li>
</ul>
</div>
</div>
<footer>
<div class="copyright">
<p>Developed by Bob Rudis.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

78
docs/reference/import_roboto_condensed.html

@ -1,6 +1,6 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -9,24 +9,37 @@
<title>Import Roboto Condensed font for use in charts — import_roboto_condensed • hrbrthemes</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../jquery.sticky-kit.min.js"></script>
<script src="../pkgdown.js"></script>
<meta property="og:title" content="Import Roboto Condensed font for use in charts — import_roboto_condensed" />
<meta property="og:description" content="Roboto Condensed is a trademark of Google." />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@ -42,34 +55,55 @@
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../reference/index.html">Reference</a>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../articles/index.html">Articles</a>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">News</a>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
@ -77,22 +111,26 @@
</header>
<div class="row">
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>Import Roboto Condensed font for use in charts</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/roboto-condensed.r'><code>R/roboto-condensed.r</code></a></small>
<div class="hidden name"><code>import_roboto_condensed.Rd</code></div>
</div>
<div class="ref-description">
<p>Roboto Condensed is a trademark of Google.</p>
</div>
<pre class="usage"><span class='fu'>import_roboto_condensed</span>()</pre>
<h2 class="hasAnchor" id="details"><a class="anchor" href="#details"></a>Details</h2>
<p>There is an option <code>hrbrthemes.loadfonts</code> which -- if set to <code>TRUE</code> -- will
call <code>extrafont::loadfonts()</code> to register non-core fonts with R PDF &amp; PostScript
call <code><a href='https://www.rdocumentation.org/packages/extrafont/topics/loadfonts'>extrafont::loadfonts()</a></code> to register non-core fonts with R PDF &amp; PostScript
devices. If you are running under Windows, the package calls the same function
to register non-core fonts with the Windows graphics device.</p>
@ -123,11 +161,13 @@ other font you wish to use in other programs.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

173
docs/reference/import_titillium_web.html

@ -0,0 +1,173 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Import Titillium Web font for use in charts — import_titillium_web • hrbrthemes</title>
<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script>
<meta property="og:title" content="Import Titillium Web font for use in charts — import_titillium_web" />
<meta property="og:description" content="Titillium Web is a trademark of Google." />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-reference-topic">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header>
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>Import Titillium Web font for use in charts</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/titillium-web.R'><code>R/titillium-web.R</code></a></small>
<div class="hidden name"><code>import_titillium_web.Rd</code></div>
</div>
<div class="ref-description">
<p>Titillium Web is a trademark of Google.</p>
</div>
<pre class="usage"><span class='fu'>import_titillium_web</span>()</pre>
<h2 class="hasAnchor" id="details"><a class="anchor" href="#details"></a>Details</h2>
<p>There is an option <code>hrbrthemes.loadfonts</code> which -- if set to <code>TRUE</code> -- will
call <code><a href='https://www.rdocumentation.org/packages/extrafont/topics/loadfonts'>extrafont::loadfonts()</a></code> to register non-core fonts with R PDF &amp; PostScript
devices. If you are running under Windows, the package calls the same function
to register non-core fonts with the Windows graphics device.</p>
<h2 class="hasAnchor" id="note"><a class="anchor" href="#note"></a>Note</h2>
<p>This will take care of ensuring PDF/PostScript usage. The location of the
font directory is displayed after the base import is complete. It is highly
recommended that you install them on your system the same way you would any
other font you wish to use in other programs.</p>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
<ul class="nav nav-pills nav-stacked">
<li><a href="#details">Details</a></li>
<li><a href="#note">Note</a></li>
</ul>
</div>
</div>
<footer>
<div class="copyright">
<p>Developed by Bob Rudis.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

341
docs/reference/index.html

@ -1,6 +1,6 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -9,24 +9,34 @@
<title>Function reference • hrbrthemes</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../jquery.sticky-kit.min.js"></script>
<script src="../pkgdown.js"></script>
<meta property="og:title" content="Function reference" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@ -42,34 +52,55 @@
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../reference/index.html">Reference</a>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../articles/index.html">Articles</a>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">News</a>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
@ -77,112 +108,180 @@
</header>
<div class="row">
<div class="col-md-9">
<div class="row">
<div class="contents col-md-9">
<div class="page-header">
<h1>
Reference
<small>version&nbsp;0.3.2</small>
</h1>
<h1>Reference</h1>
</div>
<div class="contents">
<table class="ref-index">
<colgroup>
<col class="alias" />
<col class="title" />
</colgroup>
<tbody>
<tr>
<th colspan="2">
<h2 id="section-all-functions" class="hasAnchor"><a href="#section-all-functions" class="anchor"></a>All functions</h2>
<p class="section-desc"></p>
</th>
</tr>
<tr>
<!-- -->
<td>
<p><code><a href="ArialNarrow.html">font_an</a></code> </p>
</td>
<td><p>Arial Narrow font name R variable aliases</p></td>
</tr><tr>
<!-- -->
<td>
<p><code><a href="gg_check.html">gg_check</a></code> </p>
</td>
<td><p>Spell check ggplot2 plot labels</p></td>
</tr><tr>
<!-- -->
<td>
<p><code><a href="hrbrthemes-exports.html">hrbrthemes-exports</a></code> </p>
</td>
<td><p>hrbrthemes exported operators</p></td>
</tr><tr>
<!-- -->
<td>
<p><code><a href="hrbrthemes.html">hrbrthemes</a></code> </p>
</td>
<td><p>Additional Themes and Theme Components for 'ggplot2'</p></td>
</tr><tr>
<!-- -->
<td>
<p><code><a href="import_roboto_condensed.html">import_roboto_condensed</a></code> </p>
</td>
<td><p>Import Roboto Condensed font for use in charts</p></td>
</tr><tr>
<!-- -->
<td>
<p><code><a href="ipsum_pal.html">ipsum_pal</a></code> </p>
</td>
<td><p>A muted, qualitative color palette</p></td>
</tr><tr>
<!-- -->
<td>
<p><code><a href="ipsum.html">ipsum</a></code> </p>
</td>
<td><p>ipsum R markdown template</p></td>
</tr><tr>
<!-- -->
<td>
<p><code><a href="RobotoCondensed.html">font_rc</a></code> </p>
</td>
<td><p>Roboto Condensed font name R variable aliases</p></td>
</tr><tr>
<!-- -->
<td>
<p><code><a href="scale_ipsum.html">scale_colour_ipsum</a></code> <code><a href="scale_ipsum.html">scale_color_ipsum</a></code> <code><a href="scale_ipsum.html">scale_fill_ipsum</a></code> </p>
</td>
<td><p>Discrete color &amp; fill scales based on the ipsum palette</p></td>
</tr><tr>
<!-- -->
<td>
<p><code><a href="scale_x_percent.html">scale_x_percent</a></code> <code><a href="scale_x_percent.html">scale_y_percent</a></code> <code><a href="scale_x_percent.html">scale_x_comma</a></code> <code><a href="scale_x_percent.html">scale_y_comma</a></code> </p>
</td>
<td><p>X &amp; Y scales with opinionated pre-sets for percent &amp; comma label formats</p></td>
</tr><tr>
<!-- -->
<td>
<p><code><a href="theme_ipsum_rc.html">theme_ipsum_rc</a></code> <code><a href="theme_ipsum_rc.html">theme_modern_rc</a></code> </p>
</td>
<td><p>A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy</p></td>
</tr><tr>
<!-- -->
<td>
<p><code><a href="theme_ipsum.html">theme_ipsum</a></code> </p>
</td>
<td><p>A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typography</p></td>
</tr><tr>
<!-- -->
<td>
<p><code><a href="update_geom_font_defaults.html">update_geom_font_defaults</a></code> </p>
</td>
<td><p>Update matching font defaults for text geoms</p></td>
</tr>
</tbody>
</table>
</div>
<table class="ref-index">
<colgroup>
<col class="alias" />
<col class="title" />
</colgroup>
<tbody>
<tr>
<th colspan="2">
<h2 id="section-all-functions" class="hasAnchor"><a href="#section-all-functions" class="anchor"></a>All functions</h2>
<p class="section-desc"></p>
</th>
</tr>
<tr>
<td>
<p><code><a href="ArialNarrow.html">font_an</a></code> </p>
</td>
<td><p>Arial Narrow font name R variable aliases</p></td>
</tr><tr>
<td>
<p><code><a href="PlexSans.html">font_ps</a></code> <code><a href="PlexSans.html">font_ps_light</a></code> </p>
</td>
<td><p>PlexSans font name R variable aliases</p></td>
</tr><tr>
<td>
<p><code><a href="RobotoCondensed.html">font_rc</a></code> <code><a href="RobotoCondensed.html">font_rc_light</a></code> </p>
</td>
<td><p>Roboto Condensed font name R variable aliases</p></td>
</tr><tr>
<td>
<p><code><a href="TitilliumWeb.html">font_tw</a></code> <code><a href="TitilliumWeb.html">font_tw_bold</a></code> <code><a href="TitilliumWeb.html">font_tw_light</a></code> </p>
</td>
<td><p>Titillium Web font name R variable aliases</p></td>
</tr><tr>
<td>
<p><code><a href="flush_ticks.html">flush_ticks()</a></code> </p>
</td>
<td><p>Makes axis text labels flush on the ends</p></td>
</tr><tr>
<td>
<p><code><a href="ft_cols.html">ft_cols</a></code> <code><a href="ft_cols.html">ft_text_col</a></code> </p>
</td>
<td><p>FT color palette</p></td>
</tr><tr>
<td>
<p><code><a href="ft_geom_defaults.html">ft_geom_defaults()</a></code> </p>
</td>
<td><p>Change geom defaults from black to custom lights for the FT theme</p></td>
</tr><tr>
<td>
<p><code><a href="ft_pal.html">ft_pal()</a></code> </p>
</td>
<td><p>A bright qualitative color palette</p></td>
</tr><tr>
<td>
<p><code><a href="gg_check.html">gg_check()</a></code> </p>
</td>
<td><p>Spell check ggplot2 plot labels</p></td>
</tr><tr>
<td>
<p><code><a href="hrbrthemes-exports.html">hrbrthemes-exports</a></code> </p>
</td>
<td><p>hrbrthemes exported operators</p></td>
</tr><tr>
<td>
<p><code><a href="import_plex_sans.html">import_plex_sans()</a></code> </p>
</td>
<td><p>Import IBM Plex Sans font for use in charts</p></td>
</tr><tr>
<td>
<p><code><a href="import_roboto_condensed.html">import_roboto_condensed()</a></code> </p>
</td>
<td><p>Import Roboto Condensed font for use in charts</p></td>
</tr><tr>
<td>
<p><code><a href="import_titillium_web.html">import_titillium_web()</a></code> </p>
</td>
<td><p>Import Titillium Web font for use in charts</p></td>
</tr><tr>
<td>
<p><code><a href="ipsum.html">ipsum()</a></code> </p>
</td>
<td><p>ipsum R markdown template</p></td>
</tr><tr>
<td>
<p><code><a href="ipsum_pal.html">ipsum_pal()</a></code> </p>
</td>
<td><p>A muted, qualitative color palette</p></td>
</tr><tr>
<td>
<p><code><a href="ipsum_pdf.html">ipsum_pdf()</a></code> </p>
</td>
<td><p>ipsum R markdown template for PDF output</p></td>
</tr><tr>
<td>
<p><code><a href="modern_geom_defaults.html">modern_geom_defaults()</a></code> </p>
</td>
<td><p>Change geom defaults from black to white for the modern theme</p></td>
</tr><tr>
<td>
<p><code><a href="scale_ft.html">scale_colour_ft()</a></code> <code><a href="scale_ft.html">scale_color_ft()</a></code> <code><a href="scale_ft.html">scale_fill_ft()</a></code> </p>
</td>
<td><p>Discrete color &amp; fill scales based on the FT palette</p></td>
</tr><tr>
<td>
<p><code><a href="scale_ipsum.html">scale_colour_ipsum()</a></code> <code><a href="scale_ipsum.html">scale_color_ipsum()</a></code> <code><a href="scale_ipsum.html">scale_fill_ipsum()</a></code> </p>
</td>
<td><p>Discrete color &amp; fill scales based on the ipsum palette</p></td>
</tr><tr>
<td>
<p><code><a href="scale_x_percent.html">scale_x_percent()</a></code> <code><a href="scale_x_percent.html">scale_y_percent()</a></code> <code><a href="scale_x_percent.html">scale_x_comma()</a></code> <code><a href="scale_x_percent.html">scale_y_comma()</a></code> </p>
</td>
<td><p>X &amp; Y scales with opinionated pre-sets for percent &amp; comma label formats</p></td>
</tr><tr>
<td>
<p><code><a href="theme_ipsum.html">theme_ipsum()</a></code> </p>
</td>
<td><p>A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typography</p></td>
</tr><tr>
<td>
<p><code><a href="theme_ipsum_ps.html">theme_ipsum_ps()</a></code> </p>
</td>
<td><p>A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy</p></td>
</tr><tr>
<td>
<p><code><a href="theme_ipsum_rc.html">theme_ft_rc()</a></code> <code><a href="theme_ipsum_rc.html">theme_modern_rc()</a></code> <code><a href="theme_ipsum_rc.html">theme_ipsum_rc()</a></code> </p>
</td>
<td><p>A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy</p></td>
</tr><tr>
<td>
<p><code><a href="theme_ipsum_tw.html">theme_ipsum_tw()</a></code> </p>
</td>
<td><p>A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy</p></td>
</tr><tr>
<td>
<p><code><a href="update_geom_font_defaults.html">update_geom_font_defaults()</a></code> </p>
</td>
<td><p>Update matching font defaults for text geoms</p></td>
</tr>
</tbody>
</table>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
@ -199,11 +298,13 @@
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

87
docs/reference/ipsum.html

@ -1,6 +1,6 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -9,24 +9,37 @@
<title>ipsum R markdown template — ipsum • hrbrthemes</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../jquery.sticky-kit.min.js"></script>
<script src="../pkgdown.js"></script>
<meta property="og:title" content="ipsum R markdown template — ipsum" />
<meta property="og:description" content="Template for creating an R markdown document with an emphasis on typography" />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@ -42,34 +55,55 @@
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../reference/index.html">Reference</a>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../articles/index.html">Articles</a>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">News</a>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
@ -77,24 +111,29 @@
</header>
<div class="row">
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>ipsum R markdown template</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/ipsum.r'><code>R/ipsum.r</code></a></small>
<div class="hidden name"><code>ipsum.Rd</code></div>
</div>
<div class="ref-description">
<p>Template for creating an R markdown document with an emphasis on typography</p>
</div>
<pre class="usage"><span class='fu'>ipsum</span>(<span class='kw'>number_sections</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>, <span class='kw'>fig_width</span> <span class='kw'>=</span> <span class='fl'>7</span>, <span class='kw'>fig_height</span> <span class='kw'>=</span> <span class='fl'>5</span>,
<span class='kw'>fig_retina</span> <span class='kw'>=</span> <span class='kw'>if</span> (!<span class='no'>fig_caption</span>) <span class='fl'>2</span>, <span class='kw'>fig_caption</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>, <span class='kw'>dev</span> <span class='kw'>=</span> <span class='st'>"png"</span>,
<span class='kw'>smart</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>, <span class='kw'>self_contained</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>, <span class='kw'>highlight</span> <span class='kw'>=</span> <span class='st'>"default"</span>,
<span class='kw'>mathjax</span> <span class='kw'>=</span> <span class='st'>"default"</span>, <span class='kw'>extra_dependencies</span> <span class='kw'>=</span> <span class='kw'>NULL</span>, <span class='kw'>css</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
<span class='kw'>includes</span> <span class='kw'>=</span> <span class='kw'>NULL</span>, <span class='kw'>keep_md</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>, <span class='kw'>lib_dir</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
<span class='kw'>md_extensions</span> <span class='kw'>=</span> <span class='kw'>NULL</span>, <span class='kw'>pandoc_args</span> <span class='kw'>=</span> <span class='kw'>NULL</span>, <span class='no'>...</span>)</pre>
<span class='kw'>md_extensions</span> <span class='kw'>=</span> <span class='kw'>NULL</span>, <span class='kw'>pandoc_args</span> <span class='kw'>=</span> <span class='kw'>NULL</span>, <span class='kw'>toc</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>,
<span class='kw'>toc_depth</span> <span class='kw'>=</span> <span class='fl'>2</span>, <span class='no'>...</span>)</pre>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a> Arguments</h2>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
<table class="ref-arguments">
<colgroup><col class="name" /><col class="desc" /></colgroup>
<tr>
@ -137,7 +176,7 @@ ellipses.</p></td>
dependencies, using data: URIs to incorporate the contents of linked
scripts, stylesheets, images, and videos. Note that even for self contained
documents MathJax is still loaded externally (this is necessary because of
it's size).</p></td>
its size).</p></td>
</tr>
<tr>
<th>highlight</th>
@ -186,6 +225,10 @@ additional details.</p></td>
<th>pandoc_args</th>
<td><p>Additional command line options to pass to pandoc</p></td>
</tr>
<tr>
<th>toc, toc_depth</th>
<td><p>TOC params</p></td>
</tr>
</table>
@ -205,11 +248,13 @@ additional details.</p></td>
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

BIN
docs/reference/ipsum_pal-1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
docs/reference/ipsum_pal-2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

BIN
docs/reference/ipsum_pal-5.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

80
docs/reference/ipsum_pal.html

@ -1,6 +1,6 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -9,24 +9,37 @@
<title>A muted, qualitative color palette — ipsum_pal • hrbrthemes</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../jquery.sticky-kit.min.js"></script>
<script src="../pkgdown.js"></script>
<meta property="og:title" content="A muted, qualitative color palette — ipsum_pal" />
<meta property="og:description" content="A muted, qualitative color palette" />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@ -42,34 +55,55 @@
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../reference/index.html">Reference</a>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../articles/index.html">Articles</a>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">News</a>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
@ -77,22 +111,26 @@
</header>
<div class="row">
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>A muted, qualitative color palette</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/color.r'><code>R/color.r</code></a></small>
<div class="hidden name"><code>ipsum_pal.Rd</code></div>
</div>
<div class="ref-description">
<p>A muted, qualitative color palette</p>
</div>
<pre class="usage"><span class='fu'>ipsum_pal</span>()</pre>
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'><span class='fu'>library</span>(<span class='no'>scales</span>)
<span class='kw'>scales</span><span class='kw'>::</span><span class='fu'>show_col</span>(<span class='fu'>ipsum_pal</span>()(<span class='fl'>9</span>))</div><img src='ipsum_pal-2.png' alt='' width='540' height='400' /></pre>
<pre class="examples"><div class='input'><span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/library'>library</a></span>(<span class='no'>scales</span>)
<span class='kw pkg'>scales</span><span class='kw ns'>::</span><span class='fu'><a href='https://www.rdocumentation.org/packages/scales/topics/show_col'>show_col</a></span>(<span class='fu'>ipsum_pal</span>()(<span class='fl'>9</span>))</div><div class='img'><img src='ipsum_pal-1.png' alt='' width='700' height='433' /></div></pre>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
@ -110,11 +148,13 @@
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

171
docs/reference/ipsum_pdf.html

@ -0,0 +1,171 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ipsum R markdown template for PDF output — ipsum_pdf • hrbrthemes</title>
<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script>
<meta property="og:title" content="ipsum R markdown template for PDF output — ipsum_pdf" />
<meta property="og:description" content="Template for creating an R markdown documents with an emphasis on typography" />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-reference-topic">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header>
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>ipsum R markdown template for PDF output</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/ipsum-pdf.R'><code>R/ipsum-pdf.R</code></a></small>
<div class="hidden name"><code>ipsum_pdf.Rd</code></div>
</div>
<div class="ref-description">
<p>Template for creating an R markdown documents with an emphasis on typography</p>
</div>
<pre class="usage"><span class='fu'>ipsum_pdf</span>(<span class='no'>...</span>)</pre>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
<table class="ref-arguments">
<colgroup><col class="name" /><col class="desc" /></colgroup>
<tr>
<th>...</th>
<td><p>Arguments to <code><a href='https://www.rdocumentation.org/packages/rmarkdown/topics/pdf_document'>rmarkdown::pdf_document</a></code></p></td>
</tr>
</table>
<h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2>
<p>R Markdown output format to pass to <code><a href='https://www.rdocumentation.org/packages/rmarkdown/topics/render'>render</a></code></p>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
<ul class="nav nav-pills nav-stacked">
<li><a href="#arguments">Arguments</a></li>
<li><a href="#value">Value</a></li>
</ul>
</div>
</div>
<footer>
<div class="copyright">
<p>Developed by Bob Rudis.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

155
docs/reference/modern_geom_defaults.html

@ -0,0 +1,155 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Change geom defaults from black to white for the modern theme — modern_geom_defaults • hrbrthemes</title>
<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script>
<meta property="og:title" content="Change geom defaults from black to white for the modern theme — modern_geom_defaults" />
<meta property="og:description" content="Change geom defaults from black to white for the modern theme" />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-reference-topic">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header>
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>Change geom defaults from black to white for the modern theme</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/modern.r'><code>R/modern.r</code></a></small>
<div class="hidden name"><code>modern_geom_defaults.Rd</code></div>
</div>
<div class="ref-description">
<p>Change geom defaults from black to white for the modern theme</p>
</div>
<pre class="usage"><span class='fu'>modern_geom_defaults</span>()</pre>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
<ul class="nav nav-pills nav-stacked">
</ul>
</div>
</div>
<footer>
<div class="copyright">
<p>Developed by Bob Rudis.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

211
docs/reference/scale_ft.html

@ -0,0 +1,211 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Discrete color &amp; fill scales based on the FT palette — scale_colour_ft • hrbrthemes</title>
<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script>
<meta property="og:title" content="Discrete color &amp; fill scales based on the FT palette — scale_colour_ft" />
<meta property="og:description" content="See ft_pal." />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-reference-topic">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header>
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>Discrete color &amp; fill scales based on the FT palette</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/ft.R'><code>R/ft.R</code></a></small>
<div class="hidden name"><code>scale_ft.Rd</code></div>
</div>
<div class="ref-description">
<p>See <a href='ft_pal'>ft_pal</a>.</p>
</div>
<pre class="usage"><span class='fu'>scale_colour_ft</span>(<span class='no'>...</span>)
<span class='fu'>scale_color_ft</span>(<span class='no'>...</span>)
<span class='fu'>scale_fill_ft</span>(<span class='no'>...</span>)</pre>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
<table class="ref-arguments">
<colgroup><col class="name" /><col class="desc" /></colgroup>
<tr>
<th>...</th>
<td><p>Arguments passed on to <code><a href='https://ggplot2.tidyverse.org/reference/discrete_scale.html'>ggplot2::discrete_scale</a></code></p><dl class='dl-horizontal'>
<dt>aesthetics</dt><dd><p>The names of the aesthetics that this scale works with</p></dd>
<dt>scale_name</dt><dd><p>The name of the scale</p></dd>
<dt>palette</dt><dd><p>A palette function that when called with a single integer
argument (the number of levels in the scale) returns the values that
they should take.</p></dd>
<dt>name</dt><dd><p>The name of the scale. Used as the axis or legend title. If
<code>waiver()</code>, the default, the name of the scale is taken from the first
mapping used for that aesthetic. If <code>NULL</code>, the legend title will be
omitted.</p></dd>
<dt>breaks</dt><dd><p>One of:
<ul>
<li><p><code>NULL</code> for no breaks</p></li>
<li><p><code>waiver()</code> for the default breaks computed by the
transformation object</p></li>
<li><p>A character vector of breaks</p></li>
<li><p>A function that takes the limits as input and returns breaks
as output</p></li>
</ul></p></dd>
<dt>labels</dt><dd><p>One of:
<ul>
<li><p><code>NULL</code> for no labels</p></li>
<li><p><code>waiver()</code> for the default labels computed by the
transformation object</p></li>
<li><p>A character vector giving labels (must be same length as <code>breaks</code>)</p></li>
<li><p>A function that takes the breaks as input and returns labels
as output</p></li>
</ul></p></dd>
<dt>limits</dt><dd><p>A character vector that defines possible values of the scale
and their order.</p></dd>
<dt>na.translate</dt><dd><p>Unlike continuous scales, discrete scales can easily show
missing values, and do so by default. If you want to remove missing values
from a discrete scale, specify <code>na.translate = FALSE</code>.</p></dd>
<dt>na.value</dt><dd><p>If <code>na.translate = TRUE</code>, what value aesthetic
value should missing be displayed as? Does not apply to position scales
where <code>NA</code> is always placed at the far right.</p></dd>
<dt>drop</dt><dd><p>Should unused factor levels be omitted from the scale?
The default, <code>TRUE</code>, uses the levels that appear in the data;
<code>FALSE</code> uses all the levels in the factor.</p></dd>
<dt>guide</dt><dd><p>A function used to create a guide or its name. See
<code>guides()</code> for more info.</p></dd>
<dt>super</dt><dd><p>The super class to use for the constructed scale</p></dd>
</dl></td>
</tr>
</table>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
<ul class="nav nav-pills nav-stacked">
<li><a href="#arguments">Arguments</a></li>
</ul>
</div>
</div>
<footer>
<div class="copyright">
<p>Developed by Bob Rudis.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

125
docs/reference/scale_ipsum.html

@ -1,6 +1,6 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -9,24 +9,37 @@
<title>Discrete color &amp; fill scales based on the ipsum palette — scale_colour_ipsum • hrbrthemes</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../jquery.sticky-kit.min.js"></script>
<script src="../pkgdown.js"></script>
<meta property="og:title" content="Discrete color &amp; fill scales based on the ipsum palette — scale_colour_ipsum" />
<meta property="og:description" content="See ipsum_pal." />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@ -42,34 +55,55 @@
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../reference/index.html">Reference</a>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../articles/index.html">Articles</a>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">News</a>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
@ -77,15 +111,19 @@
</header>
<div class="row">
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>Discrete color &amp; fill scales based on the ipsum palette</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/color.r'><code>R/color.r</code></a></small>
<div class="hidden name"><code>scale_ipsum.Rd</code></div>
</div>
<div class="ref-description">
<p>See <a href = 'ipsum_pal'>ipsum_pal</a>.</p>
<p>See <a href='ipsum_pal'>ipsum_pal</a>.</p>
</div>
<pre class="usage"><span class='fu'>scale_colour_ipsum</span>(<span class='no'>...</span>)
@ -93,13 +131,54 @@
<span class='fu'>scale_fill_ipsum</span>(<span class='no'>...</span>)</pre>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a> Arguments</h2>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
<table class="ref-arguments">
<colgroup><col class="name" /><col class="desc" /></colgroup>
<tr>
<th>...</th>
<td><p>Other arguments passed on to <code>discrete_scale</code>
to control name, limits, breaks, labels and so forth.</p></td>
<td><p>Arguments passed on to <code><a href='https://ggplot2.tidyverse.org/reference/discrete_scale.html'>ggplot2::discrete_scale</a></code></p><dl class='dl-horizontal'>
<dt>aesthetics</dt><dd><p>The names of the aesthetics that this scale works with</p></dd>
<dt>scale_name</dt><dd><p>The name of the scale</p></dd>
<dt>palette</dt><dd><p>A palette function that when called with a single integer
argument (the number of levels in the scale) returns the values that
they should take.</p></dd>
<dt>name</dt><dd><p>The name of the scale. Used as the axis or legend title. If
<code>waiver()</code>, the default, the name of the scale is taken from the first
mapping used for that aesthetic. If <code>NULL</code>, the legend title will be
omitted.</p></dd>
<dt>breaks</dt><dd><p>One of:
<ul>
<li><p><code>NULL</code> for no breaks</p></li>
<li><p><code>waiver()</code> for the default breaks computed by the
transformation object</p></li>
<li><p>A character vector of breaks</p></li>
<li><p>A function that takes the limits as input and returns breaks
as output</p></li>
</ul></p></dd>
<dt>labels</dt><dd><p>One of:
<ul>
<li><p><code>NULL</code> for no labels</p></li>
<li><p><code>waiver()</code> for the default labels computed by the
transformation object</p></li>
<li><p>A character vector giving labels (must be same length as <code>breaks</code>)</p></li>
<li><p>A function that takes the breaks as input and returns labels
as output</p></li>
</ul></p></dd>
<dt>limits</dt><dd><p>A character vector that defines possible values of the scale
and their order.</p></dd>
<dt>na.translate</dt><dd><p>Unlike continuous scales, discrete scales can easily show
missing values, and do so by default. If you want to remove missing values
from a discrete scale, specify <code>na.translate = FALSE</code>.</p></dd>
<dt>na.value</dt><dd><p>If <code>na.translate = TRUE</code>, what value aesthetic
value should missing be displayed as? Does not apply to position scales
where <code>NA</code> is always placed at the far right.</p></dd>
<dt>drop</dt><dd><p>Should unused factor levels be omitted from the scale?
The default, <code>TRUE</code>, uses the levels that appear in the data;
<code>FALSE</code> uses all the levels in the factor.</p></dd>
<dt>guide</dt><dd><p>A function used to create a guide or its name. See
<code>guides()</code> for more info.</p></dd>
<dt>super</dt><dd><p>The super class to use for the constructed scale</p></dd>
</dl></td>
</tr>
</table>
@ -120,11 +199,13 @@ to control name, limits, breaks, labels and so forth.</p></td>
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

140
docs/reference/scale_x_percent.html

@ -1,6 +1,6 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -9,24 +9,37 @@
<title>X &amp; Y scales with opinionated pre-sets for percent &amp; comma label formats — scale_x_percent • hrbrthemes</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../jquery.sticky-kit.min.js"></script>
<script src="../pkgdown.js"></script>
<meta property="og:title" content="X &amp; Y scales with opinionated pre-sets for percent &amp; comma label formats — scale_x_percent" />
<meta property="og:description" content="The _comma ones set comma format for axis text and expand=c(0,0) (you need to set limits)." />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@ -42,34 +55,55 @@
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../reference/index.html">Reference</a>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../articles/index.html">Articles</a>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">News</a>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
@ -77,54 +111,59 @@
</header>
<div class="row">
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>X &amp; Y scales with opinionated pre-sets for percent &amp; comma label formats</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/scales.r'><code>R/scales.r</code></a></small>
<div class="hidden name"><code>scale_x_percent.Rd</code></div>
</div>
<div class="ref-description">
<p>The <code>_comma</code> ones set comma format for axis text and <code>expand=c(0,0)</code> (you need to set limits).</p>
</div>
<pre class="usage"><span class='fu'>scale_x_percent</span>(<span class='kw'>name</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(), <span class='kw'>breaks</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(),
<span class='kw'>minor_breaks</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(), <span class='kw'>labels</span> <span class='kw'>=</span> <span class='kw'>scales</span><span class='kw'>::</span><span class='no'>percent</span>, <span class='kw'>limits</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
<span class='kw'>expand</span> <span class='kw'>=</span> <span class='fu'>c</span>(<span class='fl'>0.01</span>, <span class='fl'>0</span>), <span class='kw'>oob</span> <span class='kw'>=</span> <span class='no'>censor</span>, <span class='kw'>na.value</span> <span class='kw'>=</span> <span class='fl'>NA_real_</span>,
<span class='kw'>minor_breaks</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(), <span class='kw'>labels</span> <span class='kw'>=</span> <span class='kw pkg'>scales</span><span class='kw ns'>::</span><span class='no'><a href='https://www.rdocumentation.org/packages/scales/topics/number_format'>percent</a></span>, <span class='kw'>limits</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
<span class='kw'>expand</span> <span class='kw'>=</span> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/c'>c</a></span>(<span class='fl'>0.01</span>, <span class='fl'>0</span>), <span class='kw'>oob</span> <span class='kw'>=</span> <span class='no'>censor</span>, <span class='kw'>na.value</span> <span class='kw'>=</span> <span class='fl'>NA_real_</span>,
<span class='kw'>trans</span> <span class='kw'>=</span> <span class='st'>"identity"</span>, <span class='kw'>position</span> <span class='kw'>=</span> <span class='st'>"bottom"</span>, <span class='kw'>sec.axis</span> <span class='kw'>=</span> <span class='fu'>waiver</span>())
<span class='fu'>scale_y_percent</span>(<span class='kw'>name</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(), <span class='kw'>breaks</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(),
<span class='kw'>minor_breaks</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(), <span class='kw'>labels</span> <span class='kw'>=</span> <span class='kw'>scales</span><span class='kw'>::</span><span class='no'>percent</span>, <span class='kw'>limits</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
<span class='kw'>expand</span> <span class='kw'>=</span> <span class='fu'>c</span>(<span class='fl'>0.01</span>, <span class='fl'>0</span>), <span class='kw'>oob</span> <span class='kw'>=</span> <span class='no'>censor</span>, <span class='kw'>na.value</span> <span class='kw'>=</span> <span class='fl'>NA_real_</span>,
<span class='kw'>minor_breaks</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(), <span class='kw'>labels</span> <span class='kw'>=</span> <span class='kw pkg'>scales</span><span class='kw ns'>::</span><span class='no'><a href='https://www.rdocumentation.org/packages/scales/topics/number_format'>percent</a></span>, <span class='kw'>limits</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
<span class='kw'>expand</span> <span class='kw'>=</span> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/c'>c</a></span>(<span class='fl'>0.01</span>, <span class='fl'>0</span>), <span class='kw'>oob</span> <span class='kw'>=</span> <span class='no'>censor</span>, <span class='kw'>na.value</span> <span class='kw'>=</span> <span class='fl'>NA_real_</span>,
<span class='kw'>trans</span> <span class='kw'>=</span> <span class='st'>"identity"</span>, <span class='kw'>position</span> <span class='kw'>=</span> <span class='st'>"left"</span>, <span class='kw'>sec.axis</span> <span class='kw'>=</span> <span class='fu'>waiver</span>())
<span class='fu'>scale_x_comma</span>(<span class='kw'>name</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(), <span class='kw'>breaks</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(), <span class='kw'>minor_breaks</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(),
<span class='kw'>labels</span> <span class='kw'>=</span> <span class='kw'>scales</span><span class='kw'>::</span><span class='no'>comma</span>, <span class='kw'>limits</span> <span class='kw'>=</span> <span class='kw'>NULL</span>, <span class='kw'>expand</span> <span class='kw'>=</span> <span class='fu'>c</span>(<span class='fl'>0.01</span>, <span class='fl'>0</span>),
<span class='kw'>oob</span> <span class='kw'>=</span> <span class='no'>censor</span>, <span class='kw'>na.value</span> <span class='kw'>=</span> <span class='fl'>NA_real_</span>, <span class='kw'>trans</span> <span class='kw'>=</span> <span class='st'>"identity"</span>,
<span class='kw'>position</span> <span class='kw'>=</span> <span class='st'>"bottom"</span>, <span class='kw'>sec.axis</span> <span class='kw'>=</span> <span class='fu'>waiver</span>())
<span class='fu'>scale_x_comma</span>(<span class='kw'>name</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(), <span class='kw'>breaks</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(),
<span class='kw'>minor_breaks</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(), <span class='kw'>labels</span> <span class='kw'>=</span> <span class='kw pkg'>scales</span><span class='kw ns'>::</span><span class='no'><a href='https://www.rdocumentation.org/packages/scales/topics/number_format'>comma</a></span>, <span class='kw'>limits</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
<span class='kw'>expand</span> <span class='kw'>=</span> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/c'>c</a></span>(<span class='fl'>0.01</span>, <span class='fl'>0</span>), <span class='kw'>oob</span> <span class='kw'>=</span> <span class='no'>censor</span>, <span class='kw'>na.value</span> <span class='kw'>=</span> <span class='fl'>NA_real_</span>,
<span class='kw'>trans</span> <span class='kw'>=</span> <span class='st'>"identity"</span>, <span class='kw'>position</span> <span class='kw'>=</span> <span class='st'>"bottom"</span>, <span class='kw'>sec.axis</span> <span class='kw'>=</span> <span class='fu'>waiver</span>())
<span class='fu'>scale_y_comma</span>(<span class='kw'>name</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(), <span class='kw'>breaks</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(), <span class='kw'>minor_breaks</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(),
<span class='kw'>labels</span> <span class='kw'>=</span> <span class='kw'>scales</span><span class='kw'>::</span><span class='no'>comma</span>, <span class='kw'>limits</span> <span class='kw'>=</span> <span class='kw'>NULL</span>, <span class='kw'>expand</span> <span class='kw'>=</span> <span class='fu'>c</span>(<span class='fl'>0.01</span>, <span class='fl'>0</span>),
<span class='kw'>oob</span> <span class='kw'>=</span> <span class='no'>censor</span>, <span class='kw'>na.value</span> <span class='kw'>=</span> <span class='fl'>NA_real_</span>, <span class='kw'>trans</span> <span class='kw'>=</span> <span class='st'>"identity"</span>,
<span class='kw'>position</span> <span class='kw'>=</span> <span class='st'>"left"</span>, <span class='kw'>sec.axis</span> <span class='kw'>=</span> <span class='fu'>waiver</span>())</pre>
<span class='fu'>scale_y_comma</span>(<span class='kw'>name</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(), <span class='kw'>breaks</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(),
<span class='kw'>minor_breaks</span> <span class='kw'>=</span> <span class='fu'>waiver</span>(), <span class='kw'>labels</span> <span class='kw'>=</span> <span class='kw pkg'>scales</span><span class='kw ns'>::</span><span class='no'><a href='https://www.rdocumentation.org/packages/scales/topics/number_format'>comma</a></span>, <span class='kw'>limits</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
<span class='kw'>expand</span> <span class='kw'>=</span> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/c'>c</a></span>(<span class='fl'>0.01</span>, <span class='fl'>0</span>), <span class='kw'>oob</span> <span class='kw'>=</span> <span class='no'>censor</span>, <span class='kw'>na.value</span> <span class='kw'>=</span> <span class='fl'>NA_real_</span>,
<span class='kw'>trans</span> <span class='kw'>=</span> <span class='st'>"identity"</span>, <span class='kw'>position</span> <span class='kw'>=</span> <span class='st'>"left"</span>, <span class='kw'>sec.axis</span> <span class='kw'>=</span> <span class='fu'>waiver</span>())</pre>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a> Arguments</h2>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
<table class="ref-arguments">
<colgroup><col class="name" /><col class="desc" /></colgroup>
<tr>
<th>name</th>
<td><p>The name of the scale. Used as axis or legend title. If
<code>NULL</code>, the default, the name of the scale is taken from the first
mapping used for that aesthetic.</p></td>
<code>waiver()</code>, the default, the name of the scale is taken from the first
mapping used for that aesthetic. If <code>NULL</code>, the legend title will be
omitted.</p></td>
</tr>
<tr>
<th>breaks</th>
<td><p>One of:</p><ul>
<li><p><code>NULL</code> for no breaks</p></li>
<li><p><code>waiver()</code> for the default breaks computed by the
transformation object</p></li>
transformation object</p></li>
<li><p>A numeric vector of positions</p></li>
<li><p>A function that takes the limits as input and returns breaks
as output</p></li>
as output</p></li>
</ul></td>
</tr>
<tr>
@ -132,7 +171,7 @@ mapping used for that aesthetic.</p></td>
<td><p>One of:</p><ul>
<li><p><code>NULL</code> for no minor breaks</p></li>
<li><p><code>waiver()</code> for the default breaks (one minor break between
each major break)</p></li>
each major break)</p></li>
<li><p>A numeric vector of positions</p></li>
<li><p>A function that given the limits returns a vector of minor breaks.</p></li>
</ul></td>
@ -142,10 +181,10 @@ mapping used for that aesthetic.</p></td>
<td><p>One of:</p><ul>
<li><p><code>NULL</code> for no labels</p></li>
<li><p><code>waiver()</code> for the default labels computed by the
transformation object</p></li>
transformation object</p></li>
<li><p>A character vector giving labels (must be same length as <code>breaks</code>)</p></li>
<li><p>A function that takes the breaks as input and returns labels
as output</p></li>
as output</p></li>
</ul></td>
</tr>
<tr>
@ -155,11 +194,7 @@ Use <code>NA</code> to refer to the existing minimum or maximum.</p></td>
</tr>
<tr>
<th>expand</th>
<td><p>A numeric vector of length two giving multiplicative and
additive expansion constants. These constants ensure that the data is
placed some distance away from the axes. The defaults are
<code>c(0.05, 0)</code> for continuous variables, and <code>c(0, 0.6)</code> for
discrete variables.</p></td>
<td><p>same as in ggplot2</p></td>
</tr>
<tr>
<th>oob</th>
@ -168,19 +203,16 @@ discrete variables.</p></td>
</tr>
<tr>
<th>na.value</th>
<td><p>Missing values will be replaced with this value.</p></td>
<td><p>If <code>na.translate = TRUE</code>, what value aesthetic
value should missing be displayed as? Does not apply to position scales
where <code>NA</code> is always placed at the far right.</p></td>
</tr>
<tr>
<th>trans</th>
<td><p>Either the name of a transformation object, or the
object itself. Built-in transformations include "asn", "atanh",
"boxcox", "exp", "identity", "log", "log10", "log1p", "log2",
"logit", "probability", "probit", "reciprocal", "reverse" and "sqrt".</p>
<p>A transformation object bundles together a transform, it's inverse,
and methods for generating breaks and labels. Transformation objects
are defined in the scales package, and are called <code>name_trans</code>, e.g.
<code><a href='http://www.rdocumentation.org/packages/scales/topics/boxcox_trans'>boxcox_trans</a></code>. You can create your own
transformation with <code><a href='http://www.rdocumentation.org/packages/scales/topics/trans_new'>trans_new</a></code>.</p></td>
object itself. Built-in transformations include "asn", "atanh",
"boxcox", "exp", "identity", "log", "log10", "log1p", "log2",
"logit", "probability", "probit", "reciprocal", "reverse" and "sqrt".</p></td>
</tr>
<tr>
<th>position</th>
@ -189,7 +221,7 @@ scales, "top" or "bottom" for horizontal scales</p></td>
</tr>
<tr>
<th>sec.axis</th>
<td><p>specifify a secondary axis</p></td>
<td><p>specify a secondary axis</p></td>
</tr>
</table>
@ -216,11 +248,13 @@ scales, "top" or "bottom" for horizontal scales</p></td>
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

149
docs/reference/theme_ipsum.html

@ -1,6 +1,6 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -9,24 +9,37 @@
<title>A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typography — theme_ipsum • hrbrthemes</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../jquery.sticky-kit.min.js"></script>
<script src="../pkgdown.js"></script>
<meta property="og:title" content="A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typography — theme_ipsum" />
<meta property="og:description" content="Also has a &quot;dark&quot; / &quot;modern&quot; version for the new RStudio theme" />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@ -42,34 +55,55 @@
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../reference/index.html">Reference</a>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../articles/index.html">Articles</a>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">News</a>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
@ -77,15 +111,19 @@
</header>
<div class="row">
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typography</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/theme-ipsum.r'><code>R/theme-ipsum.r</code></a></small>
<div class="hidden name"><code>theme_ipsum.Rd</code></div>
</div>
<div class="ref-description">
<p>Also has a "dark" / "modern" version for the new RStudio theme</p>
</div>
<pre class="usage"><span class='fu'>theme_ipsum</span>(<span class='kw'>base_family</span> <span class='kw'>=</span> <span class='st'>"Arial Narrow"</span>, <span class='kw'>base_size</span> <span class='kw'>=</span> <span class='fl'>11.5</span>,
<span class='kw'>plot_title_family</span> <span class='kw'>=</span> <span class='no'>base_family</span>, <span class='kw'>plot_title_size</span> <span class='kw'>=</span> <span class='fl'>18</span>,
@ -96,11 +134,12 @@
<span class='kw'>strip_text_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>caption_family</span> <span class='kw'>=</span> <span class='no'>base_family</span>,
<span class='kw'>caption_size</span> <span class='kw'>=</span> <span class='fl'>9</span>, <span class='kw'>caption_face</span> <span class='kw'>=</span> <span class='st'>"italic"</span>, <span class='kw'>caption_margin</span> <span class='kw'>=</span> <span class='fl'>10</span>,
<span class='kw'>axis_text_size</span> <span class='kw'>=</span> <span class='no'>base_size</span>, <span class='kw'>axis_title_family</span> <span class='kw'>=</span> <span class='no'>subtitle_family</span>,
<span class='kw'>axis_title_size</span> <span class='kw'>=</span> <span class='fl'>9</span>, <span class='kw'>axis_title_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>axis_title_just</span> <span class='kw'>=</span> <span class='st'>"rt"</span>,
<span class='kw'>plot_margin</span> <span class='kw'>=</span> <span class='fu'>margin</span>(<span class='fl'>30</span>, <span class='fl'>30</span>, <span class='fl'>30</span>, <span class='fl'>30</span>), <span class='kw'>grid_col</span> <span class='kw'>=</span> <span class='st'>"#cccccc"</span>, <span class='kw'>grid</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>,
<span class='kw'>axis_col</span> <span class='kw'>=</span> <span class='st'>"#cccccc"</span>, <span class='kw'>axis</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>, <span class='kw'>ticks</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>)</pre>
<span class='kw'>axis_title_size</span> <span class='kw'>=</span> <span class='fl'>9</span>, <span class='kw'>axis_title_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>,
<span class='kw'>axis_title_just</span> <span class='kw'>=</span> <span class='st'>"rt"</span>, <span class='kw'>plot_margin</span> <span class='kw'>=</span> <span class='fu'>margin</span>(<span class='fl'>30</span>, <span class='fl'>30</span>, <span class='fl'>30</span>, <span class='fl'>30</span>),
<span class='kw'>grid_col</span> <span class='kw'>=</span> <span class='st'>"#cccccc"</span>, <span class='kw'>grid</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>, <span class='kw'>axis_col</span> <span class='kw'>=</span> <span class='st'>"#cccccc"</span>,
<span class='kw'>axis</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>, <span class='kw'>ticks</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>)</pre>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a> Arguments</h2>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
<table class="ref-arguments">
<colgroup><col class="name" /><col class="desc" /></colgroup>
<tr>
@ -141,7 +180,7 @@
</tr>
<tr>
<th>plot_margin</th>
<td><p>plot margin (specify with <a href='http://www.rdocumentation.org/packages/ggplot2/topics/element'>ggplot2::margin</a>)</p></td>
<td><p>plot margin (specify with <code><a href='https://ggplot2.tidyverse.org/reference/element.html'>ggplot2::margin()</a></code>)</p></td>
</tr>
<tr>
<th>grid_col, axis_col</th>
@ -168,7 +207,7 @@
available on any modern system, so it's "free"-ish; plus, it is a condensed font
with solid default kerning pairs and geometric numbers.</p>
<h2 class="hasAnchor" id="building-upon-code-theme-ipsum-code-"><a class="anchor" href="#building-upon-code-theme-ipsum-code-"></a>Building upon &lt;code&gt;theme_ipsum&lt;/code&gt;</h2>
<h2 class="hasAnchor" id="building-upon-theme-ipsum"><a class="anchor" href="#building-upon-theme-ipsum"></a>Building upon <code>theme_ipsum</code></h2>
<p>The function is setup in such a way that you can customize your own one by just
@ -184,40 +223,40 @@ theme function for them to work in a particular situation. This situation
usually only arises when using a newer font with many weights but somewhat
irregular internal font name patterns.</p>
<p>There is an option <code>hrbrthemes.loadfonts</code> which -- if set to <code>TRUE</code> -- will
call <code>extrafont::loadfonts()</code> to register non-core fonts with R PDF &amp; PostScript
call <code><a href='https://www.rdocumentation.org/packages/extrafont/topics/loadfonts'>extrafont::loadfonts()</a></code> to register non-core fonts with R PDF &amp; PostScript
devices. If you are running under Windows, the package calls the same function
to register non-core fonts with the Windows graphics device.</p>
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'><span class='fu'>not_run</span>({
<span class='fu'>library</span>(<span class='no'>ggplot2</span>)
<span class='fu'>library</span>(<span class='no'>dplyr</span>)
<span class='co'># seminal scatterplot</span>
<span class='fu'>ggplot</span>(<span class='no'>mtcars</span>, <span class='fu'>aes</span>(<span class='no'>mpg</span>, <span class='no'>wt</span>)) +
<span class='fu'>geom_point</span>() +
<span class='fu'>labs</span>(<span class='kw'>x</span><span class='kw'>=</span><span class='st'>"Fuel effiiency (mpg)"</span>, <span class='kw'>y</span><span class='kw'>=</span><span class='st'>"Weight (tons)"</span>,
<span class='kw'>title</span><span class='kw'>=</span><span class='st'>"Seminal ggplot2 scatterplot example"</span>,
<span class='kw'>subtitle</span><span class='kw'>=</span><span class='st'>"A plot that is only useful for demonstration purposes"</span>,
<span class='kw'>caption</span><span class='kw'>=</span><span class='st'>"Brought to you by the letter 'g'"</span>) +
<span class='fu'>theme_ipsum</span>()
<span class='co'># seminal bar chart</span>
<span class='fu'><a href='update_geom_font_defaults.html'>update_geom_font_defaults</a></span>()
<span class='fu'>count</span>(<span class='no'>mpg</span>, <span class='no'>class</span>) <span class='kw'>%&gt;%</span>
<span class='fu'>ggplot</span>(<span class='fu'>aes</span>(<span class='no'>class</span>, <span class='no'>n</span>)) +
<span class='fu'>geom_col</span>() +
<span class='fu'>geom_text</span>(<span class='fu'>aes</span>(<span class='kw'>label</span><span class='kw'>=</span><span class='no'>n</span>), <span class='kw'>nudge_y</span><span class='kw'>=</span><span class='fl'>3</span>) +
<span class='fu'>labs</span>(<span class='kw'>x</span><span class='kw'>=</span><span class='st'>"Fuel efficiency (mpg)"</span>, <span class='kw'>y</span><span class='kw'>=</span><span class='st'>"Weight (tons)"</span>,
<span class='kw'>title</span><span class='kw'>=</span><span class='st'>"Seminal ggplot2 bar chart example"</span>,
<span class='kw'>subtitle</span><span class='kw'>=</span><span class='st'>"A plot that is only useful for demonstration purposes"</span>,
<span class='kw'>caption</span><span class='kw'>=</span><span class='st'>"Brought to you by the letter 'g'"</span>) +
<span class='fu'>theme_ipsum</span>(<span class='kw'>grid</span><span class='kw'>=</span><span class='st'>"Y"</span>) +
<span class='fu'>theme</span>(<span class='kw'>axis.text.y</span><span class='kw'>=</span><span class='fu'>element_blank</span>())
})</div></pre>
<pre class="examples"><span class='co'># NOT RUN {</span>
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/library'>library</a></span>(<span class='no'>ggplot2</span>)
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/library'>library</a></span>(<span class='no'>dplyr</span>)
<span class='co'># seminal scatterplot</span>
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></span>(<span class='no'>mtcars</span>, <span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='no'>mpg</span>, <span class='no'>wt</span>)) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/geom_point.html'>geom_point</a></span>() +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/labs.html'>labs</a></span>(<span class='kw'>x</span><span class='kw'>=</span><span class='st'>"Fuel effiiency (mpg)"</span>, <span class='kw'>y</span><span class='kw'>=</span><span class='st'>"Weight (tons)"</span>,
<span class='kw'>title</span><span class='kw'>=</span><span class='st'>"Seminal ggplot2 scatterplot example"</span>,
<span class='kw'>subtitle</span><span class='kw'>=</span><span class='st'>"A plot that is only useful for demonstration purposes"</span>,
<span class='kw'>caption</span><span class='kw'>=</span><span class='st'>"Brought to you by the letter 'g'"</span>) +
<span class='fu'>theme_ipsum</span>()
<span class='co'># seminal bar chart</span>
<span class='fu'><a href='update_geom_font_defaults.html'>update_geom_font_defaults</a></span>()
<span class='fu'><a href='https://dplyr.tidyverse.org/reference/tally.html'>count</a></span>(<span class='no'>mpg</span>, <span class='no'>class</span>) <span class='kw'>%&gt;%</span>
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></span>(<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='no'>class</span>, <span class='no'>n</span>)) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/geom_bar.html'>geom_col</a></span>() +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/geom_text.html'>geom_text</a></span>(<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='kw'>label</span><span class='kw'>=</span><span class='no'>n</span>), <span class='kw'>nudge_y</span><span class='kw'>=</span><span class='fl'>3</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/labs.html'>labs</a></span>(<span class='kw'>x</span><span class='kw'>=</span><span class='st'>"Fuel efficiency (mpg)"</span>, <span class='kw'>y</span><span class='kw'>=</span><span class='st'>"Weight (tons)"</span>,
<span class='kw'>title</span><span class='kw'>=</span><span class='st'>"Seminal ggplot2 bar chart example"</span>,
<span class='kw'>subtitle</span><span class='kw'>=</span><span class='st'>"A plot that is only useful for demonstration purposes"</span>,
<span class='kw'>caption</span><span class='kw'>=</span><span class='st'>"Brought to you by the letter 'g'"</span>) +
<span class='fu'>theme_ipsum</span>(<span class='kw'>grid</span><span class='kw'>=</span><span class='st'>"Y"</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/theme.html'>theme</a></span>(<span class='kw'>axis.text.y</span><span class='kw'>=</span><span class='fu'><a href='https://ggplot2.tidyverse.org/reference/element.html'>element_blank</a></span>())
<span class='co'># }</span></pre>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
@ -226,7 +265,7 @@ to register non-core fonts with the Windows graphics device.</p>
<li><a href="#why-arial-narrow-">Why Arial Narrow?</a></li>
<li><a href="#building-upon-code-theme-ipsum-code-">Building upon &lt;code&gt;theme_ipsum&lt;/code&gt;</a></li>
<li><a href="#building-upon-theme-ipsum">Building upon <code>theme_ipsum</code></a></li>
<li><a href="#gotchas">Gotchas</a></li>
@ -242,11 +281,13 @@ to register non-core fonts with the Windows graphics device.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

285
docs/reference/theme_ipsum_ps.html

@ -0,0 +1,285 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy — theme_ipsum_ps • hrbrthemes</title>
<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script>
<meta property="og:title" content="A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy — theme_ipsum_ps" />
<meta property="og:description" content="You should import_plex_sans first and also install the fonts on your
system before trying to use this theme." />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-reference-topic">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header>
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/plexsans.R'><code>R/plexsans.R</code></a></small>
<div class="hidden name"><code>theme_ipsum_ps.Rd</code></div>
</div>
<div class="ref-description">
<p>You should <a href='import_plex_sans'>import_plex_sans</a> first and also install the fonts on your
system before trying to use this theme.</p>
</div>
<pre class="usage"><span class='fu'>theme_ipsum_ps</span>(<span class='kw'>base_family</span> <span class='kw'>=</span> <span class='st'>"IBMPlexSans"</span>, <span class='kw'>base_size</span> <span class='kw'>=</span> <span class='fl'>11.5</span>,
<span class='kw'>plot_title_family</span> <span class='kw'>=</span> <span class='st'>"IBMPlexSans-Bold"</span>, <span class='kw'>plot_title_size</span> <span class='kw'>=</span> <span class='fl'>18</span>,
<span class='kw'>plot_title_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>plot_title_margin</span> <span class='kw'>=</span> <span class='fl'>10</span>,
<span class='kw'>subtitle_family</span> <span class='kw'>=</span> <span class='kw'>if</span> (<span class='no'>.Platform</span>$<span class='no'>OS.type</span> <span class='kw'>==</span> <span class='st'>"windows"</span>) <span class='st'>"IBMPlexSans"</span>
<span class='kw'>else</span> <span class='st'>"IBMPlexSans-Light"</span>, <span class='kw'>subtitle_size</span> <span class='kw'>=</span> <span class='fl'>13</span>,
<span class='kw'>subtitle_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>subtitle_margin</span> <span class='kw'>=</span> <span class='fl'>15</span>,
<span class='kw'>strip_text_family</span> <span class='kw'>=</span> <span class='st'>"IBMPlexSans-Medium"</span>, <span class='kw'>strip_text_size</span> <span class='kw'>=</span> <span class='fl'>12</span>,
<span class='kw'>strip_text_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>caption_family</span> <span class='kw'>=</span> <span class='kw'>if</span> (<span class='no'>.Platform</span>$<span class='no'>OS.type</span> <span class='kw'>==</span>
<span class='st'>"windows"</span>) <span class='st'>"IBMPlexSans"</span> <span class='kw'>else</span> <span class='st'>"IBMPlexSans-Thin"</span>, <span class='kw'>caption_size</span> <span class='kw'>=</span> <span class='fl'>9</span>,
<span class='kw'>caption_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>caption_margin</span> <span class='kw'>=</span> <span class='fl'>10</span>, <span class='kw'>axis_text_size</span> <span class='kw'>=</span> <span class='fl'>9</span>,
<span class='kw'>axis_title_family</span> <span class='kw'>=</span> <span class='no'>base_family</span>, <span class='kw'>axis_title_size</span> <span class='kw'>=</span> <span class='fl'>9</span>,
<span class='kw'>axis_title_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>axis_title_just</span> <span class='kw'>=</span> <span class='st'>"rt"</span>,
<span class='kw'>plot_margin</span> <span class='kw'>=</span> <span class='fu'>margin</span>(<span class='fl'>30</span>, <span class='fl'>30</span>, <span class='fl'>30</span>, <span class='fl'>30</span>), <span class='kw'>grid_col</span> <span class='kw'>=</span> <span class='st'>"#cccccc"</span>,
<span class='kw'>grid</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>, <span class='kw'>axis_col</span> <span class='kw'>=</span> <span class='st'>"#cccccc"</span>, <span class='kw'>axis</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>, <span class='kw'>ticks</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>)</pre>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
<table class="ref-arguments">
<colgroup><col class="name" /><col class="desc" /></colgroup>
<tr>
<th>base_family, base_size</th>
<td><p>base font family and size</p></td>
</tr>
<tr>
<th>plot_title_family, plot_title_face, plot_title_size, plot_title_margin</th>
<td><p>plot tilte family, face, size and margin</p></td>
</tr>
<tr>
<th>subtitle_family, subtitle_face, subtitle_size</th>
<td><p>plot subtitle family, face and size</p></td>
</tr>
<tr>
<th>subtitle_margin</th>
<td><p>plot subtitle margin bottom (single numeric value)</p></td>
</tr>
<tr>
<th>strip_text_family, strip_text_face, strip_text_size</th>
<td><p>facet label font family, face and size</p></td>
</tr>
<tr>
<th>caption_family, caption_face, caption_size, caption_margin</th>
<td><p>plot caption family, face, size and margin</p></td>
</tr>
<tr>
<th>axis_text_size</th>
<td><p>font size of axis text</p></td>
</tr>
<tr>
<th>axis_title_family, axis_title_face, axis_title_size</th>
<td><p>axis title font family, face and size</p></td>
</tr>
<tr>
<th>axis_title_just</th>
<td><p>axis title font justificationk one of <code>[blmcrt]</code></p></td>
</tr>
<tr>
<th>plot_margin</th>
<td><p>plot margin (specify with <a href='https://ggplot2.tidyverse.org/reference/element.html'>ggplot2::margin</a>)</p></td>
</tr>
<tr>
<th>grid_col</th>
<td><p>grid color</p></td>
</tr>
<tr>
<th>grid</th>
<td><p>panel grid (<code>TRUE</code>, <code>FALSE</code>, or a combination of <code>X</code>, <code>x</code>, <code>Y</code>, <code>y</code>)</p></td>
</tr>
<tr>
<th>axis_col</th>
<td><p>axis color</p></td>
</tr>
<tr>
<th>axis</th>
<td><p>add x or y axes? <code>TRUE</code>, <code>FALSE</code>, "<code>xy</code>"</p></td>
</tr>
<tr>
<th>ticks</th>
<td><p>ticks if <code>TRUE</code> add ticks</p></td>
</tr>
</table>
<h2 class="hasAnchor" id="details"><a class="anchor" href="#details"></a>Details</h2>
<p>There is an option <code>hrbrthemes.loadfonts</code> which -- if set to <code>TRUE</code> -- will
call <code><a href='https://www.rdocumentation.org/packages/extrafont/topics/loadfonts'>extrafont::loadfonts()</a></code> to register non-core fonts with R PDF &amp; PostScript
devices. If you are running under Windows, the package calls the same function
to register non-core fonts with the Windows graphics device.</p>
<h2 class="hasAnchor" id="why-ibm-plex-sans-"><a class="anchor" href="#why-ibm-plex-sans-"></a>Why IBM Plex Sans?</h2>
<p>It's free, has tolerable kerning pairs and multiple weights. It's also different
"not Helvetica".</p>
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><span class='co'># NOT RUN {</span>
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/library'>library</a></span>(<span class='no'>ggplot2</span>)
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/library'>library</a></span>(<span class='no'>dplyr</span>)
<span class='co'># seminal scatterplot</span>
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></span>(<span class='no'>mtcars</span>, <span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='no'>mpg</span>, <span class='no'>wt</span>)) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/geom_point.html'>geom_point</a></span>() +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/labs.html'>labs</a></span>(<span class='kw'>x</span><span class='kw'>=</span><span class='st'>"Fuel effiiency (mpg)"</span>, <span class='kw'>y</span><span class='kw'>=</span><span class='st'>"Weight (tons)"</span>,
<span class='kw'>title</span><span class='kw'>=</span><span class='st'>"Seminal ggplot2 scatterplot example"</span>,
<span class='kw'>subtitle</span><span class='kw'>=</span><span class='st'>"A plot that is only useful for demonstration purposes"</span>,
<span class='kw'>caption</span><span class='kw'>=</span><span class='st'>"Brought to you by the letter 'g'"</span>) +
<span class='fu'><a href='theme_ipsum_rc.html'>theme_ipsum_rc</a></span>()
<span class='co'># seminal bar chart</span>
<span class='co'># note: make this font_rc on Windows</span>
<span class='fu'><a href='update_geom_font_defaults.html'>update_geom_font_defaults</a></span>(<span class='kw'>family</span><span class='kw'>=</span><span class='no'>font_rc_light</span>)
<span class='fu'><a href='https://dplyr.tidyverse.org/reference/tally.html'>count</a></span>(<span class='no'>mpg</span>, <span class='no'>class</span>) <span class='kw'>%&gt;%</span>
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></span>(<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='no'>class</span>, <span class='no'>n</span>)) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/geom_bar.html'>geom_col</a></span>() +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/geom_text.html'>geom_text</a></span>(<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='kw'>label</span><span class='kw'>=</span><span class='no'>n</span>), <span class='kw'>nudge_y</span><span class='kw'>=</span><span class='fl'>3</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/labs.html'>labs</a></span>(<span class='kw'>x</span><span class='kw'>=</span><span class='st'>"Fuel effiiency (mpg)"</span>, <span class='kw'>y</span><span class='kw'>=</span><span class='st'>"Weight (tons)"</span>,
<span class='kw'>title</span><span class='kw'>=</span><span class='st'>"Seminal ggplot2 bar chart example"</span>,
<span class='kw'>subtitle</span><span class='kw'>=</span><span class='st'>"A plot that is only useful for demonstration purposes"</span>,
<span class='kw'>caption</span><span class='kw'>=</span><span class='st'>"Brought to you by the letter 'g'"</span>) +
<span class='fu'><a href='theme_ipsum_rc.html'>theme_ipsum_rc</a></span>(<span class='kw'>grid</span><span class='kw'>=</span><span class='st'>"Y"</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/theme.html'>theme</a></span>(<span class='kw'>axis.text.y</span><span class='kw'>=</span><span class='fu'><a href='https://ggplot2.tidyverse.org/reference/element.html'>element_blank</a></span>())
<span class='co'># }</span></pre>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
<ul class="nav nav-pills nav-stacked">
<li><a href="#arguments">Arguments</a></li>
<li><a href="#details">Details</a></li>
<li><a href="#why-ibm-plex-sans-">Why IBM Plex Sans?</a></li>
<li><a href="#examples">Examples</a></li>
</ul>
</div>
</div>
<footer>
<div class="copyright">
<p>Developed by Bob Rudis.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

229
docs/reference/theme_ipsum_rc.html

@ -1,32 +1,46 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy — theme_ipsum_rc • hrbrthemes</title>
<title>A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy — theme_ft_rc • hrbrthemes</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../jquery.sticky-kit.min.js"></script>
<script src="../pkgdown.js"></script>
<meta property="og:title" content="A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy — theme_ft_rc" />
<meta property="og:description" content="You should import_roboto_condensed first and also install the fonts on your
system before trying to use this theme." />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@ -42,34 +56,55 @@
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../reference/index.html">Reference</a>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../articles/index.html">Articles</a>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">News</a>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
@ -77,48 +112,68 @@
</header>
<div class="row">
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/ft.R'><code>R/ft.R</code></a>, <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/modern.r'><code>R/modern.r</code></a>, <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/roboto-condensed.r'><code>R/roboto-condensed.r</code></a></small>
<div class="hidden name"><code>theme_ipsum_rc.Rd</code></div>
</div>
<div class="ref-description">
<p>You should <a href = 'import_roboto_condensed'>import_roboto_condensed</a> first and also install the fonts on your
<p>You should <a href='import_roboto_condensed'>import_roboto_condensed</a> first and also install the fonts on your
system before trying to use this theme.</p>
</div>
<pre class="usage"><span class='fu'>theme_ipsum_rc</span>(<span class='kw'>base_family</span> <span class='kw'>=</span> <span class='st'>"Roboto Condensed"</span>, <span class='kw'>base_size</span> <span class='kw'>=</span> <span class='fl'>11.5</span>,
<pre class="usage"><span class='fu'>theme_ft_rc</span>(<span class='kw'>base_family</span> <span class='kw'>=</span> <span class='st'>"Roboto Condensed"</span>, <span class='kw'>base_size</span> <span class='kw'>=</span> <span class='fl'>11.5</span>,
<span class='kw'>plot_title_family</span> <span class='kw'>=</span> <span class='no'>base_family</span>, <span class='kw'>plot_title_size</span> <span class='kw'>=</span> <span class='fl'>18</span>,
<span class='kw'>plot_title_face</span> <span class='kw'>=</span> <span class='st'>"bold"</span>, <span class='kw'>plot_title_margin</span> <span class='kw'>=</span> <span class='fl'>10</span>, <span class='kw'>subtitle_family</span> <span class='kw'>=</span> <span class='kw'>if</span>
(<span class='no'>.Platform</span>$<span class='no'>OS.type</span> <span class='kw'>==</span> <span class='st'>"windows"</span>) <span class='st'>"Roboto Condensed"</span> <span class='kw'>else</span>
<span class='st'>"Roboto Condensed Light"</span>, <span class='kw'>subtitle_size</span> <span class='kw'>=</span> <span class='fl'>13</span>, <span class='kw'>subtitle_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>,
<span class='kw'>subtitle_margin</span> <span class='kw'>=</span> <span class='fl'>15</span>, <span class='kw'>strip_text_family</span> <span class='kw'>=</span> <span class='no'>base_family</span>,
<span class='kw'>strip_text_size</span> <span class='kw'>=</span> <span class='fl'>12</span>, <span class='kw'>strip_text_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>caption_family</span> <span class='kw'>=</span> <span class='kw'>if</span>
(<span class='no'>.Platform</span>$<span class='no'>OS.type</span> <span class='kw'>==</span> <span class='st'>"windows"</span>) <span class='st'>"Roboto Condensed"</span> <span class='kw'>else</span>
<span class='st'>"Roboto Condensed Light"</span>, <span class='kw'>caption_size</span> <span class='kw'>=</span> <span class='fl'>9</span>, <span class='kw'>caption_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>,
<span class='kw'>caption_margin</span> <span class='kw'>=</span> <span class='fl'>10</span>, <span class='kw'>axis_text_size</span> <span class='kw'>=</span> <span class='no'>base_size</span>,
<span class='kw'>axis_title_family</span> <span class='kw'>=</span> <span class='no'>base_family</span>, <span class='kw'>axis_title_size</span> <span class='kw'>=</span> <span class='fl'>9</span>,
<span class='kw'>axis_title_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>axis_title_just</span> <span class='kw'>=</span> <span class='st'>"rt"</span>,
<span class='kw'>plot_margin</span> <span class='kw'>=</span> <span class='fu'>margin</span>(<span class='fl'>30</span>, <span class='fl'>30</span>, <span class='fl'>30</span>, <span class='fl'>30</span>), <span class='kw'>grid_col</span> <span class='kw'>=</span> <span class='st'>"#cccccc"</span>, <span class='kw'>grid</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>,
<span class='kw'>axis_col</span> <span class='kw'>=</span> <span class='st'>"#cccccc"</span>, <span class='kw'>axis</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>, <span class='kw'>ticks</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>)
<span class='kw'>plot_title_face</span> <span class='kw'>=</span> <span class='st'>"bold"</span>, <span class='kw'>plot_title_margin</span> <span class='kw'>=</span> <span class='fl'>10</span>,
<span class='kw'>subtitle_family</span> <span class='kw'>=</span> <span class='kw'>if</span> (<span class='no'>.Platform</span>$<span class='no'>OS.type</span> <span class='kw'>==</span> <span class='st'>"windows"</span>)
<span class='st'>"Roboto Condensed"</span> <span class='kw'>else</span> <span class='st'>"Roboto Condensed Light"</span>, <span class='kw'>subtitle_size</span> <span class='kw'>=</span> <span class='fl'>13</span>,
<span class='kw'>subtitle_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>subtitle_margin</span> <span class='kw'>=</span> <span class='fl'>15</span>,
<span class='kw'>strip_text_family</span> <span class='kw'>=</span> <span class='no'>base_family</span>, <span class='kw'>strip_text_size</span> <span class='kw'>=</span> <span class='fl'>12</span>,
<span class='kw'>strip_text_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>caption_family</span> <span class='kw'>=</span> <span class='kw'>if</span> (<span class='no'>.Platform</span>$<span class='no'>OS.type</span> <span class='kw'>==</span>
<span class='st'>"windows"</span>) <span class='st'>"Roboto Condensed"</span> <span class='kw'>else</span> <span class='st'>"Roboto Condensed Light"</span>,
<span class='kw'>caption_size</span> <span class='kw'>=</span> <span class='fl'>9</span>, <span class='kw'>caption_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>caption_margin</span> <span class='kw'>=</span> <span class='fl'>10</span>,
<span class='kw'>axis_text_size</span> <span class='kw'>=</span> <span class='no'>base_size</span>, <span class='kw'>axis_title_family</span> <span class='kw'>=</span> <span class='no'>base_family</span>,
<span class='kw'>axis_title_size</span> <span class='kw'>=</span> <span class='fl'>9</span>, <span class='kw'>axis_title_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>,
<span class='kw'>axis_title_just</span> <span class='kw'>=</span> <span class='st'>"rt"</span>, <span class='kw'>plot_margin</span> <span class='kw'>=</span> <span class='fu'>margin</span>(<span class='fl'>30</span>, <span class='fl'>30</span>, <span class='fl'>30</span>, <span class='fl'>30</span>),
<span class='kw'>grid</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>, <span class='kw'>axis</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>, <span class='kw'>ticks</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>)
<span class='fu'>theme_modern_rc</span>(<span class='kw'>base_family</span> <span class='kw'>=</span> <span class='st'>"Roboto Condensed"</span>, <span class='kw'>base_size</span> <span class='kw'>=</span> <span class='fl'>11.5</span>,
<span class='kw'>plot_title_family</span> <span class='kw'>=</span> <span class='no'>base_family</span>, <span class='kw'>plot_title_size</span> <span class='kw'>=</span> <span class='fl'>18</span>,
<span class='kw'>plot_title_face</span> <span class='kw'>=</span> <span class='st'>"bold"</span>, <span class='kw'>plot_title_margin</span> <span class='kw'>=</span> <span class='fl'>10</span>, <span class='kw'>subtitle_family</span> <span class='kw'>=</span> <span class='kw'>if</span>
(<span class='no'>.Platform</span>$<span class='no'>OS.type</span> <span class='kw'>==</span> <span class='st'>"windows"</span>) <span class='st'>"Roboto Condensed"</span> <span class='kw'>else</span>
<span class='st'>"Roboto Condensed Light"</span>, <span class='kw'>subtitle_size</span> <span class='kw'>=</span> <span class='fl'>13</span>, <span class='kw'>subtitle_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>,
<span class='kw'>subtitle_margin</span> <span class='kw'>=</span> <span class='fl'>15</span>, <span class='kw'>strip_text_family</span> <span class='kw'>=</span> <span class='no'>base_family</span>,
<span class='kw'>strip_text_size</span> <span class='kw'>=</span> <span class='fl'>12</span>, <span class='kw'>strip_text_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>caption_family</span> <span class='kw'>=</span> <span class='kw'>if</span>
(<span class='no'>.Platform</span>$<span class='no'>OS.type</span> <span class='kw'>==</span> <span class='st'>"windows"</span>) <span class='st'>"Roboto Condensed"</span> <span class='kw'>else</span>
<span class='st'>"Roboto Condensed Light"</span>, <span class='kw'>caption_size</span> <span class='kw'>=</span> <span class='fl'>9</span>, <span class='kw'>caption_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>,
<span class='kw'>caption_margin</span> <span class='kw'>=</span> <span class='fl'>10</span>, <span class='kw'>axis_text_size</span> <span class='kw'>=</span> <span class='no'>base_size</span>,
<span class='kw'>axis_title_family</span> <span class='kw'>=</span> <span class='no'>base_family</span>, <span class='kw'>axis_title_size</span> <span class='kw'>=</span> <span class='fl'>9</span>,
<span class='kw'>axis_title_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>axis_title_just</span> <span class='kw'>=</span> <span class='st'>"rt"</span>,
<span class='kw'>plot_margin</span> <span class='kw'>=</span> <span class='fu'>margin</span>(<span class='fl'>30</span>, <span class='fl'>30</span>, <span class='fl'>30</span>, <span class='fl'>30</span>), <span class='kw'>grid</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>, <span class='kw'>axis</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>,
<span class='kw'>ticks</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>)</pre>
<span class='kw'>plot_title_face</span> <span class='kw'>=</span> <span class='st'>"bold"</span>, <span class='kw'>plot_title_margin</span> <span class='kw'>=</span> <span class='fl'>10</span>,
<span class='kw'>subtitle_family</span> <span class='kw'>=</span> <span class='kw'>if</span> (<span class='no'>.Platform</span>$<span class='no'>OS.type</span> <span class='kw'>==</span> <span class='st'>"windows"</span>)
<span class='st'>"Roboto Condensed"</span> <span class='kw'>else</span> <span class='st'>"Roboto Condensed Light"</span>, <span class='kw'>subtitle_size</span> <span class='kw'>=</span> <span class='fl'>13</span>,
<span class='kw'>subtitle_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>subtitle_margin</span> <span class='kw'>=</span> <span class='fl'>15</span>,
<span class='kw'>strip_text_family</span> <span class='kw'>=</span> <span class='no'>base_family</span>, <span class='kw'>strip_text_size</span> <span class='kw'>=</span> <span class='fl'>12</span>,
<span class='kw'>strip_text_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>caption_family</span> <span class='kw'>=</span> <span class='kw'>if</span> (<span class='no'>.Platform</span>$<span class='no'>OS.type</span> <span class='kw'>==</span>
<span class='st'>"windows"</span>) <span class='st'>"Roboto Condensed"</span> <span class='kw'>else</span> <span class='st'>"Roboto Condensed Light"</span>,
<span class='kw'>caption_size</span> <span class='kw'>=</span> <span class='fl'>9</span>, <span class='kw'>caption_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>caption_margin</span> <span class='kw'>=</span> <span class='fl'>10</span>,
<span class='kw'>axis_text_size</span> <span class='kw'>=</span> <span class='no'>base_size</span>, <span class='kw'>axis_title_family</span> <span class='kw'>=</span> <span class='no'>base_family</span>,
<span class='kw'>axis_title_size</span> <span class='kw'>=</span> <span class='fl'>9</span>, <span class='kw'>axis_title_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>,
<span class='kw'>axis_title_just</span> <span class='kw'>=</span> <span class='st'>"rt"</span>, <span class='kw'>plot_margin</span> <span class='kw'>=</span> <span class='fu'>margin</span>(<span class='fl'>30</span>, <span class='fl'>30</span>, <span class='fl'>30</span>, <span class='fl'>30</span>),
<span class='kw'>grid</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>, <span class='kw'>axis</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>, <span class='kw'>ticks</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>)
<span class='fu'>theme_ipsum_rc</span>(<span class='kw'>base_family</span> <span class='kw'>=</span> <span class='st'>"Roboto Condensed"</span>, <span class='kw'>base_size</span> <span class='kw'>=</span> <span class='fl'>11.5</span>,
<span class='kw'>plot_title_family</span> <span class='kw'>=</span> <span class='no'>base_family</span>, <span class='kw'>plot_title_size</span> <span class='kw'>=</span> <span class='fl'>18</span>,
<span class='kw'>plot_title_face</span> <span class='kw'>=</span> <span class='st'>"bold"</span>, <span class='kw'>plot_title_margin</span> <span class='kw'>=</span> <span class='fl'>10</span>,
<span class='kw'>subtitle_family</span> <span class='kw'>=</span> <span class='kw'>if</span> (<span class='no'>.Platform</span>$<span class='no'>OS.type</span> <span class='kw'>==</span> <span class='st'>"windows"</span>)
<span class='st'>"Roboto Condensed"</span> <span class='kw'>else</span> <span class='st'>"Roboto Condensed Light"</span>, <span class='kw'>subtitle_size</span> <span class='kw'>=</span> <span class='fl'>13</span>,
<span class='kw'>subtitle_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>subtitle_margin</span> <span class='kw'>=</span> <span class='fl'>15</span>,
<span class='kw'>strip_text_family</span> <span class='kw'>=</span> <span class='no'>base_family</span>, <span class='kw'>strip_text_size</span> <span class='kw'>=</span> <span class='fl'>12</span>,
<span class='kw'>strip_text_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>caption_family</span> <span class='kw'>=</span> <span class='kw'>if</span> (<span class='no'>.Platform</span>$<span class='no'>OS.type</span> <span class='kw'>==</span>
<span class='st'>"windows"</span>) <span class='st'>"Roboto Condensed"</span> <span class='kw'>else</span> <span class='st'>"Roboto Condensed Light"</span>,
<span class='kw'>caption_size</span> <span class='kw'>=</span> <span class='fl'>9</span>, <span class='kw'>caption_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>caption_margin</span> <span class='kw'>=</span> <span class='fl'>10</span>,
<span class='kw'>axis_text_size</span> <span class='kw'>=</span> <span class='no'>base_size</span>, <span class='kw'>axis_title_family</span> <span class='kw'>=</span> <span class='no'>base_family</span>,
<span class='kw'>axis_title_size</span> <span class='kw'>=</span> <span class='fl'>9</span>, <span class='kw'>axis_title_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>,
<span class='kw'>axis_title_just</span> <span class='kw'>=</span> <span class='st'>"rt"</span>, <span class='kw'>plot_margin</span> <span class='kw'>=</span> <span class='fu'>margin</span>(<span class='fl'>30</span>, <span class='fl'>30</span>, <span class='fl'>30</span>, <span class='fl'>30</span>),
<span class='kw'>grid_col</span> <span class='kw'>=</span> <span class='st'>"#cccccc"</span>, <span class='kw'>grid</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>, <span class='kw'>axis_col</span> <span class='kw'>=</span> <span class='st'>"#cccccc"</span>,
<span class='kw'>axis</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>, <span class='kw'>ticks</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>)</pre>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a> Arguments</h2>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
<table class="ref-arguments">
<colgroup><col class="name" /><col class="desc" /></colgroup>
<tr>
@ -127,7 +182,7 @@ system before trying to use this theme.</p>
</tr>
<tr>
<th>plot_title_family, plot_title_face, plot_title_size, plot_title_margin</th>
<td><p>plot tilte family, face, size and margi</p></td>
<td><p>plot tilte family, face, size and margin</p></td>
</tr>
<tr>
<th>subtitle_family, subtitle_face, subtitle_size</th>
@ -159,21 +214,13 @@ system before trying to use this theme.</p>
</tr>
<tr>
<th>plot_margin</th>
<td><p>plot margin (specify with <a href='http://www.rdocumentation.org/packages/ggplot2/topics/element'>ggplot2::margin</a>)</p></td>
</tr>
<tr>
<th>grid_col</th>
<td><p>grid color</p></td>
<td><p>plot margin (specify with <a href='https://ggplot2.tidyverse.org/reference/element.html'>ggplot2::margin</a>)</p></td>
</tr>
<tr>
<th>grid</th>
<td><p>panel grid (<code>TRUE</code>, <code>FALSE</code>, or a combination of <code>X</code>, <code>x</code>, <code>Y</code>, <code>y</code>)</p></td>
</tr>
<tr>
<th>axis_col</th>
<td><p>axis color</p></td>
</tr>
<tr>
<th>axis</th>
<td><p>add x or y axes? <code>TRUE</code>, <code>FALSE</code>, "<code>xy</code>"</p></td>
</tr>
@ -181,12 +228,20 @@ system before trying to use this theme.</p>
<th>ticks</th>
<td><p>ticks if <code>TRUE</code> add ticks</p></td>
</tr>
<tr>
<th>grid_col</th>
<td><p>grid color</p></td>
</tr>
<tr>
<th>axis_col</th>
<td><p>axis color</p></td>
</tr>
</table>
<h2 class="hasAnchor" id="details"><a class="anchor" href="#details"></a>Details</h2>
<p>There is an option <code>hrbrthemes.loadfonts</code> which -- if set to <code>TRUE</code> -- will
call <code>extrafont::loadfonts()</code> to register non-core fonts with R PDF &amp; PostScript
call <code><a href='https://www.rdocumentation.org/packages/extrafont/topics/loadfonts'>extrafont::loadfonts()</a></code> to register non-core fonts with R PDF &amp; PostScript
devices. If you are running under Windows, the package calls the same function
to register non-core fonts with the Windows graphics device.</p>
@ -198,35 +253,35 @@ than Arial Narrow and the fonts most folks use in ggplot2 charts.</p>
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'><span class='fu'>not_run</span>({
<span class='fu'>library</span>(<span class='no'>ggplot2</span>)
<span class='fu'>library</span>(<span class='no'>dplyr</span>)
<span class='co'># seminal scatterplot</span>
<span class='fu'>ggplot</span>(<span class='no'>mtcars</span>, <span class='fu'>aes</span>(<span class='no'>mpg</span>, <span class='no'>wt</span>)) +
<span class='fu'>geom_point</span>() +
<span class='fu'>labs</span>(<span class='kw'>x</span><span class='kw'>=</span><span class='st'>"Fuel effiiency (mpg)"</span>, <span class='kw'>y</span><span class='kw'>=</span><span class='st'>"Weight (tons)"</span>,
<span class='kw'>title</span><span class='kw'>=</span><span class='st'>"Seminal ggplot2 scatterplot example"</span>,
<span class='kw'>subtitle</span><span class='kw'>=</span><span class='st'>"A plot that is only useful for demonstration purposes"</span>,
<span class='kw'>caption</span><span class='kw'>=</span><span class='st'>"Brought to you by the letter 'g'"</span>) +
<span class='fu'>theme_ipsum_rc</span>()
<span class='co'># seminal bar chart</span>
<span class='co'># note: make this font_rc on Windows</span>
<span class='fu'><a href='update_geom_font_defaults.html'>update_geom_font_defaults</a></span>(<span class='kw'>family</span><span class='kw'>=</span><span class='no'>font_rc_light</span>)
<span class='fu'>count</span>(<span class='no'>mpg</span>, <span class='no'>class</span>) <span class='kw'>%&gt;%</span>
<span class='fu'>ggplot</span>(<span class='fu'>aes</span>(<span class='no'>class</span>, <span class='no'>n</span>)) +
<span class='fu'>geom_col</span>() +
<span class='fu'>geom_text</span>(<span class='fu'>aes</span>(<span class='kw'>label</span><span class='kw'>=</span><span class='no'>n</span>), <span class='kw'>nudge_y</span><span class='kw'>=</span><span class='fl'>3</span>) +
<span class='fu'>labs</span>(<span class='kw'>x</span><span class='kw'>=</span><span class='st'>"Fuel effiiency (mpg)"</span>, <span class='kw'>y</span><span class='kw'>=</span><span class='st'>"Weight (tons)"</span>,
<span class='kw'>title</span><span class='kw'>=</span><span class='st'>"Seminal ggplot2 bar chart example"</span>,
<span class='kw'>subtitle</span><span class='kw'>=</span><span class='st'>"A plot that is only useful for demonstration purposes"</span>,
<span class='kw'>caption</span><span class='kw'>=</span><span class='st'>"Brought to you by the letter 'g'"</span>) +
<span class='fu'>theme_ipsum_rc</span>(<span class='kw'>grid</span><span class='kw'>=</span><span class='st'>"Y"</span>) +
<span class='fu'>theme</span>(<span class='kw'>axis.text.y</span><span class='kw'>=</span><span class='fu'>element_blank</span>())
})</div></pre>
<pre class="examples"><span class='co'># NOT RUN {</span>
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/library'>library</a></span>(<span class='no'>ggplot2</span>)
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/library'>library</a></span>(<span class='no'>dplyr</span>)
<span class='co'># seminal scatterplot</span>
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></span>(<span class='no'>mtcars</span>, <span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='no'>mpg</span>, <span class='no'>wt</span>)) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/geom_point.html'>geom_point</a></span>() +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/labs.html'>labs</a></span>(<span class='kw'>x</span><span class='kw'>=</span><span class='st'>"Fuel effiiency (mpg)"</span>, <span class='kw'>y</span><span class='kw'>=</span><span class='st'>"Weight (tons)"</span>,
<span class='kw'>title</span><span class='kw'>=</span><span class='st'>"Seminal ggplot2 scatterplot example"</span>,
<span class='kw'>subtitle</span><span class='kw'>=</span><span class='st'>"A plot that is only useful for demonstration purposes"</span>,
<span class='kw'>caption</span><span class='kw'>=</span><span class='st'>"Brought to you by the letter 'g'"</span>) +
<span class='fu'>theme_ipsum_rc</span>()
<span class='co'># seminal bar chart</span>
<span class='co'># note: make this font_rc on Windows</span>
<span class='fu'><a href='update_geom_font_defaults.html'>update_geom_font_defaults</a></span>(<span class='kw'>family</span><span class='kw'>=</span><span class='no'>font_rc_light</span>)
<span class='fu'><a href='https://dplyr.tidyverse.org/reference/tally.html'>count</a></span>(<span class='no'>mpg</span>, <span class='no'>class</span>) <span class='kw'>%&gt;%</span>
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></span>(<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='no'>class</span>, <span class='no'>n</span>)) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/geom_bar.html'>geom_col</a></span>() +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/geom_text.html'>geom_text</a></span>(<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='kw'>label</span><span class='kw'>=</span><span class='no'>n</span>), <span class='kw'>nudge_y</span><span class='kw'>=</span><span class='fl'>3</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/labs.html'>labs</a></span>(<span class='kw'>x</span><span class='kw'>=</span><span class='st'>"Fuel effiiency (mpg)"</span>, <span class='kw'>y</span><span class='kw'>=</span><span class='st'>"Weight (tons)"</span>,
<span class='kw'>title</span><span class='kw'>=</span><span class='st'>"Seminal ggplot2 bar chart example"</span>,
<span class='kw'>subtitle</span><span class='kw'>=</span><span class='st'>"A plot that is only useful for demonstration purposes"</span>,
<span class='kw'>caption</span><span class='kw'>=</span><span class='st'>"Brought to you by the letter 'g'"</span>) +
<span class='fu'>theme_ipsum_rc</span>(<span class='kw'>grid</span><span class='kw'>=</span><span class='st'>"Y"</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/theme.html'>theme</a></span>(<span class='kw'>axis.text.y</span><span class='kw'>=</span><span class='fu'><a href='https://ggplot2.tidyverse.org/reference/element.html'>element_blank</a></span>())
<span class='co'># }</span></pre>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
@ -249,11 +304,13 @@ than Arial Narrow and the fonts most folks use in ggplot2 charts.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

287
docs/reference/theme_ipsum_tw.html

@ -0,0 +1,287 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy — theme_ipsum_tw • hrbrthemes</title>
<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script>
<meta property="og:title" content="A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy — theme_ipsum_tw" />
<meta property="og:description" content="You should import_titillium_web first and also install the fonts on your
system before trying to use this theme." />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container template-reference-topic">
<header>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header>
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>A precise &amp; pristine ggplot2 theme with opinionated defaults and an emphasis on typoghraphy</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/titillium-web.R'><code>R/titillium-web.R</code></a></small>
<div class="hidden name"><code>theme_ipsum_tw.Rd</code></div>
</div>
<div class="ref-description">
<p>You should <a href='import_titillium_web'>import_titillium_web</a> first and also install the fonts on your
system before trying to use this theme.</p>
</div>
<pre class="usage"><span class='fu'>theme_ipsum_tw</span>(<span class='kw'>base_family</span> <span class='kw'>=</span> <span class='st'>"Titillium Web"</span>, <span class='kw'>base_size</span> <span class='kw'>=</span> <span class='fl'>10.5</span>,
<span class='kw'>plot_title_family</span> <span class='kw'>=</span> <span class='kw'>if</span> (<span class='no'>.Platform</span>$<span class='no'>OS.type</span> <span class='kw'>==</span> <span class='st'>"windows"</span>) <span class='st'>"Titillium Web"</span>
<span class='kw'>else</span> <span class='st'>"Titillium Web Bold"</span>, <span class='kw'>plot_title_size</span> <span class='kw'>=</span> <span class='fl'>18</span>,
<span class='kw'>plot_title_face</span> <span class='kw'>=</span> <span class='st'>"bold"</span>, <span class='kw'>plot_title_margin</span> <span class='kw'>=</span> <span class='fl'>10</span>,
<span class='kw'>subtitle_family</span> <span class='kw'>=</span> <span class='kw'>if</span> (<span class='no'>.Platform</span>$<span class='no'>OS.type</span> <span class='kw'>==</span> <span class='st'>"windows"</span>) <span class='st'>"Titillium Web"</span>
<span class='kw'>else</span> <span class='st'>"Titillium Web Light"</span>, <span class='kw'>subtitle_size</span> <span class='kw'>=</span> <span class='fl'>13</span>,
<span class='kw'>subtitle_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>subtitle_margin</span> <span class='kw'>=</span> <span class='fl'>15</span>,
<span class='kw'>strip_text_family</span> <span class='kw'>=</span> <span class='no'>base_family</span>, <span class='kw'>strip_text_size</span> <span class='kw'>=</span> <span class='fl'>12</span>,
<span class='kw'>strip_text_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>caption_family</span> <span class='kw'>=</span> <span class='kw'>if</span> (<span class='no'>.Platform</span>$<span class='no'>OS.type</span> <span class='kw'>==</span>
<span class='st'>"windows"</span>) <span class='st'>"Titillium Web"</span> <span class='kw'>else</span> <span class='st'>"Titillium Web Light"</span>,
<span class='kw'>caption_size</span> <span class='kw'>=</span> <span class='fl'>9</span>, <span class='kw'>caption_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>, <span class='kw'>caption_margin</span> <span class='kw'>=</span> <span class='fl'>10</span>,
<span class='kw'>axis_text_size</span> <span class='kw'>=</span> <span class='no'>base_size</span>, <span class='kw'>axis_title_family</span> <span class='kw'>=</span> <span class='no'>base_family</span>,
<span class='kw'>axis_title_size</span> <span class='kw'>=</span> <span class='fl'>9</span>, <span class='kw'>axis_title_face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>,
<span class='kw'>axis_title_just</span> <span class='kw'>=</span> <span class='st'>"rt"</span>, <span class='kw'>plot_margin</span> <span class='kw'>=</span> <span class='fu'>margin</span>(<span class='fl'>30</span>, <span class='fl'>30</span>, <span class='fl'>30</span>, <span class='fl'>30</span>),
<span class='kw'>grid_col</span> <span class='kw'>=</span> <span class='st'>"#cccccc"</span>, <span class='kw'>grid</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>, <span class='kw'>axis_col</span> <span class='kw'>=</span> <span class='st'>"#cccccc"</span>,
<span class='kw'>axis</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>, <span class='kw'>ticks</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>)</pre>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
<table class="ref-arguments">
<colgroup><col class="name" /><col class="desc" /></colgroup>
<tr>
<th>base_family, base_size</th>
<td><p>base font family and size</p></td>
</tr>
<tr>
<th>plot_title_family, plot_title_face, plot_title_size, plot_title_margin</th>
<td><p>plot tilte family, face, size and margin</p></td>
</tr>
<tr>
<th>subtitle_family, subtitle_face, subtitle_size</th>
<td><p>plot subtitle family, face and size</p></td>
</tr>
<tr>
<th>subtitle_margin</th>
<td><p>plot subtitle margin bottom (single numeric value)</p></td>
</tr>
<tr>
<th>strip_text_family, strip_text_face, strip_text_size</th>
<td><p>facet label font family, face and size</p></td>
</tr>
<tr>
<th>caption_family, caption_face, caption_size, caption_margin</th>
<td><p>plot caption family, face, size and margin</p></td>
</tr>
<tr>
<th>axis_text_size</th>
<td><p>font size of axis text</p></td>
</tr>
<tr>
<th>axis_title_family, axis_title_face, axis_title_size</th>
<td><p>axis title font family, face and size</p></td>
</tr>
<tr>
<th>axis_title_just</th>
<td><p>axis title font justificationk one of <code>[blmcrt]</code></p></td>
</tr>
<tr>
<th>plot_margin</th>
<td><p>plot margin (specify with <a href='https://ggplot2.tidyverse.org/reference/element.html'>ggplot2::margin</a>)</p></td>
</tr>
<tr>
<th>grid_col</th>
<td><p>grid color</p></td>
</tr>
<tr>
<th>grid</th>
<td><p>panel grid (<code>TRUE</code>, <code>FALSE</code>, or a combination of <code>X</code>, <code>x</code>, <code>Y</code>, <code>y</code>)</p></td>
</tr>
<tr>
<th>axis_col</th>
<td><p>axis color</p></td>
</tr>
<tr>
<th>axis</th>
<td><p>add x or y axes? <code>TRUE</code>, <code>FALSE</code>, "<code>xy</code>"</p></td>
</tr>
<tr>
<th>ticks</th>
<td><p>ticks if <code>TRUE</code> add ticks</p></td>
</tr>
</table>
<h2 class="hasAnchor" id="details"><a class="anchor" href="#details"></a>Details</h2>
<p>There is an option <code>hrbrthemes.loadfonts</code> which -- if set to <code>TRUE</code> -- will
call <code><a href='https://www.rdocumentation.org/packages/extrafont/topics/loadfonts'>extrafont::loadfonts()</a></code> to register non-core fonts with R PDF &amp; PostScript
devices. If you are running under Windows, the package calls the same function
to register non-core fonts with the Windows graphics device.</p>
<h2 class="hasAnchor" id="why-titillium-web-"><a class="anchor" href="#why-titillium-web-"></a>Why Titillium Web?</h2>
<p>It's free, has tolerable kerning pairs and multiple weights. It's also different
than Arial Narrow and the fonts most folks use in ggplot2 charts.</p>
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><span class='co'># NOT RUN {</span>
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/library'>library</a></span>(<span class='no'>ggplot2</span>)
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/library'>library</a></span>(<span class='no'>dplyr</span>)
<span class='co'># seminal scatterplot</span>
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></span>(<span class='no'>mtcars</span>, <span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='no'>mpg</span>, <span class='no'>wt</span>)) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/geom_point.html'>geom_point</a></span>() +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/labs.html'>labs</a></span>(<span class='kw'>x</span><span class='kw'>=</span><span class='st'>"Fuel effiiency (mpg)"</span>, <span class='kw'>y</span><span class='kw'>=</span><span class='st'>"Weight (tons)"</span>,
<span class='kw'>title</span><span class='kw'>=</span><span class='st'>"Seminal ggplot2 scatterplot example"</span>,
<span class='kw'>subtitle</span><span class='kw'>=</span><span class='st'>"A plot that is only useful for demonstration purposes"</span>,
<span class='kw'>caption</span><span class='kw'>=</span><span class='st'>"Brought to you by the letter 'g'"</span>) +
<span class='fu'><a href='theme_ipsum_rc.html'>theme_ipsum_rc</a></span>()
<span class='co'># seminal bar chart</span>
<span class='co'># note: make this font_rc on Windows</span>
<span class='fu'><a href='update_geom_font_defaults.html'>update_geom_font_defaults</a></span>(<span class='kw'>family</span><span class='kw'>=</span><span class='no'>font_rc_light</span>)
<span class='fu'><a href='https://dplyr.tidyverse.org/reference/tally.html'>count</a></span>(<span class='no'>mpg</span>, <span class='no'>class</span>) <span class='kw'>%&gt;%</span>
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></span>(<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='no'>class</span>, <span class='no'>n</span>)) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/geom_bar.html'>geom_col</a></span>() +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/geom_text.html'>geom_text</a></span>(<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='kw'>label</span><span class='kw'>=</span><span class='no'>n</span>), <span class='kw'>nudge_y</span><span class='kw'>=</span><span class='fl'>3</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/labs.html'>labs</a></span>(<span class='kw'>x</span><span class='kw'>=</span><span class='st'>"Fuel effiiency (mpg)"</span>, <span class='kw'>y</span><span class='kw'>=</span><span class='st'>"Weight (tons)"</span>,
<span class='kw'>title</span><span class='kw'>=</span><span class='st'>"Seminal ggplot2 bar chart example"</span>,
<span class='kw'>subtitle</span><span class='kw'>=</span><span class='st'>"A plot that is only useful for demonstration purposes"</span>,
<span class='kw'>caption</span><span class='kw'>=</span><span class='st'>"Brought to you by the letter 'g'"</span>) +
<span class='fu'>theme_ipsum_tw</span>(<span class='kw'>grid</span><span class='kw'>=</span><span class='st'>"Y"</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/theme.html'>theme</a></span>(<span class='kw'>axis.text.y</span><span class='kw'>=</span><span class='fu'><a href='https://ggplot2.tidyverse.org/reference/element.html'>element_blank</a></span>())
<span class='co'># }</span></pre>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<h2>Contents</h2>
<ul class="nav nav-pills nav-stacked">
<li><a href="#arguments">Arguments</a></li>
<li><a href="#details">Details</a></li>
<li><a href="#why-titillium-web-">Why Titillium Web?</a></li>
<li><a href="#examples">Examples</a></li>
</ul>
</div>
</div>
<footer>
<div class="copyright">
<p>Developed by Bob Rudis.</p>
</div>
<div class="pkgdown">
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

78
docs/reference/update_geom_font_defaults.html

@ -1,6 +1,6 @@
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -9,24 +9,37 @@
<title>Update matching font defaults for text geoms — update_geom_font_defaults • hrbrthemes</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
<!-- sticky kit -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../jquery.sticky-kit.min.js"></script>
<script src="../pkgdown.js"></script>
<meta property="og:title" content="Update matching font defaults for text geoms — update_geom_font_defaults" />
<meta property="og:description" content="Updates [ggplot2::geom_label] and [ggplot2::geom_text] font defaults" />
<meta name="twitter:card" content="summary" />
<!-- mathjax -->
<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
@ -42,34 +55,55 @@
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">hrbrthemes</a>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">hrbrthemes</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.6.0</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="../reference/index.html">Reference</a>
<a href="../index.html">
<span class="fa fa-home fa-lg"></span>
</a>
</li>
<li>
<a href="../articles/index.html">Articles</a>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="../articles/why_hrbrthemes.html">Why hrbrthemes?</a>
</li>
</ul>
</li>
<li>
<a href="../news/index.html">News</a>
<a href="../news/index.html">Changelog</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://github.com/hrbrmstr/hrbrthemes">
<a href="https://github.com/hrbrmstr/hrbrthemes">
<span class="fa fa-github fa-lg"></span>
</a>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
@ -77,20 +111,24 @@
</header>
<div class="row">
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1>Update matching font defaults for text geoms</h1>
<small class="dont-index">Source: <a href='https://github.com/hrbrmstr/hrbrthemes/blob/master/R/theme-ipsum.r'><code>R/theme-ipsum.r</code></a></small>
<div class="hidden name"><code>update_geom_font_defaults.Rd</code></div>
</div>
<div class="ref-description">
<p>Updates [ggplot2::geom_label] and [ggplot2::geom_text] font defaults</p>
</div>
<pre class="usage"><span class='fu'>update_geom_font_defaults</span>(<span class='kw'>family</span> <span class='kw'>=</span> <span class='st'>"Arial Narrow"</span>, <span class='kw'>face</span> <span class='kw'>=</span> <span class='st'>"plain"</span>,
<span class='kw'>size</span> <span class='kw'>=</span> <span class='fl'>3.5</span>, <span class='kw'>color</span> <span class='kw'>=</span> <span class='st'>"#2b2b2b"</span>)</pre>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a> Arguments</h2>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
<table class="ref-arguments">
<colgroup><col class="name" /><col class="desc" /></colgroup>
<tr>
@ -116,11 +154,13 @@
</div>
<div class="pkgdown">
<p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
<p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.</p>
</div>
</footer>
</div>
</body>
</html>

2
man/ipsum.Rd

@ -17,7 +17,7 @@ ipsum(number_sections = FALSE, fig_width = 7, fig_height = 5,
\item{fig_width}{Default width (in inches) for figures}
\item{fig_height}{Default width (in inches) for figures}
\item{fig_height}{Default height (in inches) for figures}
\item{fig_retina}{Scaling to perform for retina displays (defaults to 2, which
currently works for all widely used retina displays). Set to \code{NULL} to

Loading…
Cancel
Save