-
Notifications
You must be signed in to change notification settings - Fork 228
DOC: Technical Reference: Add table for text formatting #3976
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
yvonnefroehlich
wants to merge
19
commits into
main
Choose a base branch
from
add-techref-textformat
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+30
−0
Open
Changes from 18 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
34e15f6
Add table for text formating
yvonnefroehlich ae405df
Use upper case letters in heading
yvonnefroehlich 96690f6
Remove execution permission
yvonnefroehlich 51946af
Shorten formulation
yvonnefroehlich 5d3e55e
Use UNIX line endings
yvonnefroehlich 17f3e8d
Add more docs
yvonnefroehlich 3da7c53
Improve word
yvonnefroehlich e800610
Remove docs
yvonnefroehlich cc8dc77
Merge branch 'main' into add-techref-textformat
yvonnefroehlich 7af82b5
Escape underscores
yvonnefroehlich 697f5a3
Update heading
yvonnefroehlich c630342
Fix typo
yvonnefroehlich 9bfcd72
Use line length
yvonnefroehlich 1e50901
Mention title and legend
yvonnefroehlich 24ff922
Improve readablity
yvonnefroehlich 6360e89
Use upper-case to improve readability
yvonnefroehlich 96d3e05
Add more letters
yvonnefroehlich d15aaea
Merge branch 'main' into add-techref-textformat
yvonnefroehlich d02e731
Improve formulation
yvonnefroehlich File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Text Formatting | ||
|
||
The table below shows how text added to a plot as well as the title of the plot and | ||
labels of colorbars, Cartesian axes, and legend entries can be formatted. Changing | ||
the font as well as its color and size in this way allows to change those only for | ||
specific characters of a longer text. The supported fonts are listed at | ||
[](/techref/fonts.md). | ||
|
||
| Symbol | Behavior | | ||
| --- | --- | | ||
| @%*font*%*TEXT*@%% | Change the *font* of *TEXT* | | ||
| @;*color*;*TEXT*@;; | Change the font *color* of *TEXT* | | ||
| @:*size*:*TEXT*@:: | Change the font *size* of *TEXT* | | ||
| @-*TEXT*@- | Toggle subscripts on/off | | ||
| @+*TEXT*@+ | Toggle superscript on/off | | ||
| @#*TEXT*@# | Toggle small caps on/off | | ||
| @\_*TEXT*@\_ | Toggle underline on/off | | ||
| @!*CHAR1CHAR2* | Print two characters on top of each other (composite characters, e.g., overstrike) | | ||
| @\~*TEXT*@\~ | Toggle Greek letters on/off | | ||
| @@ | Print the @ sign | | ||
| @. | Print the ° (degree) symbol | | ||
| @s | Print letter ß | | ||
| @i | Print letter í | | ||
| @a or @A | Print letter å or Å | | ||
| @c or @C | Print letter ç or Ç | | ||
| @e or @E | Print letter æ or Æ | | ||
| @n or @N | Print letter ñ or Ñ | | ||
| @o or @O | Print letter ø or Ø | | ||
| @u or @U | Print letter ü or Ü | |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.