Skip to content

Commit

Permalink
中文扉页按照是否具有副导师自动设置宽度
Browse files Browse the repository at this point in the history
  • Loading branch information
marquistj13 committed Oct 28, 2018
1 parent fc84263 commit 06d1dbd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tongjithesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,11 @@
& \tongji@cassosupervisor\\
\fi
\else
\setlength{\tongji@title@width}{5em}
\ifx\tongji@cassosupervisor\@empty
\setlength{\tongji@title@width}{4em}
\else
\setlength{\tongji@title@width}{5em}
\fi
\ifxetex % todo: ugly codes
\begin{tabular}{p{\tongji@title@width}@{}c@{\extracolsep{8pt}}p{7cm}l}
\else
Expand All @@ -769,8 +773,7 @@
\tongji@put@title{\tongji@cassosupertitle} & \tongji@title@sep
& \tongji@cassosupervisor\\
\fi
\fi

\fi
\end{tabular}
\end{center}}
}
Expand Down

0 comments on commit 06d1dbd

Please sign in to comment.