Title: Feature request: mathtext support for \displaystyle · Issue #1888 · matplotlib/matplotlib · GitHub
Open Graph Title: Feature request: mathtext support for \displaystyle · Issue #1888 · matplotlib/matplotlib
X Title: Feature request: mathtext support for \displaystyle · Issue #1888 · matplotlib/matplotlib
Description: When I give matplotlib a annotation string such as $\frac{A}{B} = C$ and I specify a fontsize of 18, the A and B are rendered at 12.6 pt, while the C is rendered at 18 pt. I want A, B, and C to all be the same size. In a LaTeX document, ...
Open Graph Description: When I give matplotlib a annotation string such as $\frac{A}{B} = C$ and I specify a fontsize of 18, the A and B are rendered at 12.6 pt, while the C is rendered at 18 pt. I want A, B, and C to all...
X Description: When I give matplotlib a annotation string such as $\frac{A}{B} = C$ and I specify a fontsize of 18, the A and B are rendered at 12.6 pt, while the C is rendered at 18 pt. I want A, B, and C to all...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/1888
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature request: mathtext support for \\displaystyle","articleBody":"When I give matplotlib a annotation string such as\n\n```\n$\\frac{A}{B} = C$\n```\n\nand I specify a fontsize of 18, the A and B are rendered at 12.6 pt, while the C is rendered at 18 pt. I want A, B, and C to all be the same size.\n\nIn a LaTeX document, if you give the commands\n\n```\n\\begin{equation}\n\\frac{A}{B} = C\n\\end{equation}\n```\n\nyou get a fraction, where A, B, and C are all the same size, but if you do\n\n```\n$\\frac{A}{B} = C$\n```\n\ninline with text, you get the A and B rendered at 12.6 pt, while the C is rendered at 18 pt. Thus it appears matplotlib's mathtext is emulating LaTeX's inline mode. In LaTeX you can write\n\n```\n$\\displaystyle\\frac{A}{B} = C$\n```\n\nand then A, B, and C are all the same size, even in inline mode. I tried this in matplotlib, but mathtext did not recognize the command \\displaystyle. =(\n\nI am aware I can use \\displaystyle if I change text.usetex to true in my .matplotlibrc file, but I would like to stay with mathtext since it is a lot faster. Is there a chance of implementing \\displaystyle in math text? If not, does anyone have a work around?\n\nMy setup: matplotlib v1.2.0, python 2.7, OS X 10.8.3\n","author":{"url":"https://github.com/breedlun","@type":"Person","name":"breedlun"},"datePublished":"2013-04-09T03:47:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/1888/matplotlib/issues/1888"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a95d57b4-1b3c-1aaf-0ef1-d2d7582e1091 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 98B6:298CA0:AC476B:E358C9:6A51A776 |
| html-safe-nonce | f628e1daa6c519ac194639a74abd305ca2681d3ad156f14d227d1342292c1c9c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEI2OjI5OENBMDpBQzQ3NkI6RTM1OEM5OjZBNTFBNzc2IiwidmlzaXRvcl9pZCI6IjE3MDA0NDI1OTI5NTk4OTk1MTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | aa2af6a9d3ea58aa004ebf68b1aade25148002f92754c4a10375c6994242e649 |
| hovercard-subject-tag | issue:12955120 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/1888/issue_layout |
| twitter:image | https://opengraph.githubassets.com/86efd6af35d4bebfbda3e0bc88d09451b538fbc35e00785bf04c66895a1392d3/matplotlib/matplotlib/issues/1888 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/86efd6af35d4bebfbda3e0bc88d09451b538fbc35e00785bf04c66895a1392d3/matplotlib/matplotlib/issues/1888 |
| og:image:alt | When I give matplotlib a annotation string such as $\frac{A}{B} = C$ and I specify a fontsize of 18, the A and B are rendered at 12.6 pt, while the C is rendered at 18 pt. I want A, B, and C to all... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | breedlun |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width