
如何在四個不同位置轉動文字方向?
任何文字。
答案1
\scalebox
您可以從套件中執行此操作graphicx
:
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\LaTeX\scalebox{-1}[1]{\LaTeX}
\scalebox{1}[-1]{\LaTeX}\scalebox{-1}[-1]{\LaTeX}
\end{document}
TikZ
是另一種選擇:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}
\node (a) {\LaTeX};
\node[xscale=-1,right=of a] (b) {\LaTeX};
\node[yscale=-1,below=of a] (c) {\LaTeX};
\node[xscale=-1,yscale=-1,right=of c]{\LaTeX};
\end{tikzpicture}
\end{document}
並PSTricks
提供\psscalebox
:
\documentclass{article}
\usepackage{pstricks}
\begin{document}
\noindent\LaTeX\psscalebox{-1 1}{\LaTeX}\\
\psscalebox{1 -1}{\LaTeX}\psscalebox{-1 -1}{\LaTeX}
\end{document}