Skip to content

Commit

Permalink
Fix cs undergrad bib title format (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNetAdmin committed May 21, 2021
1 parent 25887f3 commit df53be1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion body/undergraduate/final/2-body.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

\section{Overleaf 使用注意事项}

如果你在Overleaf上编译本模板,请注意如下事项:
如果你在Overleaf上编译本模板,请注意如下事项~\cite{zjuthesis}

\begin{itemize}
\item 删除根目录的 ``.latexmkrc'' 文件,否则编译失败且不报任何错误
Expand Down
16 changes: 16 additions & 0 deletions config/format/major/cs/layout.tex
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,20 @@
{}
}
{}

\appto{\bodystyle}{
\ifthenelse{\equal{\undergradcurrstage}{final}}
{
\defbibheading{bibliography}[\bibname]{
\sectionnonum{#1}
\markboth{#1}{#1}
}
}
{
\defbibheading{bibliography}[\bibname]{
\section{#1}
\markboth{#1}{#1}
}
}
}
}

0 comments on commit df53be1

Please sign in to comment.