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

建议增加盲审模式开关控制的环境 #686

Closed
skyzh opened this issue Jun 8, 2021 · 3 comments
Closed

建议增加盲审模式开关控制的环境 #686

skyzh opened this issue Jun 8, 2021 · 3 comments

Comments

@skyzh
Copy link
Member

skyzh commented Jun 8, 2021

想到这个提案的起因是这样的。有个同学收到图书馆的反馈表示,目录中的“谢辞”中间不应该出现空格。正常来说,我们可以这么实现:

\chapter[谢辞]{谢\hspace{\ccwd}辞}

不过由于这个区域盲审的时候需要去掉,所以 SJTUTeX 里面有

\begin{acknowledgements}
xxxx
\end{acknowledgements}

控制这个谢辞部分。这么一来,如果去掉目录中的谢辞中间的空格,用户就要直接编辑 cls 文件。当然我们的模版可以支持设置谢辞在目录中和正文中不同的显示模式,但这样又要给 setup.tex 多加一个选项。。。

加上 #174 #108 等 issue 表明用户常常需要定制盲审模式中需要的部分,而非让模版提前设定好,我觉得我们可以增加一个环境:

\begin{ifnotreview}
\chapter[谢辞]{谢\hspace{\ccwd}辞}
xxx
\end{ifnotreview}

让用户自己控制诸如“攻读学位期间完成的论文”、“谢辞”等部分的显示方式。

@lifanggang
Copy link

正常:\documentclass[type=doctor]{sjtuthesis}
盲审:\documentclass[type=doctor, review]{sjtuthesis}
而攻读学位的论文,
非盲审部分:
\begin{publications}
\item 第一作者. Nature, 2021.
\item 第一作者. Science, 2021.
\end{publications}
盲审部分
\begin{publications*}
\item 第一作者. Nature, 2021.
\item 第一作者. Science, 2021.
\end{publications*}
都是可以自己定义的呀~这不是一直都有的嘛~~~

@skyzh
Copy link
Member Author

skyzh commented Jun 16, 2021

我的想法是加一些通用的开关,不局限于模版里定义的那几个(

@skyzh
Copy link
Member Author

skyzh commented Dec 29, 2022

not planned for now

@skyzh skyzh closed this as completed Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants