Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Mathtext brackets#4183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
mdboom wants to merge3 commits intomatplotlib:masterfrommdboom:mathtext-brackets
Closed

Conversation

mdboom
Copy link
Member

Fix for#3374.

This special cases the minus sign to be treated as if it has fullx height. Also fixes a small problem with vertical alignment of text that was discovered along the way.

@tacaswell
Copy link
Member

The vertical aliment of the|-> does not look right to me in the pngs

@mdboom
Copy link
MemberAuthor

To my eyes, the Computer Modern one looks fine. The stix is a bit low, but the minus sign is a bit low in that font anyway. It doesn't look and odd in the context of more stuff.

@WeatherGod
Copy link
Member

yeah, cm looks right to me, the other pngs don't seem right. The vertical extent of the | doesn't match the extent of the bracket, and they aren't aligned. Are they supposed to or not? In cm, the vertical bar doesn't match the vertical extent, but it seems to be better aligned.

@tacaswelltacaswell added this to thenext point release milestoneMar 12, 2015
@tacaswell
Copy link
Member

I think the- should be even with the center of the> . Below is the output from

\documentclass{article}\usepackage{amsmath}\begin{document}\thispagestyle{empty}\begin{math}\left\langle -\right|\left | +\right\rangle\end{math}\end{document}

braket

I am wearing my physicist hat here complaining about this.

This PR is definitily an improvement and if the answer is 'use tex' to get the more centered version that is probably ok.

@mdboom
Copy link
MemberAuthor

Fixing this properly has turned into a rather deep wormhole of problems... I say we just keep this open and I (or some other brave soul) can continue to hack away at it as able...

@tacaswelltacaswell modified the milestones:proposed next point release,next point releaseJun 18, 2015
@tacaswelltacaswell modified the milestone:2.1 (next point release)Aug 29, 2017
@anntzer
Copy link
Contributor

#3374 was fixed by#5871.
Vertical alignment of +/- and brakets remains less than perfect, but this PR doesn't change that situation AFAICT, so I'll close this.

@anntzeranntzer closed thisFeb 9, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@mdboom@tacaswell@WeatherGod@anntzer@dstansby

[8]ページ先頭

©2009-2025 Movatter.jp