ElegantBook icon indicating copy to clipboard operation
ElegantBook copied to clipboard

Elegant LaTeX Template for Books

Results 54 ElegantBook issues
Sort by recently updated
recently updated
newest added

能不能加个选择,如果没有cover/logo,那个位置就显示空白,而不是像现在那样留个空白图片。 建议把example-picture 去掉。另外给include_graphics{\@cover}加个保护。原因是,有时候用户会定义全局的图片大小: ```latex \setkeys{Gin}{width=\maxwidth,height=\maxheight, keepaspectratio} ``` 由于`keepaspectratio`的作用,如果图片的height比较小,`\includegraphics[width=\linewidth]{\@cover}` 就起不到应有的效果。 可以考虑下面的修改。 ``` \ifdefstring{\ELEGANT@device}{normal}{ \ifcsname @cover\endcsname \begingroup \setkeys{Gin}{width =\linewidth} \includegraphics{\@cover} \endgroup \fi }{\relax} ```

在系统已经有 adobe 中文字体的情况下,在 elegantbook 文类中设置 chinesefont=adobe 会报错,在 ctex 文类中设置 fontset=adobe 不会报错,前者对 ctex 文类的 fontset 选项做了一些阉割,代码见 https://github.com/ElegantLaTeX/ElegantBook/blob/6ab10beda81252f0b478e05fa926199301347e4a/elegantbook.cls#L127-L151 不兼容的意思是指是否可以直接传递 fontset 选项给 elegantbook,让中文字体的设置问题由 ctex 去解决,用户也少了很多配置的不便,比如配置 adobe 字体,ctex 已经设置好了,但是在 elegantbook 里需要类似如下的定义 https://github.com/ElegantLaTeX/ElegantBook/blob/6ab10beda81252f0b478e05fa926199301347e4a/elegantbook-cn.tex#L697-L707 毕竟 ctex...

现在中文环境下的定理样式是这样的: ![image](https://user-images.githubusercontent.com/60381489/75508732-13735400-5a20-11ea-8c7b-e090f9deafe2.png) 如图中圈起来的地方所示,定理类环境是没有缩进的。 但是现在常见的中文书籍中的“定理”,“证明”这种字眼,一般和正常的段落一样,是缩进两格的: ![image](https://user-images.githubusercontent.com/60381489/75508830-60efc100-5a20-11ea-87ad-97a664cc0056.png) 而西文书籍中经常用的是不缩进的样式: ![image](https://user-images.githubusercontent.com/60381489/75508940-c2179480-5a20-11ea-8fb6-61abb8305fb4.png) 只是一个小建议,希望作者能够改进一下这个缩进问题。谢谢!

I am trying to adapt the ElegantBook template for my book, which requires different text width and height, font size and also requires crop marks (width=6.14in, height=9.30in). I am not...

建议加入算法伪代码的功能

@sikouhjw 提供的用于测试参考文献的代码,需要放在一个新建的文件夹里(保证文件夹内没有 `reference.bib` 文件)。 ```tex \documentclass[lang=cn]{elegantbook} \begin{filecontents*}{reference.bib} @book{test1, author = {陈登原}, title = {国史旧闻}, volume = {1}, address = {北京}, publisher = {中华书局}, year = {2000}, pages = {29}, }...

计划用elegant book模板写一本习题集,主要包括多项选择题. 如何能方便调用exam document class的命令?比如调用choices环境来设置多项选择题的答案. 谢谢!

Hi, First of all, congratulations on this amazing job! I'd like to inquire whether you would be open to accepting a pull request for a Brazilian Portuguese (pt-br) template. If...

![image](https://github.com/ElegantLaTeX/ElegantBook/assets/48370676/7ea272ab-1695-46ba-b631-2bc74801f8d8)

Hi, I hope you would like to add an Esperanto translation. Maybe I will send also a Swahili translation. `\ifdefstring{\ELEGANT@lang}{eo}{ \newcommand\figref[1]{\textbf{Figuro}~\ref{#1}} \newcommand\tabref[1]{\textbf{Tablo}~\ref{#1}} \renewcommand{\chaptername}{\^{C}apitro} \renewcommand{\partname}{\color{structurecolor} Parto} \newcommand{\authorname}{\textbf{A\u{u}toro: }} \newcommand{\institutename}{\textbf{Instituto: }} \newcommand{\datename}{\textbf{Dato:...