命令 \@parboxrestore 已更改

命令 \@parboxrestore 已更改

我正在做一个大学项目,具体来说,我们在 Overleaf 中使用了另一个模板。所以我对 LaTeX 或 Overleaf 了解不多。出现了一个错误:

/usr/local/texlive/2019/texmf-dist/tex/latex/lineno/lineno.sty 命令 @parboxrestore 已更改。

我读了关于这个问题的帖子,他们说要\usepackage{csquotes}在使用包之前放置lineno。现在的问题是没有像\usepackage{csquotes}中的行main.tex

这些套餐包括:

\documentclass[12pt, a4paper, oneside]{Thesis} % Paper size, default font size and one-sided paper
\usepackage{wrapfig}
\usepackage{lscape}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{amsmath}
\usepackage{graphics}  
 
 
 
\usepackage{tikz}
\usetikzlibrary{shapes.geometric, arrows}
\tikzstyle{startstop} = [rectangle, rounded corners, minimum width=3cm, minimum height=2cm,text centered, draw=black, fill=red!30]

\tikzstyle{io} = [trapezium, trapezium left angle=70, trapezium right angle=110, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=blue!30]











\tikzstyle{process} = [rectangle, minimum width=5cm, minimum height=2cm, text centered, draw=black, fill=orange!30]

\tikzstyle{decision} = [diamond, minimum width=5cm, minimum height=2cm, text centered, draw=black, fill=green!30]

\tikzstyle{arrow} = [thick,->,>=stealth]

\usepackage{lineno,hyperref}
\usepackage{csquotes}
\modulolinenumbers[5]

\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{array}
\usepackage{float}
\usepackage{placeins}
\usepackage{stackengine}
\usepackage{url}
\usepackage{numprint}
\usepackage{caption}

\usepackage{booktabs}  
\usepackage{siunitx}
%\usepackage[showframe=false]{geometry}
\usepackage{subfigure}



\usepackage[utf8]{inputenc}
\usepackage{amssymb}


\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{algorithm}
\usepackage[noend]{algpseudocode}





\nprounddigits{3}
\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
\newcolumntype{M}[1]{>{\centering\arraybackslash}m{#1}}

\setstackEOL{\#}
\setstackgap{L}{12pt}


%\usepackage{subcaption} %incompatible with subfig
\graphicspath{{Pictures/}} % Specifies the directory where pictures are stored
\usepackage{natbib} % Use the natbib reference package - read up on this to edit the reference style; if you want text (e.g. Smith et al., 2012) for the in-text references (instead of numbers), remove 'numbers' v

我该如何解决这个问题?

答案1

我放了\usepackage[pagewise]{lineno} \usepackage{csquotes}错误信息消失了,这与 OP 查看的参考资料所建议的完全相反。

相关内容