例子

例子

在我的论文中,我有一页专门用于摘要。我在那里写明了论文的标题、我的名字和摘要。但是,它也标记了日期。因为它标记了实际(今天)的日期,我想知道如何手动更改日期。

我复制了我的乳胶文件的标题:

\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{natbib}
\usepackage{lmodern}
\usepackage{comment}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{setspace}
\usepackage[titletoc]{appendix}
\usepackage{indentfirst}
\usepackage[pdftex]{xcolor,graphicx}
\usepackage{epstopdf} 
\usepackage{pdflscape}
\usepackage{wrapfig}
\usepackage{array}
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\usepackage{color}
\newcommand{\Lagr}{\mathcal{L}}
\usepackage{footnote}
\usepackage{threeparttable}
\usepackage{subfig}
\usepackage{float}
\usepackage[font=small]{caption}
\usepackage{geometry} 
\usepackage{eucal}
\usepackage{hanging}

\geometry{left=1.4in,right=1.0in,top=1.4in,bottom=1.2in}
\onehalfspacing
\begin{document}
\newpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{bla bla bla} 
\author{bla bla bla}
\maketitle
\onehalfspacing
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{abstract}
\noindent In this study, we contribute to ..... \\[10pt]


\end{abstract}
\thispagestyle{empty}
\newpage
\end{document}

答案1

示例代码。正如 Asis 在评论中所说,您只需添加命令即可\date{}

例子

\documentclass[12pt]{article}
\usepackage{fontspec}
\begin{document}


\title{Test}
\author{Joe Schmoe}
\date{March 1, 2015} % \today = date from system clock
\maketitle
\thispagestyle{empty}


\end{document}

同样有用的是datetime2包裹。您可以使用它自定义日期。根据您的写作,我猜您会说德语,所以我想以下内容可能会有所帮助(即使我错了,我认为这对你有帮助的可能性仍然很高:)

\usepackage[ddmmyyyy,yearmonthsep=.,monthdaysep=.,dayyearsep=.]{datetime2}
\usepackage[yearmonthsep=/,monthdaysep=/,dayyearsep=/]{datetime2}

或者datetime包裹

\usepackage[ddmmyyyy]{datetime}
\renewcommand\dateseparator{.}

我从小就按照 mm/dd/yyyy 的格式长大,但就连我也觉得以月份来开始有点可笑。以下是采用 dd.mm.yyyy 格式的国家/地区列表

% Countries using the dd.mm.yyyy variant:
Armenia
Azerbaijan
Basque Country
Belarus
Bulgaria
Estonia
Finland
Georgia
Germany
Greenland
Iceland
Kazakhstan
Kyrgyzstan
Latvia
Liechtenstein
Macedonia
Montenegro
Norway
Poland
Romania
Russia
Serbia
Slovakia
Slovenia
Switzerland
Turkey
Turkmenistan
Ukraine
Uzbekistan

% Countries also using the ddmmyyyy order:
Same Order, diff format:
Nepal
Netherlands
Portugal
Spain
United Kingdom

相关内容