Macaulay2 » Documentation
Packages » Style :: Style
next | previous | forward | backward | up | index | toc

Style -- style sheets and images for the documentation

Description

This package is primarily a repository for the style sheets and images used by the html pages in the documentation.

It exports one method, generateGrammar, for generating grammar files used for syntax highlighting and/or auto-completion in Macaulay2 code editors and in the html documentation.

Version

This documentation describes version 1.1 of Style.

Citation

If you have used this package in your research, please cite it as follows:

@misc{StyleSource,
  title = {{Style: style sheets and images for the documentation. Version~1.1}},
  author = {},
  howpublished = {A \emph{Macaulay2} package available at
    \url{https://github.com/Macaulay2/M2/tree/master/M2/Macaulay2/packages}}
}

Exports

  • Functions and commands
  • Methods
    • generateGrammar(String,Function) -- see generateGrammar -- generate a grammar file from a template
    • generateGrammar(String,String,Function) -- see generateGrammar -- generate a grammar file from a template

For the programmer

The object Style is a package, defined in Style.m2, with auxiliary files in Style/.


The source of this document is in Style.m2:122:0.