Skip to content

Commit

Permalink
页脚字体修复
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxuan-yu committed Mar 27, 2021
1 parent 8a08db4 commit b9be95a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Rapport2.sty
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
\RequirePackage{indentfirst}
\RequirePackage[fontset=none]{ctex}
\RequirePackage[fontset=sourcesans]{ctex}
\RequirePackage[bottom=3.5cm,footskip=1.5cm]{geometry}
\RequirePackage{fix-cm}
\RequirePackage{babel}
Expand Down
Binary file modified Template_rapport.pdf
Binary file not shown.
24 changes: 17 additions & 7 deletions headtitre.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
\automark[section]{section}
\usepackage{verbatim}
\usepackage[fontset=sourcesans]{ctex}

\lehead*{%
\makebox[0pt][r]{
Expand All @@ -18,12 +17,12 @@
% \hspace*{1em}\colorbox{rahmen}{\makebox[\textwidth][l]{\enskip\bfseries\color{white}{\pagemark/%\pageref*{LastPage}}}}}%
%}

\lefoot{\color{darkgray}\small \number\year \textit{} \number\month \textit{} \number\day \textit{}}
\rofoot{\color{darkgray}\small \number\year \textit{} \number\month \textit{} \number\day \textit{}}
\cefoot{\color{darkgray}\small \textit{\tit}\unskip\strut}
\cofoot{\color{darkgray}\small \textit{\tit}\unskip\strut}
\refoot{\color{darkgray}\small \textit{\nom}\unskip\strut}
\lofoot{\color{darkgray}\small \textit{\nom}\unskip\strut}
\ofoot{\color{darkgray}\small \number\year \textit{} \number\month \textit{} \number\day \textit{}}
%\rofoot{\color{darkgray}\small \number\year \textit{ 年} \number\month \textit{ 月} \number\day \textit{ 日}}
\cfoot{\color{darkgray}\small \textit\tit\unskip\strut}
%\cofoot{\color{darkgray}\small \itshape \tit\unskip\strut}
\ifoot{\color{darkgray}\small \textit\nom\unskip\strut}
%\lofoot{\color{darkgray}\small \textit\nom\unskip\strut}

\addtokomafont{pagenumber}{\bfseries\color{white}}
\newcommand\headrulefill{\leaders\hrule width 0pt height 3pt depth -2.8pt \hfill}
Expand Down Expand Up @@ -77,3 +76,14 @@
\end{titlepage}
}
\end{comment}
\newpairofpagestyles{rpheadings}
{
\ofoot{\color{darkgray}\small \number\year \textit{} \number\month \textit{} \number\day \textit{}}
\cfoot{\color{darkgray}\small \itshape \tit\unskip\strut}
\ifoot{\color{darkgray}\small \textit\nom\unskip\strut}
\addtokomafont{pagenumber}{\bfseries\color{white}}
\hfuzz 100pt
\hbadness 10000
\hfuzz 100pt
\hbadness 10000
}

0 comments on commit b9be95a

Please sign in to comment.