Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么去掉version #39

Closed
over-shine opened this issue Jun 28, 2020 · 4 comments
Closed

怎么去掉version #39

over-shine opened this issue Jun 28, 2020 · 4 comments

Comments

@over-shine
Copy link

删除\version还是有version

@sikouhjw
Copy link

\documentclass{elegantpaper}
\title{test}
\author{test}
\institute{test}
\version{0.09}

\makeatletter
\renewcommand\@maketitle{%
  \newpage
  \null
  \vskip 2em%
  \begin{center}%
  \let \footnote \thanks
    {\LARGE\bfseries \@title \par}%
    \vskip 1.5em%
    {\large
      \lineskip .5em%
      \begin{tabular}[t]{c}%
        \@author\\[1ex]
      \end{tabular}\par}
      \the\institute%
\vskip 0.5ex%
\ifx\@date\empty
\else
\vskip 0.1em%
 {\small\normalfont\citshape\updatetext\@date}%
\fi
  \end{center}%
  \par
}
\makeatother

\begin{document}
\maketitle
\end{document}

@over-shine
Copy link
Author

编译报错

@sikouhjw
Copy link

sikouhjw commented Jun 28, 2020

你去看病的时候就只跟医生说你病了?看看如何提问ElegantLaTeX/ElegantBook#100 (comment),节约时间

@EthanDeng
Copy link
Member

盲猜一手版本问题。

\documentclass{elegantpaper}
\title{ElegantPaper Test}
\author{Elegant\LaTeX{}}
\date{}
\usepackage{lipsum}

\begin{document}
\maketitle

\lipsum[1]

\end{document}

QQ截图20200628184954

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants