While modern versions of Microsoft Word include a graphical equation builder (via OMML / Office Math Markup Language), these equation objects are complex XML containers that often disrupt line spacing, increase file size, and fail to integrate cleanly with Mail Merge, cross-references, or legacy document formats. When inserting compact inline mathematical formulas, vertical fractions, radicals, or summations into body text, the classic EQ (Equation) field code remains an invaluable tool. Operating as native, plain-text field codes, EQ fields render crisp, publication-quality mathematical notation while maintaining seamless typographic flow.
Understanding the Architecture of the EQ Field
The EQ field code uses specialized mathematical instruction switches preceded by a backslash. When Word processes an EQ field, it calculates the optical heights and widths of the enclosed expressions, positioning fractions, radical symbols, and bracket delimiters dynamically without requiring external MathType plugins or embedded OLE objects.
Key operational switches supported by the EQ field include:
\f(numerator, denominator): Formats a vertical fraction with a clean horizontal dividing line.\r(index, radicand): Generates a radical root (such as a square root or cube root).\i(variable, lower, upper, integrand): Constructs definite or indefinite integrals, summations, and products with aligned limits.\a(options): Assembles an aligned array or matrix.\b(options): Encloses expressions in dynamic scaling brackets or parentheses.\o(elements): Overstrikes multiple characters directly on top of each other (useful for accented variables).\s(options): Shifts characters vertically to construct precise superscripts and subscripts.
Constructing Compact Inline Fractions with \f
Standard typed fractions (like 1/2 or 3/4) take up horizontal space and look informal in scientific or engineering reports. Inserting an equation block on its own line breaks paragraph cadence.
To construct a vertical fraction that sits cleanly inside a sentence:
- Place your cursor where the fraction should appear.
- Press Ctrl + F9 (or Command + F9 on macOS) to insert curly field brackets
{ }. - Inside the brackets, type the fraction switch:
{ EQ \f(x + 1, 2x - 3) } - Press Shift + F9 to toggle the field code and display the rendered mathematical fraction.
Word typesets the numerator directly above the denominator, divided by an automatically scaled horizontal fraction bar that matches the document’s font size and style.
Constructing Radicals and Square Roots with \r
To format radical roots with dynamic radical symbols that adjust in height to wrap around complex expressions, use the \r switch.
To insert a simple square root (leaving the first argument empty before the comma):
{ EQ \r(, x^2 + y^2) }
To construct a cube root or higher-order root (such as the fourth root), place the index in the first position:
{ EQ \r(3, 8a^3) }
When toggled, Word renders a professional radical sign with the horizontal vinculum extending precisely across the entire length of the radicand.
Formatting Integrals and Summations with \i
Constructing definite integrals with explicit upper and lower integration bounds is straightforward using the \i switch. The switch accepts an optional symbol parameter, such as \i\in for standard integral symbols or \i\su for large capital Greek sigma summations.
To format a definite integral from 0 to infinity:
{ EQ \i\in(0, \s\up4(\d\fo1()∞), e^-x dx) }
To create a summation of n=1 to 100 of n^2:
{ EQ \i\su(n=1, 100, n^2) }
The lower limit appears centered beneath the sigma and the upper limit appears centered above, maintaining rigorous mathematical formatting standards.
Building Aligned Matrices and Arrays with \a
To format mathematical arrays, matrices, or system-of-equations alignments, combine the array switch (\a) with bracket delimiters (\b).
The \a switch supports formatting flags:
\al: Left-aligns elements in columns.\ac: Centers elements in columns.\coN: Specifies the number of columns (whereNis the integer count).\vsN: Adds vertical point spacing between rows.
To assemble a 2×2 matrix wrapped in scaling square brackets, insert:
{ EQ \b\bc\[(\a\ac\co2\vs3(a, b, c, d)) }
When toggled with Shift + F9, Word draws clean square brackets enclosing the balanced four-element matrix.
Managing Field Codes and Keyboard Shortcuts
Working efficiently with EQ fields involves several essential keyboard shortcuts:
- Ctrl + F9: Inserts empty field code braces
{ }. (Do not type standard keyboard curly braces, as Word will not recognize them as field codes). - Shift + F9: Toggles between the field code syntax and the rendered visual result for the selected field.
- Alt + F9: Toggles all field codes across the entire document simultaneously.
- F9: Recalculates and updates the selected field.
Mastering EQ field codes provides technical writers and educators with a fast, lightweight, and versatile method for embedding mathematical notation directly within native Microsoft Word prose.