diff options
-rw-r--r-- | resume.cls | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -12,7 +12,7 @@ %% https://www.latextemplates.com/template/plasmati-graduate-cv %% -\ProvidesClass{resume}[2024/12/06 v2.6.0 Resume Class] +\ProvidesClass{resume}[2024/12/06 v2.6.1 Resume Class] \LoadClass{article} %% @@ -347,6 +347,22 @@ } %% +%% Abstract +%% + +\RenewDocumentEnvironment{abstract}{}{ + \phantomsection + \addcontentsline{toc}{section}{\ifdef{\@zh}{摘要}{Abstract}} + \ifdef{\@zh}{% + \onehalfspacing\hspace{2em}% + \ignorespaces% remove the beginning glue to make the indentation correct + }{}% +}{% + \par + \medskip +} + +%% %% Sections %% |