因此,我正在使用\hline
为\section{}
的标题创建一些下划线,但出现错误
Misplaced \noalign. You have used a \hline command in the wrong place, probably outside a table. If the \hline command is written inside a table, try including \\ before it. \hline ->\noalign {\ifnum 0=`}\fi \hrule \@height \arrayrulewidth \futurelet... l.15 \hline I expect to see \noalign only after the \cr of an alignment. Proceed, and I'll ignore this case.
\documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[dvipsnames]{xcolor} \setlength{\emergencystretch}{10pt} \title{Law and Society Notes} \author{Jack Dwyer } \date{} \begin{document} \maketitle \section{January 31} \hline \begin{itemize} \item[] \hline \item Types of law \begin{itemize} \item Oral Nomoi \item Thesmoi \item Written Nomoi \item Psephismata \end{itemize}{} \item Distinctions not drawn between criminal and civil cases or judicial, legislative, or administrative cases \item Types of cases \begin{itemize} \item Dikē(Public) \item Graphē(semi-public) \end{itemize}{} \item Sycophant – suck up \item Righteous Indignation \end{itemize}{}
所以我使用\ hline为\ section {}的标题创建了一些下划线,但出现了错误的\ noalign错误。您在错误的地方使用了\ hline命令,可能在...
\hline
用于表格内部。您可以使用\hrulefill
,或者最好不要手动在该部分下划线,而是适当地设置其格式,例如https://tex.stackexchange.com/a/453372