我有一段关于问答的小段落,我希望它能够正确论证。如何做到这一点
\documentclass[12pt,a4paper]{article}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{epstopdf}
\usepackage{xcolor}
\begin{document}
\textcolor{red}{\textbf{\scshape{Comment-7:}} Page 3, equation 1: $k_{t,j}y(\zeta_{1,j})\delta(x-\zeta_{1,j}) $and similar terms should be modified to $k_{t,j}y(x,t)\delta(x-\zeta_{1,j})$.}\\
\textcolor{blue}{\textbf{\scshape {Response-7:}}} $\textcolor{red}{k_{t,j}y(\zeta_{1,j})\delta(x-\zeta_{1,j})}$ has been changed to $\textcolor{blue}{k_{t,j}y(x,t)\delta(x-\zeta_{t,j})}$, $\textcolor{red}{k_{r,j}y'(\zeta_{3,j})\delta'(x-\zeta_{3,j})}$ to $\textcolor{blue}{k_{r,j}y'(x,t)\delta'(x-\zeta_{r,j})}$ and $\textcolor{red}{m_{j}y(\zeta_{2,j})\delta(x-\zeta_{2,j})}$ to $\textcolor{blue}{m_{j}y(x,t)\delta(x-\zeta_{m,j})}$. Please see Equation (1) on page 7 of the revised manuscript. \\
\end{document}
答案1
\\
切勿在段落末尾 使用(这会产生 10000 条不良警告),因为数学中的注释空格会被忽略,因此您...$ and ...
不希望... $and ...
您可以使用\sloppy
来调整此文本以允许额外拉伸空间,但我认为对于此类文本,最好使用\raggedright
\documentclass[12pt,a4paper]{article}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage{xcolor}
\begin{document}
\raggedright
\textcolor{red}{\textbf{\scshape{Comment-7:}} Page 3, equation 1: $k_{t,j}y(\zeta_{1,j})\delta(x-\zeta_{1,j})$ and similar terms should be modified to $k_{t,j}y(x,t)\delta(x-\zeta_{1,j})$.}
\textcolor{blue}{\textbf{\scshape {Response-7:}}} $\textcolor{red}{k_{t,j}y(\zeta_{1,j})\delta(x-\zeta_{1,j})}$ has been changed to $\textcolor{blue}{k_{t,j}y(x,t)\delta(x-\zeta_{t,j})}$, $\textcolor{red}{k_{r,j}y'(\zeta_{3,j})\delta'(x-\zeta_{3,j})}$ to $\textcolor{blue}{k_{r,j}y'(x,t)\delta'(x-\zeta_{r,j})}$ and $\textcolor{red}{m_{j}y(\zeta_{2,j})\delta(x-\zeta_{2,j})}$ to $\textcolor{blue}{m_{j}y(x,t)\delta(x-\zeta_{m,j})}$. Please see Equation (1) on page 7 of the revised manuscript.
\end{document}
如果你只是改变 \raggedright to
\sloppy`,你会收到一些关于错误换行符的警告,并且