GithubHelp home page GithubHelp logo

Comments (15)

note286 avatar note286 commented on July 29, 2024

建议手动加空格,你可以参考 note286/xduts#40 (comment) 中的示例自行定义命令来辅助排版。

from scut_thesis.

mengchaoheng avatar mengchaoheng commented on July 29, 2024

模版有要求吗?可以百度一下如何recommend,或者手动加。模版没要求的话,我就不探索了,需要diy一下

from scut_thesis.

mengchaoheng avatar mengchaoheng commented on July 29, 2024

虽然楼上所言极是,但不建议,除非你已经完成了论文并且计划参与完善模版(似乎也不像有这个计划),不然我建议您把时间花在论文本身上。

from scut_thesis.

note286 avatar note286 commented on July 29, 2024

倒不是模板要求,是中文写作惯例,正常输入的中英文,xeCJK会自动加空白,但是对于\ref这种命令输出的,则暂不支持自动加空白,可以重定义一下\ref,但是要考虑各种情况,还是手动加空格比较稳妥(当然可以自定义命令来方便输入)。具体可见 CTeX-org/ctex-kit#392 中的讨论。

from scut_thesis.

mengchaoheng avatar mengchaoheng commented on July 29, 2024

如果是这样的话,那还是自定义命令,不然手的加空格很麻烦而且论文源码变得复杂

from scut_thesis.

jiankychen avatar jiankychen commented on July 29, 2024

ok,了解了,感谢

from scut_thesis.

mengchaoheng avatar mengchaoheng commented on July 29, 2024

不客气,如果自定义成功,可以分享给大家,我把您列入贡献者名单。祝好!

from scut_thesis.

jiankychen avatar jiankychen commented on July 29, 2024

我按照 @note286note286/xduts/40 中提供的例子自定义了命令

% 除公式以外的其他类型的交叉引用
\NewDocumentCommand{\eqrefx}{mO{\space}}{\space\eqref{#1}#2}
% 公式的交叉引用
\NewDocumentCommand{\refx}{mO{\space}}{\space\ref{#1}#2}

不客气,如果自定义成功,可以分享给大家,我把您列入贡献者名单。祝好!

from scut_thesis.

jiankychen avatar jiankychen commented on July 29, 2024

说反了,应该是

% 公式的交叉引用
\NewDocumentCommand{\eqrefx}{mO{\space}}{\space\eqref{#1}#2}
% 除公式以外的其他类型的交叉引用
\NewDocumentCommand{\refx}{mO{\space}}{\space\ref{#1}#2}

from scut_thesis.

note286 avatar note286 commented on July 29, 2024

我发现scutthesis基于book而不是ctexbook,这样很多中文化的设置需要额外处理,例如章的引用。

from scut_thesis.

mengchaoheng avatar mengchaoheng commented on July 29, 2024

我发现scutthesis基于book而不是ctexbook,这样很多中文化的设置需要额外处理,例如章的引用。

哎呀您说到要害了,我最近GitHub写了一个博士课程论文模版(硕士通用),写完我发现,其实很多东西不需要那么复杂的设置,通过调包就可以解决。但这个模版两年前我改进的时候,不敢动祖传代码。所以一直有重构的念头,奈何博士课题事情多,没搞,也只能回复一下大家发的issues/邮件这样子

from scut_thesis.

note286 avatar note286 commented on July 29, 2024

如果不考虑各种宏包的精细化适配,只适配一些主流的,字体就配置一套,不提供多种选择的话,重构的话还是比较容易的。

from scut_thesis.

mengchaoheng avatar mengchaoheng commented on July 29, 2024

是的,刚刚想到可以新开一个分支,供大家自由选择使用新模板还是旧模版。过度一段时间看看,OK了再彻底换新。不知道什么时候能有时间做这个事。不聊了,要忙了。

from scut_thesis.

note286 avatar note286 commented on July 29, 2024

我建议是直接从头开始写,祖传代码可以参考,但是更建议参考目前较新的项目。很多效果已经有更简单的实现方式了。

另外,还有个建议,不过这是开发者的设计理念问题,每个人有自己的想法。我的项目都是完全不干扰用户的选择,例如子图,你想用subcaptionsubfigure或者subfig都可以,只是在模板中做适配,不直接内置。

from scut_thesis.

note286 avatar note286 commented on July 29, 2024

嗯,学业重要,这些就当是娱乐休闲。

from scut_thesis.

Related Issues (20)

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.