MD::Math Class
class MD::MathLaTeX math expression. More...
| Header: | #include <md4qt/doc.h> |
| CMake: | find_package(md4qt REQUIRED COMPONENTS md4qt)target_link_libraries(mytarget PRIVATE md4qt::md4qt) |
| Inherits: | MD::Code |
Public Functions
Reimplemented Public Functions
| virtual QSharedPointer<MD::Item> | clone(MD::Document *doc = nullptr) const override |
| virtual MD::ItemType | type() const override |
Detailed Description
LaTeX math expression in Markdown.
Member Function Documentation
Math::Math()
Default constructor.
[override virtual] QSharedPointer<MD::Item> Math::clone(MD::Document *doc = nullptr) const
Reimplements: Code::clone(MD::Document *doc) const.
Clone this LaTeX math expression.
doc Parent of new item.
const QString &Math::expr() const
Returns content.
See also setExpr().
void Math::setExpr(const QString &e)
Set content.
e New value.
See also expr().
[override virtual] MD::ItemType Math::type() const
Reimplements: Code::type() const.
Returns type of the item.