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

ElegantLaTeX 相关模板提问示例 #105

Closed
EthanDeng opened this issue Jul 1, 2020 · 3 comments
Closed

ElegantLaTeX 相关模板提问示例 #105

EthanDeng opened this issue Jul 1, 2020 · 3 comments

Comments

@EthanDeng
Copy link
Member

EthanDeng commented Jul 1, 2020

关于 ElegantLaTeX 模板的提问大体上分为三类:

  1. 编译出错;
  2. 功能实现;
  3. 其他问题。

我之前一直犹豫要不要提问模板,最大的考虑就是,太麻烦了。但是无规矩不成方圆,长此以往,不方便交流,在 @sikouhjw 的强烈建议和帮助下,今后在 GitHub 上以及 QQ 群,请大家尽量按照下面的提问模板/示例来提供信息,谢谢!

Originally posted by @sikouhjw in #100 (comment)

@EthanDeng
Copy link
Member Author

EthanDeng commented Jul 1, 2020

类型 I:编译报错

示例:我在 win10(mac/linux)上用 TeX Live 2020(MikTeX)编译 ElegantBook 3.11(ElegantNote 2.30/ElegantPaper 0.09)版本时,出现报错,编译方式为 XeLaTeX(pdfLaTeX),这是我的最小工作代码(MWE):

\documentclass{elegantbook}
\begin{document}
  \latex
\end{document}

报错为

./1.tex:3: Undefined control sequence.
l.3   \latex

备注

  1. MWE 也即能复现你的错误的最短代码(尽量删减吧);
  2. 如果问题较为复杂,最好附上 log 文件;
  3. 如果包含图片,请务必把图片也带上;
  4. 如果不是单文件上传,请压缩为之后上传;
  5. 上传的方法:点击回复框左下角 Attach files by dragging & dropping, selecting or pasting them 处即可上传。

@EthanDeng
Copy link
Member Author

EthanDeng commented Jul 1, 2020

类型 II:功能请求/需求实现

我在使用 ElegantBook,我想改其中的一些设置:

  • \cover\logo 设置缺省值
  • 添加一个环境

这是我想要的效果图


我的代码实现是这样的:

blahblah...

具体参考 #74

备注

  1. 最好你能给出实现的方法。

@EthanDeng
Copy link
Member Author

EthanDeng commented Jul 1, 2020

类型 III:其他问题

我在使用 ElegantBook,我打算用它来写一本书,但我不知道怎么将正文分成多个子文件插入到主文件中,请问怎么办?

@EthanDeng EthanDeng changed the title ElegantLaTeX 提问模板 ElegantLaTeX 相关模板提问模板 Jul 1, 2020
@EthanDeng EthanDeng changed the title ElegantLaTeX 相关模板提问模板 ElegantLaTeX 相关模板提问示例 Jul 1, 2020
@EthanDeng EthanDeng pinned this issue Jul 1, 2020
@ElegantLaTeX ElegantLaTeX deleted a comment from BairuChen2019 Sep 2, 2020
@ElegantLaTeX ElegantLaTeX deleted a comment from sikouhjw Sep 2, 2020
@ElegantLaTeX ElegantLaTeX locked as resolved and limited conversation to collaborators Sep 2, 2020
@EthanDeng EthanDeng unpinned this issue Dec 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant