如何控制 Wrapfig 环境的垂直范围?

如何控制 Wrapfig 环境的垂直范围?

Wrapfigure 环境应该只影响文档的顶部。但它仍然影响第一组表格之后的文本。我尝试了 \height、负 \vspace 和 \linewidth 变量。不幸的是,“提示”文本仍然只有 0.7\linewidth。我该如何将其设置为 100%?我对 Latex 还不熟悉,正在尝试将我的 InDesign 课堂材料转换为新格式。

\documentclass[12pt,b5paper]{article}

\usepackage[top=1cm,bottom=1cm,left=2cm,right=2cm]{geometry}
\setlength{\parindent}{0em}
\usepackage{wrapfig}
\usepackage{graphicx}
\usepackage[thinlines]{easytable}
\usepackage[default]{cantarell} 
\usepackage[T1]{fontenc}

\begin{document}
\pagestyle{empty}
    
\begin{wrapfigure}{r}{0.3\linewidth}\vspace{-80pt}
    \centering
    \includegraphics[height=150pt]{ladder}
\end{wrapfigure}
    
\begin{center}
    \Huge{\textbf{Word Ladders}}\\
    \vspace*{8mm}
    \normalsize
\begin{minipage}{0.8\textwidth}
Change one letter from each word to go from the top word to the bottom word.
\vspace*{3mm}
\end{minipage}
\end{center}
    
Here is an example. Go from \textbf{poor} to \textbf{rich} in six steps. The changed letter is \underline{underlined}.
\vspace*{5mm}   

\large
\begin{TAB}(e,1cm,1cm){|c:c:c:c|}{|c:c:c:c:c:c:c|}
\textbf{P} & \textbf{O} & \textbf{O} & \textbf{R} \\
\normalsize \textit{b}  & \textit{o}    &  \textit{o} &  \textit{\underline{r}}\\
\normalsize \textit{b}  & \textit{o}    &  \textit{o} &  \textit{\underline{k}}\\
\normalsize \textit{\underline{r}}  & \textit{o}    &  \textit{o} &  \textit{k}\\ 
\normalsize \textit{r}  & \textit{o}    &  \textit{\underline{c}} &  \textit{k}\\
\normalsize \textit{r}  & \textit{\underline{i}}    &  \textit{c} &  \textit{k}\\
\textbf{\underline{R}} & \textbf{I} & \textbf{C} & \textbf{H}
\end{TAB}
%
\hspace*{5mm}
\large
\begin{TAB}(@,9cm,1cm){l}{|c:c:c:c:c:c:c|}
    \textbf{Start}\\
    \textbf{1} \hspace{3mm}\emph{a boring person}\\%boor
    \textbf{2} \hspace{3mm}\emph{something to read}\\%book
    \textbf{3} \hspace{3mm}\emph{a chess piece}\\%rook
    \textbf{4} \hspace{3mm}\emph{a hard stone}\\%rock
    \textbf{5} \hspace{3mm}\emph{a man's name}\\%rick
    \textbf{6 \hspace{3mm}Finish}\\
\end{TAB}

\vspace*{3mm}
\normalsize \textbf{\textsc{Hint}} If you do not know a word, try a word further down the puzzle. Often, you can work out which letter to change. 
    
    \vspace*{5mm}
    \Large{\textbf{You Try}}\\\normalsize
    Go from \textbf{note} to \textbf{tune} in six steps.
    \vspace*{5mm}       

\large
\begin{TAB}(e,1cm,1cm){|c:c:c:c|}{|c:c:c:c:c:c:c|}
    \textbf{N} & \textbf{O} & \textbf{T} & \textbf{E} \\
    &   &   &  \\
    &   &   &  \\
    &   &   &  \\ 
    &   &   &  \\   
    &   &   &  \\
    \textbf{T} & \textbf{U} & \textbf{N} & \textbf{E}
\end{TAB}
%
\hspace*{5mm}
\large
\begin{TAB}(@,9cm,1cm){l}{|c:c:c:c:c:c:c|}
    \textbf{Start}\\
    \textbf{1} \hspace{3mm}\emph{zero things}\\%none
    \textbf{2} \hspace{3mm}\emph{ice-cream}\\%cone
    \textbf{3} \hspace{3mm}\emph{the centre of something}\\%core
    \textbf{4} \hspace{3mm}\emph{make someone healthy}\\%cure
    \textbf{5} \hspace{3mm}\emph{a square object}\\%cube
    \textbf{6} \hspace{3mm}\textbf{Finish}\\
\end{TAB}

\end{document}

相关内容