Skip to content

A Scheme function to format physical quantities according to SI conventions in TeXmacs

License

Notifications You must be signed in to change notification settings

pireddag/SIunits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SIunits

A Scheme function to format physical quantities according to SI conventions in TeXmacs

How to install

  • Place the SIunits.ts style file in a subdirectory of .TeXmacs/packages
  • Place the inside the .TeXmacs/progs/SIUnits directory (will have to add it as a subdirectory of .TeXmacs/progs)
    • It must be this directory as SIunits.ts will look for the Scheme code in it
  • The package should then be available from within the TeXmacs editor

How to use

Type \SI, then return. You should obtain a box with a macro with two empty fields, that will look like <SI||> Enter the numerical value in the first field and the symbol in the second field. Press again return to activate; the typeset quantity should appear in your document.

Exceptions

The symbols for angles are entered by spelling them out (degrees, minutes, seconds). In this case the units will be typeset (as °, ' and ") without spacing them from the number.

About

A Scheme function to format physical quantities according to SI conventions in TeXmacs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published