LaTeX Math for Confluence (Formula Library & Editor) - User Guide
Quick Start
LaTeX Math for Confluence allows you to easily insert mathematical formulas and equations into your Confluence pages using LaTeX syntax.
Adding a Formula
Open your Confluence page in edit mode
Type
/latexto insert a LaTeX macroChoose between Latex Block (display mode) or Latex Inline (inline mode)
Enter your LaTeX formula and preview it in real-time
Click Save to insert the formula into your page
Interface Overview
The LaTeX Math editor provides a clean and intuitive interface for creating mathematical formulas.
Main Components
Component | Description |
|---|---|
Formula Editor (Left panel) | Enter your LaTeX code here |
Preview (Right panel) | See real-time rendering of your formula |
Alignment Buttons | Choose left, center, or right alignment for block formulas |
Formula Library | Quick access to common mathematical formulas organized by category |
Search Bar | Find formulas by name or syntax |
Features
1. Real-Time Preview
As you type LaTeX code in the editor, the formula renders instantly in the preview panel, allowing you to catch syntax errors immediately.
2. Comprehensive Formula Library
Access hundreds of pre-built formulas organized by category:
Arithmetic: Basic operations (addition, subtraction, multiplication, division)
Geometry: Shapes, angles, and spatial relationships
Algebra: Equations, functions, and expressions
Calculus: Derivatives, integrals, limits
Trigonometry: Sin, cos, tan functions and identities
Physics: Force, energy, momentum equations
Statistics: Mean, variance, probability
Linear Algebra: Matrices, vectors
Thermodynamics: Heat, energy transfer
Symbols: Greek letters, operators, special characters
Simply click any formula template to insert it into your editor.
3. Inline and Block Display Modes
Inline Mode
Formulas appear within the text flow, perfect for equations mentioned in sentences.
Block Mode
Formulas display as standalone elements with configurable alignment (left, center, or right).
4. Flexible Alignment Options
For block formulas, choose from three alignment options:
Left: Aligns formula to the left margin
Center: Centers formula on the page (default)
Right: Aligns formula to the right margin
5. Seamless Confluence Integration
Formulas integrate naturally with your Confluence content, maintaining proper spacing and alignment with surrounding text.
Configuration Options
Macro Selection
When inserting a LaTeX macro, choose the appropriate type:
Macro Type | Use Case | Example |
|---|---|---|
Latex Block (Development) | Display formulas as standalone blocks | Large equations, proofs |
Latex Inline (Development) | Insert formulas within text | Variables in sentences |
Alignment Settings (Block Mode Only)
Configure how block formulas align relative to page content:
Click the alignment buttons in the preview panel (see red box in img_2.png)
Choose from:
≡ Left align
≡ Center align
≡ Right align
Formula Search
Use the search bar to quickly find formulas:
Search by formula name (e.g., "Einstein", "Pythagorean")
Search by LaTeX syntax (e.g., "frac", "sum", "int")
FAQ
Q: How do I fix "Invalid LaTeX syntax" errors?
A: Check your LaTeX code for:
Missing braces
{}Unclosed commands
Invalid command names
Refer to LaTeX syntax guides for correct formatting
Q: Can I edit formulas after inserting them?
A: Yes! Click on the formula in your Confluence page, then select "Edit" from the macro menu.
Q: Why doesn't my formula appear correctly?
A: Ensure you:
Selected the correct macro type (Block vs. Inline)
Saved the macro after entering your formula
Used valid LaTeX syntax
Refreshed the page if needed
Q: Can I copy formulas from the library?
A: Yes! Click any formula in the library to insert it into your editor. You can then modify it as needed.
Q: How do I align formulas properly?
A: For block formulas, use the alignment buttons in the preview panel. For inline formulas, alignment follows the text flow automatically.
Q: Can I nest fractions or use complex structures?
A: Absolutely! LaTeX supports nested structures. Use the preview to verify complex formulas render correctly.
Quick Reference
Common LaTeX Commands
Operation | LaTeX Code | Example |
|---|---|---|
Fraction |
|
|
Square root |
|
|
Nth root |
|
|
Superscript |
|
|
Subscript |
|
|
Sum |
|
|
Integral |
|
|
Greek letters |
|
|