Skip to content

Commit

Permalink
feat: support longtable
Browse files Browse the repository at this point in the history
  • Loading branch information
QQKdeGit authored and Makiras committed May 16, 2023
1 parent 5088cca commit 299b211
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions BUPTthesisbachelor.sty
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,22 @@ pdfborder=001, linkcolor=black, citecolor=black, urlcolor=black]{hyperref} %
\label{#2}}{%
\end{table}}%

% longtable tweaking
% New longtable environment
% Usage: \begin{buptlongtable}{alignment}{caption}{label}
% <normal longtable>
% \end{buptlongtable}
\usepackage{longtable}
\newenvironment{buptlongtable}[3]{
\renewcommand{\arraystretch}{1.38}%
\setlength{\abovecaptionskip}{0pt}%
\setlength{\belowcaptionskip}{10pt}%
\begin{longtable}{#1}
\caption{#2}
\label{#3} \\
}{
\end{longtable}}

% equation tweaking
\usepackage{amssymb}
\usepackage{bm} % 加粗使用
Expand Down

0 comments on commit 299b211

Please sign in to comment.