太搞笑了!
我想要一个单词(Παρατηρήσεις),就像数学文本下面的反射一样。我想要:
- 每个字母都位于每个符号下方,
- 所有的数学文本都在同一行,
- 所有图像都可以旋转。
我尝试过这个,但是正如你所看到的,反射并不好。
\documentclass{article}
\usepackage[english,greek]{babel}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{fadings}
\usepackage{rotating}
\usepackage{amsmath, amsfonts}
\newcommand{\iu}{{i\mkern1mu}}
\begin{document}
\begin{tikzpicture}
\def\mytext{$\prod\limits_{j=1}^{9} \overrightarrow{\alpha} \rho_1 \mathbb{A} T_{3}H_0 \dfrac{\varrho}{2} \eta' \sum\limits_{j\in\mathbb{N}} \exists \iu \int_{0}^{1}$}
\tikzset{mynode/.style={anchor=south,inner sep=0}}
\node[mynode]{\mytext};
\node[scope fading=south,opacity=0.4,yscale=-1,mynode]{Παρατηρήσεις};
\end{tikzpicture}
\begin{turn}{180}
\begin{tikzpicture}[rotate=90]
\def\mytext{$\prod\limits_{j=1}^{9} \overrightarrow{\alpha} \rho_1 \mathbb{A} T_{3}H_0 \dfrac{\varrho}{2} \eta' \sum\limits_{j\in\mathbb{N}} \exists \iu \int_{0}^{1}$}
\tikzset{mynode/.style={anchor=south,inner sep=0}}
\node[mynode]{\mytext};
\node[scope fading=south,opacity=0.4,yscale=-1,mynode]{Παρατηρήσεις};
\end{tikzpicture}
\end{turn}
\end{document}
我也尝试过这个,但是线条不太好。
\documentclass{article}
\usepackage[english,greek]{babel}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{fadings}
\usepackage{rotating}
\usepackage{amsmath, amsfonts}
\newcommand{\iu}{{i\mkern1mu}}
\begin{document}
\begin{tikzpicture}
\def\mytext{$\prod\limits_{j=1}^{9} $}
\tikzset{mynode/.style={anchor=south,inner sep=0}}
\node[mynode]{\mytext};
\node[scope fading=south,opacity=0.4,yscale=-1,mynode]{Π};
\end{tikzpicture}
% no empty line here
\begin{tikzpicture}
\def\mytext{$\overrightarrow{\alpha} $}
\tikzset{mynode/.style={anchor=south,inner sep=0}}
\node[mynode]{\mytext};
\node[scope fading=south,opacity=0.4,yscale=-1,mynode]{α};
\end{tikzpicture}
% no empty line here
\begin{tikzpicture}
\def\mytext{$ \rho_1 $}
\tikzset{mynode/.style={anchor=south,inner sep=0}}
\node[mynode]{\mytext};
\node[scope fading=south,opacity=0.4,yscale=-1,mynode]{ρ};
\end{tikzpicture}
% no empty line here
\begin{tikzpicture}
\def\mytext{$\mathbb{A}$}
\tikzset{mynode/.style={anchor=south,inner sep=0}}
\node[mynode]{\mytext};
\node[scope fading=south,opacity=0.4,yscale=-1,mynode]{α};
\end{tikzpicture}... ...
\end{document}
有什麼解決方案嗎?
探索我们的家园!
答案1
这可能还不是你希望得到的答案,但也许是迈向这种答案的第一步。首先,我的编辑器不处理希腊字母。所以我用 LaTeX 的方式制作它们。(当然,我可以换用另一个编辑器,但这意味着所有有同样问题的编辑器的人都无法复制这个答案,这是我不想做的。)然后我猜必须将公式分解成原子。(我不知道是否可以用 做到这一点decorations.text
。)然后对原子进行循环可以连接镜子。
\documentclass{article}
\usepackage{amsmath, amsfonts}
\newcommand{\iu}{{i\mkern1mu}}
\usepackage{tikz}
\usetikzlibrary{tikzmark,fit,fadings}
\def\lstMirrors{{"\Pi","\alpha","\rho","\alpha","\eta","\rho","\eta","\sigma","\varepsilon","\iota","\zeta","\zeta"}}
\begin{document}
\[\tikzmarknode{1}{\prod\limits_{j=1}^{9}}
\tikzmarknode{2}{\overrightarrow{\alpha}}
\tikzmarknode{3}{\rho_1}
\tikzmarknode{4}{\mathbb{A}}
\tikzmarknode{5}{T_{3}}
\tikzmarknode{6}{H_0}
\tikzmarknode{7}{\dfrac{\varrho}{2}}
\tikzmarknode{8}{\eta'}
\tikzmarknode{9}{\sum\limits_{j\in\mathbb{N}}}
\tikzmarknode{10}{\exists}
\tikzmarknode{11}{\iu}
\tikzmarknode{12}{\int_{0}^{1}}\]
\begin{tikzpicture}[overlay,remember picture]
\foreach \X in {1,...,12}
{\ifnum\X=1
\xdef\lstFit{(\X)}
\else
\xdef\lstFit{\lstFit(\X)}
\fi}
\node[fit=\lstFit](fit){};
\foreach \X [evaluate=\X as \Y using {int(\X-1)}]in {1,...,12}
{\pgfmathsetmacro{\tmp}{\lstMirrors[\Y]}
\node[scope fading=south,opacity=0.4,yscale=-1,anchor=south] at
(\X.south |- fit.south) {\ensuremath{\tmp}}; }
\end{tikzpicture}
\end{document}
可以旋转它吗?可以,例如将其打包成\savebox
。我犹豫是否要在这个初步答案上投入太多精力,因为您可能会发现使用无法处理希腊字符的编辑器是不可接受的。但是,如果您对此表示同意并就您想要的功能向我提供进一步的反馈,我将很乐意扩展此答案。