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 , 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 -th paragraph.\lipsum[x][y]
: Outputs the -th paragraph’s -th sentence.\lipsum[x][y-z]
: Outputs from the -th to the -th sentence in the -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}