mathtext: no space after comma in brackets #5813

Merged
merged 2 commits into from Jan 13, 2016

Conversation

Projects
None yet
3 participants
Member

zblz commented Jan 8, 2016

The space after a comma is omitted if the comma is written in brackets {,}, following TeX behaviour. Note that in this fix the brackets have to be immediately before and after the comma; {, }, { ,}, or { , } will still typeset the space. (edit: fixed to support spaces between the brackets)

Fixes #5799.

zblz referenced this pull request Jan 8, 2016

Closed

mathtext kerning around comma #5799

tacaswell added this to the next major release (2.0) milestone Jan 8, 2016

zblz added some commits Jan 8, 2016

@zblz zblz no space after comma in brackets
Fixes #5799

Following TeX behaviour: http://www.tex.ac.uk/FAQ-dec_comma.html
1f156be
@zblz zblz add baseline images
91fcc61

@mdboom mdboom added a commit that referenced this pull request Jan 13, 2016

@mdboom mdboom Merge pull request #5813 from zblz/dec-comma
mathtext: no space after comma in brackets
25590c8

@mdboom mdboom merged commit 25590c8 into matplotlib:master Jan 13, 2016

1 of 2 checks passed

continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

mdboom removed the needs_review label Jan 13, 2016

@mdboom mdboom added a commit that referenced this pull request Jan 13, 2016

@mdboom mdboom Merge pull request #5813 from zblz/dec-comma
mathtext: no space after comma in brackets
fbcdd1b
Owner

mdboom commented Jan 13, 2016

Backported to 2.x as fbcdd1b

zblz deleted the zblz:dec-comma branch Jan 13, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment