./graphics/R-latex2exp, Use LaTeX expressions in plots

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.9.6, Package name: R-latex2exp-0.9.6, Maintainer: pkgsrc-users

Parses and converts LaTeX math formulas to R's plotmath expressions,
used to enter mathematical formulas and symbols to be rendered as
text, axis labels, etc. throughout R's plotting system.


Required to run:
[math/R] [textproc/R-stringr] [devel/R-magrittr]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2024-12-07 04:22:45 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(graphics/R-latex2exp) Updated 0.5.0 to 0.9.6

# 0.9.6 (11/27/2022)
## Bug fixes
* Fixes swapped wedge and vee symbols (#55, credit to @ebolove)

# 0.9.5 (09/10/2022)
## Bug fixes
* Round brakets after exponent render correctly (fixes #49)
* `\cap` now renders correctly (fixes #52)
* Escaped and non-escaped square brackets now render correctly,
  including with exponents (fixes #48)

# 0.9.4 (01/03/2022)
## Bug fixes

* Fixes bug where certain commands would fail outside of math mode
  (e.g. `TeX(r"(\alpha + \beta)")`) (fixes #45).
* Fixes edge case where `TeX(r"($^{18}$ O)")` (e.g. a free-standing
  superscript or subscript) would not render.

# 0.9.3 (02/02/2022)
## Bug fixes

* Fix an edge case encountered with back-to-back spacing or certain
  types of commands (e.g. `TeX(r"(a \,\, b)"`)) (fixes issue #40)

* Fix handling of compare operators (`=, <, >, \ge, \le`) (fixes issue #38)

* `TeX("")` returns `expression('')` (an empty expression of length 1)
  (fixes issue #40)

# 0.9.0 I01/20/2022)

## New features
* Completely rewritten parser that is much more robust, produces valid plotmath
  expressions in more situations, and improved rendering by making use of more
  plotmath features.

* Added a vignette containing a browsable gallery of LaTeX commands
supported. You can pull it up using `vignette("supporte d-commands",
package = "latex2exp")`.

* Added the following LaTeX commands and symbols:
  * `\Upsilon` and `\varpi` for Greek letter variants
  * `\uparrow`, `\downarrow`, `\Uparrow`, `\Downarrow`, `\to`
  * `\euro` for the euro character
  * `\langle`, `\rangle` for angle bracket (supported in R 4.1)
  * `\lceil`, `\rceil`, `\lfloor`, `\rfloor` for ceil/floor brackets
  * `\|` for double-pipe brackets (`\norm{expr}` is an alternative
    command for typesetting a vector norm).
  * Note that the angle, ceil, floor, pipe and double pipe brackets
    are *not* scalable delimiters, because of plotmath limitations.
  * `\bra`, `\ket`, `\braket` for representing vectors with the braket notation
  * `\smiley`, `\diamond`, `\sharp`, `\eightnote`, `\twonotes`, `\sun`, `\venus`,
    `\mars`, `\Exclam`, `\dagger`, `\ddagger`, `\(up|down|right|left)triangle`
* Improved the appearance of round
  parentheses. `TeX(r"($\alpha(\beta)$)")` now renders more similarly
  to how plotmath renders the expression `alpha(beta)`.

* Improved the appearance of `,`, `'` and `''` in math mode.
* Improved the appearance of `\frac` fractions. Now a small space is
  inserted after the fraction, so that multiple fraction s are
  separated.
* Added a test suite covering a large number of LaTeX expressions,
  edge cases, and examples from GitHub.
* Refactored and improved code documentation.

## Bug fixes
* Fixes #33 (adds `\lceil, \rceil, \lfloor, \rfloor`)
* Fixes #24 (can mix & match different types of brackets,
  e.g. `TeX("$\\left(\\frac{M}{L}\\right.$")`)
   2021-10-26 12:47:26 by Nia Alarie | Files touched by this commit (800)
Log message:
graphics: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:13:27 by Nia Alarie | Files touched by this commit (800)
Log message:
graphics: Remove SHA1 hashes for distfiles