Cadabra
Computer algebra system for field theory problems
LaTeXForm.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Props.hh"
5 
6 namespace cadabra {
7 
8  class LaTeXForm : virtual public property {
9  public:
10  virtual std::string name() const override;
11  virtual bool parse(Kernel&, keyval_t&) override;
12  virtual std::string unnamed_argument() const override;
13 
18  std::string latex_form() const;
19 
20  std::vector<Ex> latex;
21  };
22 
23  }
Definition: Kernel.hh:15
Definition: LaTeXForm.hh:8
std::string latex_form() const
Return the LaTeX string which should be used to display the object to which this property is associat...
Definition: LaTeXForm.cc:27
std::vector< Ex > latex
Definition: LaTeXForm.hh:20
virtual std::string name() const override
Definition: LaTeXForm.cc:6
virtual std::string unnamed_argument() const override
Definition: LaTeXForm.cc:11
virtual bool parse(Kernel &, keyval_t &) override
Definition: LaTeXForm.cc:16
Arguments to properties get parsed into a keyval_t structure.
Definition: Props.hh:68
Base class for all properties, handling argument parsing and defining the interface.
Definition: Props.hh:127
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83