下面的代码产生的效果不是正面和反面背对背,而这正是我想要的。“turn”将旋转中心置于图像的左上角,但在这种情况下,需要将其置于图像的中心。这是怎么做到的?
\documentclass[12pt]{article}
\usepackage{fancybox}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{fullpage}
\usepackage{rotating}
\begin{document}
\begin{center}
obverse: \doublebox{
$
\begin{array}{ccccc}
~1 & \quad & \text{THE UNITED STATES OF AMERICA} & \quad & 1~ \\
{} \\
& & \Huge{\bigcirc} \\ & & \text{george} \\
~1 & & \text{ONE}~\vphantom{\displaystyle\sum^1}~\text{DOLLAR} & & 1~
\end{array}
$
}
$${}$$
reverse: \doublebox{
$
\begin{array}{ccccc}
\text{\sc one} & & \text{THE UNITED STATES OF AMERICA} & & \text{\sc one} \\
& & \text{\sc in god we trust};\text{ all others pay cash.} \\ {} \\
& & \Huge{\bigcirc} \qquad \Huge{\mathbb{ONE}} \qquad \Huge{\bigcirc} \\ {} \\
\text{\sc one} & & \text{ONE DOLLAR} & & \text{\sc one}
\end{array}
$
}
\end{center}
\newpage
\begin{center}
\begin{turn}{-90}
\doublebox{
$
\begin{array}{ccccc}
~1 & \quad & \text{THE UNITED STATES OF AMERICA} & \quad & 1~ \\ {} \\
& & \Huge{\bigcirc} \\ & & \text{george} \\
~1 & & \text{ONE}~\vphantom{\displaystyle\sum^1}~\text{DOLLAR} & & 1~
\end{array}
$
} \end{turn}
\begin{turn}{+90}
\doublebox{
$
\begin{array}{ccccc}
\text{\sc one} & & \text{THE UNITED STATES OF AMERICA} & & \text{\sc one} \\
& & \text{\sc in god we trust};\text{ all others pay cash.} \\ {} \\
& & \Huge{\bigcirc} \qquad \Huge{\mathbb{ONE}} \qquad \Huge{\bigcirc} \\ {} \\
\text{\sc one} & & \text{ONE DOLLAR} & & \text{\sc one}
\end{array}
$
}
\end{turn}
\end{center}
\end{document}
答案1
下面我使用围绕其正中间的方式\rotatebox[origin=c]{<ang>}{<stuff>}
将您的笔记正反两面翻转:<ang>
c
\documentclass[12pt]{article}
\usepackage{eqparbox,fancybox,graphicx,amssymb}
\newcommand{\notefront}{%
\doublebox{%
\begin{tabular}{ *{5}{c} }
\eqmakebox[one]{1} & \quad & THE UNITED STATES OF AMERICA & \quad & \eqmakebox[one]{1} \\
\\
& & \Huge $\bigcirc$ \\
& & george \\
\eqmakebox[one]{1} & & ONE DOLLAR & & \eqmakebox[one]{1}
\end{tabular}%
}%
}
\newcommand{\noteback}{%
\doublebox{%
\begin{tabular}{ *{5}{c} }
\eqmakebox[one]{\textsc{one}} & \quad & THE UNITED STATES OF AMERICA & \quad & \eqmakebox[one]{\textsc{one}} \\
& & \textsc{in god we trust}; all others pay cash. \\
{} \\
& & \Huge \makebox[0pt][r]{$\bigcirc$} \qquad $\mathbb{ONE}$ \qquad \makebox[0pt][l]{$\bigcirc$} \\
{} \\
\eqmakebox[one]{\textsc{one}} & & ONE DOLLAR & & \eqmakebox[one]{\textsc{one}}
\end{tabular}%
}%
}
\begin{document}
\begin{center}
\eqmakebox[side]{font:} \notefront
\eqmakebox[side]{back:} \noteback
\end{center}
\clearpage
\begin{center}
\rotatebox[origin=c]{-90}{\notefront}
\rotatebox[origin=c]{ 90}{\noteback}
\end{center}
\end{document}