Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

supersub.sh 594 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  1. #!/usr/bin/env bash
  2. # Test placement of sub, super-, and both with pstext, including
  3. # font changes, colors, and underline in sub/super scripts.
  4. ps=supersub.ps
  5. cat << EOF > t.txt
  6. 0 -3 The depth to Z@+300@.@+@- p@- is used
  7. 0 -2 The depth to Z@-p@-@+300@.@+ is used
  8. 0 -1 The range is W \234 @-75@-@+135@+ km
  9. 0 0 The stress @~s@~@-xx@-@+@%6%exact@%%@+ = 450 MPa
  10. 0 1 The stress @~s@~@-xx@-@+*@+ = 450 MPa
  11. 0 2 The stress @~s@~@+*@+@-@_@;red;exact@;;@_@- = 450 MPa
  12. 0 3 With @~s@~@+*@+@-yy@- = 50 MPa and x@+2@+ = @~e@~@-0@-.
  13. EOF
  14. gmt pstext -R-3/3/-4/4 -Jx1i -P -Bxafg2 -Byaf -F+f24p t.txt -Xc > $ps
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...