Skip to content

Commit

Permalink
增加盲审命令示例
Browse files Browse the repository at this point in the history
  • Loading branch information
sikouhjw committed Apr 3, 2023
1 parent b69ca6b commit f7e5fd5
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
9 changes: 9 additions & 0 deletions example/blind-bib.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@article{zhangsan2018jet,
author = {\blind{张三} and \blind{李四} and 王五},
title = {Jet electrochemical machining of micro dimples with conductive mask},
journal = {Journal of Materials Processing Technology},
volume = {257},
pages = {101--111},
year = {2018},
publisher = {Elsevier}
}
60 changes: 60 additions & 0 deletions example/blind.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
\documentclass[
type=doctor
]{../gdutthesis}

\usepackage{glossaries}
\renewcommand{\loadglsentries}[1]{}

\ExplSyntaxOn
\bool_new:N \blind_bool
\newcommand{\EnableBlind}
{
\bool_set_true:N \blind_bool
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\EnableBlind % 开启盲审模式 %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\bool_if:NTF \blind_bool
{
\NewDocumentCommand{\blind}{ m }
{
\l__gdut_info_student_id_tl
}
}
{
\NewDocumentCommand{\blind}{ m }
{
#1
}
}
\ExplSyntaxOff

\gdutsetup{
style = {
bib-backend = {bibtex},
bib-resource = {blind-bib.bib},
},
info = {
author = {\blind{张三}},
author* = {\blind{ZHANG San}},
supervisor = {\blind{吕四}, 教授},
supervisor* = {\blind{LYU Si}},
student-id = {2112101234},
chairman = {\blind{赵六\quad 教授}},
}
}

\begin{document}
\cite{zhangsan2018jet}

\begin{results}
\item \blind{\textbf{张三}}, \blind{李四}, 王五, 等. Jet electrochemical machining of micro dimples with conductive mask.
Journal of Materials Processing Technology. 2018, 257:101-111. (SCI Impact Factor 3.647,
WOS:000431161400010)
\item \blind{李四}, \blind{\textbf{张三}}, 王五, 等. Electrochemical direct-writing machining of micro- channel array.
Journal of Materials Processing Technology. 2019, 265:138-149. (SCI Impact Factor 3.647,
WOS:000451935100014)
\end{results}

\printbibliography
\end{document}

2 comments on commit f7e5fd5

@TsingWei
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

盲审模式就是用把关键信息全部用学号替换吗?

@sikouhjw
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

盲审模式就是用把关键信息全部用学号替换吗?

Please sign in to comment.