以下错误是什么意思?我该如何修复?我使用www.sharelatex.com. 我的文件主文本 有 100 行。
\documentclass[10pt,a6paper]{book}
\usepackage[utf8]{inputenc}
\usepackage[main=slovak,english]{babel}
\usepackage[cm]{fullpage}
\usepackage[a6paper, top=15mm, left=10mm, right=10mm, bottom=10mm,foot=5mm,marginparsep=0mm]{geometry}
%showframe
\usepackage{tipa}
\usepackage{tabularx,booktabs} %\toprule
\usepackage{listings}
\usepackage{multirow}
\usepackage{longtable}
%\usepackage{lscape}
\usepackage{wasysym} % symbols
\usepackage{amssymb} % symbols
%\usepackage{pdflscape}
%\usepackage{lscape}
\usepackage{hyperref}
\usepackage{marvosym}
\usepackage{framed}
\usepackage{wasysym}
\usepackage{pdflscape}
\usepackage{graphicx}
%\usepackage{amsmath}
\usepackage{color}
\usepackage{tabularx,booktabs}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{adjustbox}
\usepackage{mathtools}
\usepackage{array,multirow,graphicx}
\newcommand*{\knihaB}{\fontfamily{bch}\selectfont}
\newcommand*{\knihaA}{\fontfamily{phv}\selectfont}
\newcommand*{\knihaC}{\fontfamily{ccr}\selectfont}
\newcommand*{\knihaM}{\fontfamily{cmr}\selectfont}
\newcommand*{\knihaEa}{\fontfamily{qag}\selectfont}
\newcommand*{\knihaEb}{\fontfamily{phv}\selectfont}
\newcommand*{\knihacc}{\fontfamily{pag}\selectfont}
\newcommand*{\knihaaa}{\fontfamily{ccr}\selectfont}
\newcommand*{\knihabb}{\fontfamily{ccr}\selectfont}
%\usepackage{mathtools}
\renewcommand{\thesection}{\arabic{section}}
\begin{document}
\catcode`\-=12
\sloppy
%\clearpage
%\setcounter{secnumdepth}{0}
%\setcounter{page}{1}
%\tableofcontents
%\thispagestyle{empty}
{\large
%\input{alphb.txt}
%\input{pronouns.txt}
%\input{tobe.txt}
%\input{havegot.txt}
%\input{can.txt}
%\input{towas.txt}
%\input{could.txt}
%\input{had.txt}
%\input{wouldlike.txt}
%\input{casy.txt}
%\input{inqs.txt}
%\input{should.txt}
%\input{usedto.txt}
%\input{haveto.txt}
%\input{predl1.txt}
%\input{ukaz.txt}
%\input{clen.txt}
%\input{podm.txt}
%\input{ponep.txt}
%\input{mnozs.txt}
%\input{nep_1.txt}
%\input{privlast.txt}
%\input{pridm.txt}
%\input{wh_q.txt}
%\input{nz.txt}
%\input{zast_zam.txt}
%\input{deter.txt}
%\input{spoj.txt}
%\input{numbers.txt}
%\input{adverbs.txt}
%\input{theris.txt}
%\input{slovosled.txt}
%\input{rozkaz.txt}
%\input{week.txt}
}
\end{document}
感谢帮助。
答案1
该包还定义了多个积分符号。如果您想使用该版本,或者如果您更喜欢该版本,wasysym
则可以使用选项加载它。[nointegrals]
amsmath
[integrals]
wasysym
amsmath
我借此机会清理了你的前言:许多软件包被加载了好几次。另外,如果你加载了,你不必再加载,mathtools
因为后者会帮你加载。
由于您的主要语言有重音字母,因此您必须添加\usepackage[T1]{fontenc}
以确保正确连字符。
最后的评论:最好加载xcolor
而不是color
,因为它可以做更多的事情,[table]
如果您打算在表格中使用颜色,则可以选择,并且hyperref
应该将其作为最后一个包加载,只有极少数例外(最值得注意的是cleveref
)。
\documentclass[10pt,a6paper]{book}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[main=slovak,english]{babel}
\usepackage[cm]{fullpage}
\usepackage[a6paper, top=15mm, left=10mm, right=10mm, bottom=10mm,foot=5mm,marginparsep=0mm]{geometry}
%showframe
\usepackage{tipa}
\usepackage{tabularx,booktabs} %\toprule
\usepackage{listings}
\usepackage{longtable}
\usepackage{amssymb} % symbols
\usepackage[nointegrals]{wasysym} % symbols
%\usepackage{pdflscape}
%\usepackage{lscape}
\usepackage{marvosym}
\usepackage{framed}
\usepackage{pdflscape}
\usepackage[table]{xcolor}
\usepackage{rotating}
\usepackage{adjustbox}
\usepackage{mathtools}
\usepackage{array,multirow,graphicx}
\usepackage{hyperref}
\newcommand*{\knihaB}{\fontfamily{bch}\selectfont}
\newcommand*{\knihaA}{\fontfamily{phv}\selectfont}
\newcommand*{\knihaC}{\fontfamily{ccr}\selectfont}
\newcommand*{\knihaM}{\fontfamily{cmr}\selectfont}
\newcommand*{\knihaEa}{\fontfamily{qag}\selectfont}
\newcommand*{\knihaEb}{\fontfamily{phv}\selectfont}
\newcommand*{\knihacc}{\fontfamily{pag}\selectfont}
\newcommand*{\knihaaa}{\fontfamily{ccr}\selectfont}
\newcommand*{\knihabb}{\fontfamily{ccr}\selectfont}
%\usepackage{mathtools}
\renewcommand{\thesection}{\arabic{section}}
\begin{document}