Latex 未使用乳胶渲染标题

Latex 未使用乳胶渲染标题,latex,Latex,因此,我有以下文件: \include{preamble} \title{test title} \begin{document} \maketitle \begin{equation*} \begin{aligned} \pi\sqrt{\pi\sqrt{\pi\sqrt{\pi\sqrt{\pi\sqrt{\pi\dots}}}}} \end{aligned} \end{equation*} \bibliographystyle{

因此,我有以下文件:

\include{preamble}


\title{test title}

\begin{document}


\maketitle



\begin{equation*}
    \begin{aligned}
       \pi\sqrt{\pi\sqrt{\pi\sqrt{\pi\sqrt{\pi\sqrt{\pi\dots}}}}}
    \end{aligned}
\end{equation*}
    



\bibliographystyle{plain}
\bibliography{references}
\end{document}
my Premission.tex文件的内容是:

%%%%% Document Setup %%%%%%%%

\documentclass[10pt,onecolumn]{revtex4}    % Font size (10,11 or 12pt) and column number (one or two).


\usepackage{times}                          % Times New Roman font type
  
\usepackage[a4paper, left=1.85cm, right=1.85cm,top=1.85cm, bottom=1.85cm]{geometry}       % Defines paper size and margin length

\usepackage[font=small, labelfont=bf]{caption}                      % Defines caption font size as 9pt and caption title bolded


\usepackage{graphics,graphicx,epsfig,ulem}  % Makes sure all graphics works 
\usepackage{amsmath}            % Adds mathematical features for equations

\usepackage{etoolbox}                       % Customise date to preferred format
\usepackage{subcaption}
\usepackage{caption}
\makeatletter
\patchcmd{\frontmatter@RRAP@format}{(}{}{}{}
\patchcmd{\frontmatter@RRAP@format}{)}{}{}{}
\renewcommand\Dated@name{}
\makeatother

\usepackage{fancyhdr}

\def\bibsection{\section*{References}}        % Position reference section correctly
    





\usepackage{import}
\usepackage{pdfpages}
\usepackage{transparent}       
\usepackage{xcolor}
  
  
\newcommand{\incfig}[2][1]{%
    \def\svgwidth{#1\columnwidth}   
    \import{./figures/}{#2.pdf_tex} 
}

\pdfsuppresswarningpagegroup=1

由于某些原因,当我编译代码时,标题不会包含在pdf中,我确信\title{}和\maketitle的位置正确。如果您能提供任何帮助,我们将不胜感激。

请将标题移到
\begin{document}
之后:

\documentclass{revtex4}   

\begin{document}

\title{test title}
\maketitle

\end{document}


(不要对其他DocumentClass执行此操作。大多数情况下,最好在序言中包含
\title
,例如,如果与hyperref结合使用,则可以获得合理的pdf元数据)

与您的问题无关,但
times
包已过时。相反,请查看
mathptmx
helvet
(选项比例=0.9)或
courier
软件包如果您已经加载
graphicx
,则不需要
graphics
也不需要多次加载同一软件包