How to Write Limit Symbol (lim) in LaTeX
In LaTeX, you can write the limit symbol using the \lim
command.
The following examples show how to write the limit symbol in LaTeX.
How to Write the Limit Symbol in Text
We can use the \lim
command to write the limit symbol in LaTeX document for text.
Suppose we want to write the limit symbol in the text.
We can use the following LaTeX code to do so:
\documentclass{article}
\begin{document}
This is an example of using the limit symbol \(\lim\) in a sentence.
\end{document}
Output: 👇️
This is an example of using the limit symbol lim in a sentence.
In this example, we use the \lim
command to display the limit symbol in the text.
How to Write the Limit Symbol in Mathematical Expressions
For mathematical expressions, we can use the \lim
command to ensure proper formatting.
Suppose we would like to write mathematical expressions that contain the limit symbol.
We can use the following LaTeX code to do so:
\documentclass{article}
\begin{document}
An inline mathematical expression: \( \lim_{x \to \infty} f(x) \).
A displayed mathematical expression:
\[
\lim_{x \to 0} \frac{\sin x}{x} = 1
\]
\end{document}
Output: 👇️
In this example, we use the \lim
command to denote the limit symbol in both inline and displayed mathematical expressions.
Conclusion
We can use the \lim
command for both text and mathematical expressions. This ensures that the limit symbol is properly formatted and displayed in LaTeX document.