我想将 blockquote 中的文本旋转 180 度,但不知道如何操作。感谢您的帮助!
\documentclass{article}
\usepackage{fontspec}
\usepackage[english]{babel}
\usepackage[autostyle=true]{csquotes}
\usepackage{graphicx}
\usepackage{lipsum}
\begin{document}
I would like to mirror (rotate 180 degree) this blockquote:
\blockquote[{\cite{nothing}}][]%missing ref doesn't matter here
{\lipsum[1]}
But I don't know how. The result from this test looks ugly
(see the width, alignment and quotation marks for example):
\rotatebox{180}{%
\parbox{\textwidth}{%
\blockquote[{\cite{nothing}}][]%missing ref doesn't matter here
{\lipsum[1]}%
}%
}
Thank you very much for your help!
\end{document}
由于 blockquote 似乎会产生一些问题,我使用了更简单的 displayquote-environment(此解决方法由 UlrikeFischer 建议,谢谢)。结果看起来更好,但并不好(查看水平对齐并将其与原始 blockquote 的位置进行比较)。以下 MWE 演示了这一点:
\documentclass{article}
\usepackage{fontspec}
\usepackage[english]{babel}
\usepackage[autostyle=true]{csquotes}
\usepackage{graphicx}
\usepackage{showframe}
\newcommand{\shortLorem}{%
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut
purus elit, vestibulum ut, placerat ac, adipiscing vitae,
felis. Curabitur dictum gravida mauris. Nam arcu libero,
nonummy eget, consectetuer id, vulputate a, magna. Donec
vehicula augue eu neque.}
\begin{document}
\blockquote[{\cite{nothing}}][]%missing ref doesn't matter here
{\shortLorem}
%\noindent
\rotatebox{180}{%
\parbox{\textwidth}{%
\begin{displayquote}[\cite{nothing}]
\shortLorem
\end{displayquote}%
}%
}%
\end{document}
答案1
像这样吗?
当然,这不是镜像。它旋转了 180 度。但这似乎就是您要尝试做的。
\documentclass{article}
% \usepackage{fontspec}
\usepackage[english]{babel}
\usepackage[autostyle=true]{csquotes}
\usepackage{graphicx}
\usepackage{showframe}
\newcommand{\shortLorem}{%
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut
purus elit, vestibulum ut, placerat ac, adipiscing vitae,
felis. Curabitur dictum gravida mauris. Nam arcu libero,
nonummy eget, consectetuer id, vulputate a, magna. Donec
vehicula augue eu neque.}
\begin{document}
\blockquote[{\cite{nothing}}][]%missing ref doesn't matter here
{\shortLorem}
\noindent
\rotatebox{180}{%
\begin{minipage}{\textwidth}
\hfill
\begin{displayquote}[\cite{nothing}]
\shortLorem
\end{displayquote}%
\hfill
\end{minipage}%
}%
\end{document}
[我发表评论只是fontspec
为了避免编译时间过长,因为这对问题来说并不重要。]