镜像文档的一部分

镜像文档的一部分

我正在写一篇论文,我需要镜像一页中的整个部分(这是一个谜题的解决方案,因此读者需要一面镜子才能阅读它,并且有无剧透)。

我即将使用图片图表图表文本以及其他视觉调整在部分中所以我需要一个工具镜子无论我用什么不干扰

我尝试使用以下代码来处理一些文本,但它没有按预期工作,而且似乎溢出了\hbox。该部分相当大,所以我很想使用类似的东西\begin{reflection} .... \end{reflection}

\reflectbox{
    The first step for the solution of this problem would be to write the recursive
    functions associated with both requests. This is a trivial task but it's necessary
    in order to better understand how they can eventually be manipulated and optimised.
    Focusing on the first problem, the recursive function should be equivalent to this:
    # Other stuff
    # Images, Charts, Code, Whatever.
}

有什么建议么?

答案1

\reflectbox就像\mbox这样在一行上,你想要

\noindent\reflectbox{\parbox{\textwidth}{%
    The first step for the solution of this problem would be to write the recursive
    functions associated with both requests. This is a trivial task but it's necessary
    in order to better understand how they can eventually be manipulated and optimised.
    Focusing on the first problem, the recursive function should be equivalent to this:
...
}}

相关内容