Sign in to your account to download products and manage your subscription.
Mathematical Calculations in a Text Document
- Guides and tutorials for TechEditor
- Hits: 937
Hello, welcome to Dystlab. In this video, we’ll show you how to add math calculations to a document.
TechEditor, the tool we’re using, has many features for doing calculations. Today, we’ll focus on the easiest one — the Math Object.
You can find the Math Object in the Automation tab on the ribbon, or in the quick access toolbar. If you add it to your document and click OK, it will appear where your cursor is.
The Math Object editor has two parts: Input Expression and Output Expression. Use the Input Expression to set up variables or functions. For example, let’s make a variable “a” and set it to “10”.
Now, our document has a Math Object. You can show the value of “a” anywhere in your document. To do this, use the Calculated Value field.
The Title field is optional, but it’s usually a good idea to use it to label what’s being shown.
Remember: if you try to put a Math Object that uses a variable or function after another one that defines it, you’ll get an error. This means you need to define all variables and functions before you use them. So, let’s move our object back to the right place.
Next, let’s add a harmonic function.
We’ll show a few values of this function below. Keep in mind, you can use variables you’ve already defined as arguments in the function.
Use the Format field to control how the output looks and how many digits appear after the decimal point.
If you found this video helpful, please give it a like and leave a comment. See you in the next video, and good luck!

