Coder Social home page Coder Social logo

elegantpaper's Introduction

ElegantPaper

Homepage | Github | CTAN | Download | Wiki | Weibo

License CTAN Version Github Version Repo Size

Caution: This template will no longer be maintained since January 1st, 2023.

注意:本模板自 2023 年 1 月 1 日开始,不再维护,不建议使用本系列模板!

ElegantPaper is designed for writing a working paper, especially for economics students. This template is based on the standard LaTeX article class. The goal of this template is to make the writing process easier and more comfortable. You can get rid of all the worries about the format. Just enjoy it! If you have any questions, suggestions or bug reports, you can create issues or email us at [email protected].

此模板基于 LaTeX 的 article 类,专为工作论文写作而设计。设计这个模板的初衷是让作者不用关心工作论文的格式,专心写作,从而有更加舒适,简便的写作体验。如果你有其他问题、建议或者报告 bug,可以提交 issues 或者给我们发邮件:[email protected]。用户 QQ 交流群(Q 群:692108391),欢迎加入。

The official user guide is here, or you can refer to the wiki.

模板使用说明请参见模板文档,或者 wiki

License

This work is released under the LaTeX Project Public License, v1.3c or later.

本模板发布遵循 LaTeX 项目公共许可证 1.3c 或更高版本。

elegantpaper's People

Contributors

ethandeng avatar syvshc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

elegantpaper's Issues

\figref 和 \tabref 的表述有问题

\item \lstinline{\figref}:用法和 \lstinline{\ref} 类似,但是会在插图的标题前添加 <\textbf{图 n}> ;
\item \lstinline{\tabref}:用法和 \lstinline{\ref} 类似,但是会在表格的标题前添加 <\textbf{表 n}>;

应改成

\lstinline{\figref}:用法和 \lstinline{\ref} 类似,但是会在引用前添加“图”; 

errors

! Undefined control sequence.
\ifXeTeX
\ifdefstring {\ELEGANT@chinesefont }{founder}{ \Require...
l.132 \setlength\parindent{2\ccwd}}}{\relax}

?

reference不显示的问题

没有太多的提示。但是一点都没有改,从master分支直接下载的文件,elegantpaper-cn.tex编译之后就是不出reference。不知道为什么。

Font issues in overleaf

Many thanks for your elegant template :)

However, there are three warnings in the overleaf as soon as I opened the template. Could you help to solve the warning of the template?

Version: Chinese
Compiler Version: XeLatex 2019

Font "FandolSong-Regular" does not contain requested Script "CJK".
Font "FandolKai-Regular" does not contain requested Script "CJK".
Font "FandolHei-Regular" does not contain requested Script "CJK".

怎样让参考文献里的作者名字不要变成全部大写

我编译后一个参考文献格式如下

[1] BORDES A, USUNIER N, GARCIA-DURAN A, et al. Translating embeddings for modeling multi-relational data[C]//Advances in neural information processing systems. [S.l.: s.n.], 2013: 2787-2795.

作者的名字变成了全部大写的形式,请问怎样让参考文献里的作者名字只有首字母大写呢

位置不够导致图片出现在下一页

正如展示的最终图,图1出现在了第三页(本应紧接着1.4节)
有什么比较便捷的方式让这张图自适应大小并紧接着原来的位置展示?

请问如何添加中英文摘要

你好,这个模板非常有帮助,不过我需要在论文里同时添加中英文摘要,请问应该怎么设置?谢谢!

ecolor没有定义

由于elegantpaper去除了elegantnote类中的green等颜色选项, 使得proof环境出错, 因为其引用了ecolor。 再有proofname没有与语言选项关联。

标题字体和中文逗号发生改变

基本信息

  • 系统:Mac
  • 发行版:MacTeX 2020
  • 模板:ElegantPaper 0.09
  • 编辑器:VSCode
  • 编译方式:XeLaTeX

MWE

\documentclass[lang=cn]{elegantpaper}

\title{标题字体}
\author{}
\date{\today}

\begin{document}

\maketitle

\begin{abstract}
逗号,逗号
\keywords{逗号,逗号}
\end{abstract}

\section{字体}
逗号,逗号

\end{document}

问题

  1. 篇名、小标题、“摘要”、“关键词”的字体变为华文中宋
  2. 摘要内容、正文的中文逗号变成不知名字体

Warings

Font "FandolSong-Regular" does not contain requested
(fontspec)	Script "CJK".

Font "FandolKai-Regular" does not contain requested
(fontspec)	Script "CJK".

PDF截图

输出PDF预览

mac使用elegantpaper缺少字体

mac使用最新版mactex,warning中缺少方正字体,自行安装后也无法使用。
且mactex自带的0.8elegantpaper会报如下错误:

LaTeX Error: Option clash for package natbib. [\RequirePackage]

行间公式间距过大

两个相邻的行间公式间距过大

\begin{equation}\label{equ01}
  a^2+b^2=c^2
\end{equation}
\begin{equation}\label{equ01}
  e^{i\pi}+1=0
\end{equation}

Image20200720.png

如何更改模版默认参考文献样式,使用/bibstyle仍有一点问题

使用elegantpaper作为模版,定义好documentclass之后使用 “\bibstyle{unsrt}”指定了 参考文献格式,但是编译后发现文中出现的是[1]格式的引用,但是最后参考文献的排列还是按照作者字母顺序,而不是按照unsrt样式定义的按引用顺序排列,且查看编译的.aux文件发现“\bibstyle{aer}”。

请问怎么样才能覆盖掉模版默认的参考文献样式?

0.09版本elegantpaper-cn无法正常编译

我在编译0.09版本elegantpaper-cn时遇到了以下错误和警告:

Undefined control sequence. \setlength\parindent{2\ccwd}}}{\relax}
Extra \else. \setlength\parindent{2\ccwd}}}{\relax}
Extra \fi. \setlength\parindent{2\ccwd}}}{\relax}
Citation `en3' on page 3 undefined
No file elegantpaper-cn.bbl.
There were undefined citations.

并没有对elegantpaper-cn作任何修改,请问是哪里出bug了吗?

最多加载4页,之后的无法显示。

首先感谢作者!模板很好,准本用来当作我的翻译工作。一开始用的比较好,但是编辑了一段时间之后发现后面的输入内容无法加载。我把您的内容稍微改动了一下。加入了几个命令。例如:
\tableofcontents
\thispagestyle{empty}
\newpage
\cleardoublepage
\setcounter{page}{1}
\clearpage
\input{abstract}
这些,由于section太多。习惯了用这种方式书写。
但是写道第四个section的时候发现后面的都无法显示,目录原本有的内容也变成了一片空白。
这是有什么bug吗?
感谢!

中文参考文献的”等“显示出错,变成”çŋĽ“

中文参考文献的”等“显示出错,变成”çŋĽ“。

在编译过程中没有报错。

但是在编译后仅此出现这一个错误。

.tex文件如下

\documentclass[lang=cn, a4paper, 12pt]{elegantpaper}
\title{test file}
\author{Direct-A}
\date{\today}
\version{0.1}
\begin{document}
\maketitle
test\cite{RN1}

\bibliography{ref}
\end{document}

.bib文件如下

@article{RN1,
   author = {王亦秋 and 顾民 and 龚永光 and 冯明明},
   title = {睾丸去精索神经支配对大鼠性激素的影响},
   journal = {南京医科大学学报(自然科学版)},
   volume = {29},
   number = {03},
   pages = {291-295},
   ISSN = {1007-4368},
   year = {2009},
   type = {Journal Article}
}

TeX环境使用的是MikeTex 2.9

编辑器为 Visual Studio Code 1.41.1 ,使用 LaTeX Workshop 8.7.1 插件。

编译过程为:XeLaTeX => BibTeX => XeLaTeX => XeLaTeX

无法编译,出现error

latex小白,在使用texworks运行中文模板时有如下error
image
image
但是英文版没有问题,请求帮忙看看,感谢

Feature Request: 可以给文档加一个双栏模式吗

\documentclass[twocolumn]{elegantpaper}

虽然article类也有双栏模式,elegantpaper也可以将twocolumn属性正确的传递给article类,但是如果能针对elegantpaper的样式做一些针对性的优化会更加方便。

关于图表的标题问题

(ZOYLTN))J`(S})4E5Y%TV3
如上图,在使用Elegantpaper模板写作时,老师要求图片表格标题不要黑体,我尝试过titlesec宏包和caption宏包,但是都修改失败了。

我在浏览模板的cls文件时在第81行发现如下代码:
\RequirePackage[font=small,labelfont={bf}]{caption}

猜测是labelfont参数对字体的设定,有没有啥方法可以在外部修改标题编号的字体,谢谢~

在公式环境里面出现 \hat 出错

文件 :elegantpaper-cn.tex
情况复现:

\begin{equation}
\hat{a}
\end{equation}

提示:

Package hyperref Warning: Rerun to get /PageLabels entry.

*geometry* driver: auto-detecting
*geometry* detected driver: xetex

Package microtype Warning: One or more slots in the configuration are unknown.
(microtype)                Make sure that no text commands are used.
(microtype)                See the documentation for details (the note
(microtype)                on `xeCJK' in section 9: `Hints and caveats').

(/usr/local/texlive/2018/texmf-dist/tex/latex/newtx/untxmia.fd)
(/usr/local/texlive/2018/texmf-dist/tex/latex/newtx/untxsym.fd)
(/usr/local/texlive/2018/texmf-dist/tex/latex/newtx/untxsyc.fd)
! Internal error: bad native font flag in `map_char_to_glyph'

希望东哥有时间能看看哦

Error: Option clash for package natbib.

/usr/local/texlive/2020/texmf-dist/tex/latex/gbt7714/gbt7714.sty:63: LaTeX Error: Option clash for package natbib.

听说是gbt7714版本更新了导致现在不匹配?请问怎么解决?

paper模板的页码偏右

感谢大佬精心制作的模板。汇报一个paper模板的小bug.
1.页码不居中。之前note模板的同样问题大佬已改正了。不知道book模板是否会有同样bug.
2.paper模板的参考文献能否去掉style设置,因为各类期刊没有统一要求。再改cls文件有点麻烦。可以让用户在文档中自己设置style也好。
感谢大佬的工作

Index Making

Has anyone tried to generate index in this template? I tried but it did not work. My code is shown below.

\documentclass[lang=cn]{elegantpaper}
\usepackage{makeidx}
\makeindex



% title information
\title{A Working Paper Example}
\author{ddswhu} 
\institute{Elegant\LaTeX{} Group}
\version{1.00}
\date{\today}

\begin{document}

\maketitle

\section{勾股定理}
% 第 1 页
勾股定理在西方称为毕达哥拉斯定理(Pythagoras' theorem)。
\index{Pythagoras}
% ...
% 第 2 页
在**常称勾股定理为商高定理。\index{商高}

\printindex
\end{document}

Index can be generated when using \documentclass{ctexart} with the same code.

ElegantPaper-cn编译出错

ElegantPaper-cn编译出错,ElegantPaper-en没有问题,我用的是texlive2019编译,错误如下:

! Undefined control sequence.
<argument>  \ifXeTeX 
                     \ifdefstring {\ELEGANT@chinesefont }{founder}{ \Require...
l.132     \setlength\parindent{2\ccwd}}}{\relax}

noanswer使用选项提示

noanswer 选项隐去 solution 环境时,需要 solution 环境前不能有空格。
正确:

\begin{solution}
  test
\end{solution}

错误

    \begin{solution}
    test
    \end{solution}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.