Label tool
With this tool you can add text, Markdown, or mathematical formulas into the infinite canvas.
Modes
Phần tiêu đề “Modes”The label tool can be used in different modes:
| Mode | Mô tả |
|---|---|
| Văn bản | Adds plain text labels. |
| Markdown | Adds formatted Markdown labels. |
Mathematics
Phần tiêu đề “Mathematics”You can write mathematical formulas instead of drawing them by using the text label tool.
The text label tool supports LaTeX for defining mathematical formulas.
What is LaTeX?
Phần tiêu đề “What is LaTeX?”LaTeX is a markup language that has many features. You can use it to write mathematical formulas in Butterfly.
Why should I write math equations when I can draw them?
Phần tiêu đề “Why should I write math equations when I can draw them?”It is up to you, but sometimes a properly formatted mathematical expression is preferred over handwriting.
How do I apply LaTeX?
Phần tiêu đề “How do I apply LaTeX?”To apply LaTeX to the text you have written, select the text and then press the math symbol in the toolbar.
You need to follow LaTeX syntax for this to work.
LaTeX syntax
Phần tiêu đề “LaTeX syntax”To start using LaTeX, you need to know its syntax.
A backslash (\) must precede any LaTeX command to indicate it is a command.
An example command is \int_{7}^{6}, which is used to show the integral symbol:
Useful commands
Phần tiêu đề “Useful commands”| Command | Mô tả | Example | Example command |
|---|---|---|---|
\sqrt[n]{arg} | Square root symbol, or nth root | \sqrt[3]{x+1} | |
\frac{num}{den} | Fraction with numerator and denominator | \frac{a+1}{b-1} | |
\stackrel{a}{b} | Places something (a) above another (b) | \stackrel{!}{=} | |
\left<delimiter> and \right<delimiter> | Scaling delimiters. \left must be paired with a \right | \left( \frac{x}{2} \right) | |
\sum_{lower}^{upper} | Summation symbol with limits | \sum_{i=1}^{n} i | |
\mid | Vertical bar as relation, such as “divides” or conditional | a\mid b | |
\prod_{lower}^{upper} | Product symbol with limits | \prod_{k=1}^{m} k | |
\int_{a}^{b} | Integral with limits | \int_{0}^{1} x^2\,dx | |
\langle and \rangle | Angle brackets for inner products or tuples | \langle v,w\rangle | |
\in and \notin | Set membership or not membership | , | x\in A, y\notin B |
\forall and \exists | Universal or existential quantifiers | \forall x\in\mathbb{R},\ \exists y | |
\to | Right arrow for functions or limits | , | f:A\to B, x_n\to x |
Configuration
Phần tiêu đề “Configuration”| Property | Default | Mô tả |
|---|---|---|
| Mode | Văn bản | The label mode. Available modes are Text and Markdown. |
| Tiền cảnh | Black | The text color. |
| Tỷ lệ | 2 | The scale of the label. |
| Phụ thuộc thu phóng | false | Changes the label size based on the zoom level. |
| Style sheet | Không có | The style sheet used for the label. |