Math & ScienceAlignment of equal Sign to Numerator in Fraction

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Alignment of equal Sign to Numerator in Fraction

Post by ghostanime2001 »

How can I make the equal sign align in the center of 2pi in the numerator?

Code: Select all

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[k=\dfrac{2\pi}{\lambda}\]
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply