我在单词之间的空格上方插入一个单词,并在同一个空格下方插入一个符号(以模仿老师的纠正)。我使用pdflatex并适应 这个答案:
\documentclass[11pt]{article}
\usepackage[absolute]{textpos}
\usepackage{stackengine}
%\onehalfspacing
\newcommand\labelit[2]{\stackengine{.55\baselineskip}{#1}
{\scriptsize\sffamily#2}{O}{c}{F}{F}{L}}
\newcommand\labeldown[2]{\stackengine{-.45\baselineskip}{#1}
{\scriptsize\sffamily#2}{O}{c}{F}{F}{L}}
\begin{document}
Film \labelit{magic}{\quad\quad\textit{never}}\labeldown{}{$\land $} lost in translation.
\end{document}
答案1
像这样吗?
\documentclass{article}
\usepackage{setspace}
\newcommand{\corr}[1]{%
\makebox[0pt]{%
\renewcommand{\arraystretch}{0.8}%
\scriptsize
\raisebox{0.35\depth}{%
\begin{tabular}{@{}c@{}}
\itshape\sffamily #1 \\[0.75ex]
$\land$
\end{tabular}}%
}%
}
\onehalfspacing
\begin{document}
A line above the one with the correction.
Film magic \corr{never} lost in translation.
A line below the one with the correction.
\end{document}