Hi there,
Could anyone tell me if it's possible to create vertical text in LaTeX like:
Graphics, Figures & Tables ⇒ Vertical Text
Vertical Text
- Attachments
-
- Vertical Text
- NsetsofMsets.png (4.23 KiB) Viewed 2154 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

Vertical Text
Use the sideways environment provided by the rotating package
The dvi will not show the text rotated, you must convert to ps/pdf
Code: Select all
\documentclass[a4paper]{article}
\usepackage{rotating}
\begin{document}
\begin{equation}
A=\{\begin{sideways}\{1,2,3,4,\dots\}\end{sideways}\}
\end{equation}
\end{document}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Vertical Text
Code: Select all
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{rotating}
\begin{document}
\[
A=\{
\rotatebox{90}{\{1,2,3,4,5,\dots\}},
\rotatebox{90}{\{2,4,6,8,10,\dots\}},
\ldots
\}
\]
\end{document}
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10