迷你页面表格下的下支撑

迷你页面表格下的下支撑

希望你们都好。我一直在尝试使用 minipage 构建一组两个表格,并在两个表格下方放置带有文本的下划线。我尝试了很多不同的方法,但似乎都没有用。我想知道,例如,给定我粘贴在下面的表格,是否可以在两个表格下方放置带有文本的下划线。

\begin{table}[H]
    \caption*{Example}
    \begin{minipage}{.5\linewidth}
    \caption{some text here.}
    \centering
\begin{tabular}{lll}
                       &         \begin{turn}{90}{{0}}  \end{turn}          &  \begin{turn}{90}{{18}}  \end{turn}                    \\ \cline{2-3} 
\multicolumn{1}{l|}{ {{1}}} & \multicolumn{1}{l|}{{{0}} \phantom{\hspace{-1cm}\begin{turn}{45}{{0}}  \end{turn}} } & \multicolumn{1}{l|}{{{18}}} \\ \cline{2-3} 
\multicolumn{1}{l|}{ {{0}}} & \multicolumn{1}{l|}{{{0}}} & \multicolumn{1}{l|}{{{0}}  \phantom{\hspace{-1cm}\begin{turn}{45}{{0}}  \end{turn}}   } \\ \cline{2-3} 
\end{tabular}
    \end{minipage}%
            \begin{minipage}[3cm]{.1\linewidth}
\vspace{2cm}
\hspace{-1.0cm}{\resizebox{3cm}{!}{$\leadsto$}}
    \end{minipage}%
        \begin{minipage}{.4\linewidth}
            \caption{ some other text here}
    \centering
\begin{tabular}{lll}
                       &         \begin{turn}{90}{{0}}  \end{turn}          &  \begin{turn}{90}{{18}}  \end{turn}                    \\ \cline{2-3} 
\multicolumn{1}{l|}{ {{1}}} & \multicolumn{1}{l|}{ {\color{red}\begin{turn}{45}{{0}}  \end{turn}}  } & \multicolumn{1}{l|}{} \\ \cline{2-3} 
\multicolumn{1}{l|}{ {{0}}} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{ {\color{red}  \begin{turn}{45}{{0}}  \end{turn} }} \\ \cline{2-3} 
\end{tabular}
\begin{textblock*}{5cm}(13.25cm,9.0cm){ {\color{red} \begin{turn}{45}{{18}}  \end{turn}}  }\end{textblock*}
    \end{minipage}%
\end{table}

我面临的另一个问题是数字 18,它是

begin{textblock*}{5cm}(13.25cm,9.0cm){ {\color{red} \begin{turn}{45}{{18}}  \end{turn}}  }\end{textblock*}

位于文本块下,每次我在表格前添加或删除文本时,我都需要重新调整“18”位置的坐标,即 13.25cm,9.0cm。我想知道是否可以设置适用于小页面的坐标,而不管上面的文本如何变化。

最后,我认为

\leadsto

可以使用来居中,\hspace{-1.0cm}但它似乎可以位于最左边或最右边,但不位于中心。

希望有人能够阐明这个非常特殊的问题。

我正在使用 fancy 和 document class 书籍。谢谢

后来我被要求扩展我的问题:我添加了一个完整的编译代码

% !TEX encoding = UTF-8 Unicode
%!TEX program = xelatex
%You can use xelatex, too
\documentclass[oneside,12pt]{book}


\usepackage{amsfonts,amsmath,amsthm,amssymb}

\usepackage[backref,xetex=true,bookmarks=false,colorlinks=true, pdfstartview=FitV, linkcolor=blue,  citecolor=blue, urlcolor=blue,pdfstartview=FitH]{hyperref}
\usepackage{color}
\usepackage{fancyhdr}
\usepackage[absolute,overlay]{textpos}
\usepackage{float}
\usepackage{caption}
\usepackage{rotating}
\pagestyle{fancy}
\begin{document}
\begin{table}[H]
    \caption*{Example}
    \begin{minipage}{.5\linewidth}
    \caption{some text here.}
    \centering
\begin{tabular}{lll}
                       &         \begin{turn}{90}{{0}}  \end{turn}          &  \begin{turn}{90}{{18}}  \end{turn}                    \\ \cline{2-3} 
\multicolumn{1}{l|}{ {{1}}} & \multicolumn{1}{l|}{{{0}} \phantom{\hspace{-1cm}\begin{turn}{45}{{0}}  \end{turn}} } & \multicolumn{1}{l|}{{{18}}} \\ \cline{2-3} 
\multicolumn{1}{l|}{ {{0}}} & \multicolumn{1}{l|}{{{0}}} & \multicolumn{1}{l|}{{{0}}  \phantom{\hspace{-1cm}\begin{turn}{45}{{0}}  \end{turn}}   } \\ \cline{2-3} 
\end{tabular}
    \end{minipage}%
            \begin{minipage}[3cm]{.1\linewidth}
\vspace{2cm}
\hspace{-1.0cm}{\resizebox{3cm}{!}{$\leadsto$}}
    \end{minipage}%
        \begin{minipage}{.4\linewidth}
            \caption{ some other text here}
    \centering
\begin{tabular}{lll}
                       &         \begin{turn}{90}{{0}}  \end{turn}          &  \begin{turn}{90}{{18}}  \end{turn}                    \\ \cline{2-3} 
\multicolumn{1}{l|}{ {{1}}} & \multicolumn{1}{l|}{ {\color{red}\begin{turn}{45}{{0}}  \end{turn}}  } & \multicolumn{1}{l|}{} \\ \cline{2-3} 
\multicolumn{1}{l|}{ {{0}}} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{ {\color{red}  \begin{turn}{45}{{0}}  \end{turn} }} \\ \cline{2-3} 
\end{tabular}
\begin{textblock*}{5cm}(13.25cm,9.0cm){ {\color{red} \begin{turn}{45}{{18}}  \end{turn}}  }\end{textblock*}
    \end{minipage}%
\end{table}
\end{document}

现在, \usepackage{rotating} 适用于

\begin{turn}

谢谢

相关内容