How to Use Lorem Ipsum in Text
Code
Lorem Ipsum or Lipsum is a placeholder made of meaningless strings to focus on the document’s design. In $\TeX$, it can be used by utilizing the lipsum
package.
\lipsum
1
The command \lipsum
can be handled as if it were a two-dimensional array.
\lipsum[x]
: Outputs the $x$-th paragraph.\lipsum[x][y]
: Outputs the $x$-th paragraph’s $y$-th sentence.\lipsum[x][y-z]
: Outputs from the $y$-th to the $z$-th sentence in the $x$-th paragraph.
\documentclass{article}
\usepackage{lipsum}
\begin{document}
\paragraph{lipsum[1]}
\lipsum[1]
\paragraph{lipsum[2]}
\lipsum[2]
\paragraph{lipsum[1][2]}
\lipsum[1][2]
\paragraph{lipsum[1][1-3]}
\lipsum[1][1-3]
\end{document}