Graphics, Figures & Tables ⇒ Vertical Text
Vertical Text
Could anyone tell me if it's possible to create vertical text in LaTeX like:
- Attachments
-
- Vertical Text
- NsetsofMsets.png (4.23 KiB) Viewed 2005 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Vertical Text
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
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10