Clean Thesis 버전 v0.4.1 글꼴 유형 변경 2020/06/17

Clean Thesis 버전 v0.4.1 글꼴 유형 변경 2020/06/17

논문을 작성하기 위해 클린 논문 템플릿을 사용하고 있습니다. 괜찮아 보이지만 본문의 글꼴을 다음으로 변경하고 싶습니다.만화.

편집됨: 패키지 옵션에서 sans-serif를 사용하는 옵션을 전달하고 있습니다: \PassOptionsToPackage{...., sansserif=true,...}{cleanesis}

또한, 템플릿이 글꼴 유형 정의를 사용하여 Serif에서 Sans-Serif로 변경된다고 가정하는 cleanesis.sty의 코드 섹션을 찾았습니다.

\RequirePackage[T1]{fontenc}        % font types and character verification
% \ifthenelse{\boolean{@sansserif}}%
\ifct@cthesis@sansserif
%   {
% Using sans-serif fonts
%       \RequirePackage{helvet}
%       \RequirePackage{opensans}
%       \RequirePackage{comicneue}
        \RequirePackage{libertine}
%       \RequirePackage{tgadventor}
        \renewcommand*\familydefault{\sfdefault}%
%   }{%
\else
        % Using serif fonts
%       \RequirePackage{lmodern}    % font set: Latin Modern
%       \RequirePackage{charter}    % font set: Charter
%   }
\fi

템플릿이 사용하도록 코드의 주석 처리를 제거했습니다.만화SS 글꼴 유형으로. 그런데 무슨 이유에서인지 글꼴이 바뀌지 않습니다.

코드가 작동하는지 확인하기 위해 libertine으로 변경했는데, 예, 글꼴이 변경되었습니다. 여기에 이미지 설명을 입력하세요

하지만 내가 그것을 바꾸면만화, 글꼴은 scrreprt 클래스의 기본 산세리프 글꼴로 보이는 글꼴로 "반환"됩니다(이것이 사실인지는 모르겠습니다).

여기에 이미지 설명을 입력하세요

패키지를 로드할 때 [default] 옵션을 사용하거나 사용하지 않고 두 가지를 모두 시도했지만 헛되지 않았습니다.

구체적인 것 이상만화글꼴 유형, 제가 찾고 있는 것은 글자를 만드는 본문에 글꼴 유형을 사용하는 것입니다.그리고g마치 우리가 손으로 하는 것처럼 보입니다. 그래서 나도 시도해 보았습니다.TEX Gyre Adventor tgadventor qag그러나 헛된 것은 없습니다. 흥미로운 점은 장과 섹션 글꼴에 동일한 qag 글꼴 유형을 사용하고 있으며 템플릿에서는 이를 허용하지만 기본 텍스트에는 허용되지 않는다는 것입니다.

\newcommand{\tgherosfont}{\fontfamily{qag}\selectfont}
\newcommand{\thesischapterfont}{\color{ctcolorblack}\nobreak\normalfont\huge\fontfamily{qag}\selectfont}
\newcommand{\thesissectionfont}{\color{ctcolorsection}\nobreak\normalfont\Large\tgherosfont}

어떠한 제안?

미리 감사드립니다!

답변1

우리 는 cleanthesis.sty발견

% own font definitions
\newcommand{\helv}{\fontfamily{phv}\fontsize{9}{11}\selectfont}
\newcommand{\book}{\fontfamily{pbk}\fontseries{m}\fontsize{11}{13}\selectfont}
\newcommand{\tgherosfont}{\fontfamily{qhv}\selectfont}

\newcommand{\thesispartlabelfont}{\color{ctcolorpartnum}\nobreak\book\fontsize{60}{60}\selectfont}
\newcommand{\thesispartfont}{\color{ctcolorparttext}\nobreak\normalfont\huge \tgherosfont\selectfont}
\newcommand{\thesischapterfont}{\color{ctcolorblack}\nobreak\normalfont\huge \fontfamily{phv}\selectfont}
%\newcommand{\thesissectionfont}{\color{ctcolormain}\nobreak\LARGE\bfseries \tgherosfont}
\newcommand{\thesissectionfont}{\color{ctcolorsection}\nobreak\normalfont\LARGE \tgherosfont}
\newcommand{\thesissubsectionfont}{\color{ctcolorsubsection}\nobreak\normalfont\Large \tgherosfont}
\newcommand{\thesisparagraphfont}{\color{ctcolorparagraph}\nobreak\tgherosfont\small\bfseries}

\newcommand{\ctfontfooterpagenumber}{%
    \color{ctcolorfooterpage}%
    \normalfont\normalsize\bfseries \tgherosfont%
}
\newcommand{\ctfontfootertext}{%
    \color{ctcolorfootertitle}%
    \normalfont\footnotesize \tgherosfont%
}
%
% headings
\setkomafont{part}{\thesispartfont} % for chapter entries
\setkomafont{chapter}{\thesischapterfont} % for chapter entries
\setkomafont{section}{\thesissectionfont} % for section entries
\setkomafont{subsection}{\thesissubsectionfont} % for section entries
\addtokomafont{subsubsection}{\tgherosfont}
%\addtokomafont{paragraph}{\tgherosfont}
\setkomafont{paragraph}{\thesisparagraphfont}

정말 논쟁의 여지가 있습니다. (Bookman)이 부품에 사용되는 이유는 명확하지 않습니다 qbk. 이는 다른 선택과 실제로 호환되지 않는 세리프 글꼴입니다. phv(Helvetica)와 qhv(Heros)를 번갈아 사용하는 이유는 무엇입니까 ? 왜 분명히 잘못된 \nobreak명령입니까?

사용할 섹션 제목의 글꼴 정의를 변경할 수도 있습니다 \normalfont.

\documentclass[a4paper]{scrbook}
\usepackage[
  sansserif,
]{cleanthesis}
\usepackage[default]{comicneue}

\renewcommand{\thesispartlabelfont}{\color{ctcolorpartnum}\fontsize{60}{60}\normalfont}
\renewcommand{\thesispartfont}{\color{ctcolorparttext}\normalfont\huge\bfseries}
\renewcommand{\thesischapterfont}{\color{ctcolorblack}\normalfont\huge\bfseries}
\renewcommand{\thesissectionfont}{\color{ctcolorsection}\normalfont\LARGE}
\renewcommand{\thesissubsectionfont}{\color{ctcolorsubsection}\normalfont\Large}
\renewcommand{\thesisparagraphfont}{\color{ctcolorparagraph}\normalfont\small\bfseries}
\renewcommand{\ctfontfooterpagenumber}{\color{ctcolorfooterpage}\normalfont\normalsize\bfseries}
\renewcommand{\ctfontfootertext}{\color{ctcolorfootertitle}\normalfont\footnotesize}

\begin{document}

\chapter{Test}

This is a test

\section{Test}

This is a test

\end{document}

여기에 이미지 설명을 입력하세요

즉, 논문은심각한문서. ComicNeue는 ComicSans만큼 추악하지는 않지만완전히 부적절하다심각한 문서의 경우.

당신 나라의 헌법이 그런 식으로 인쇄되는 것을 보고 싶습니까? 아니면 ComicNeue에서 교황의 교서를 인쇄하려고 생각하는 사람이 있다고 믿습니까? 귀하의 논문은 수년간의 연구 성과이므로 조롱하지 마십시오.

위원회가 논문 심사를 시작할 때 눈썹을 치켜올리거나 심지어 웃는 것도 받아들일 준비가 되셨습니까? 나는 그렇게 생각하지 않습니다.

내버려두세요 cleanthesis. 나쁘게 쓰여졌네요. 고집한다면 sansserif옵션을 그대로 두십시오. 그리고 이러한 재정의를 유지하여 제목의 글꼴이 임의의 글꼴로 설정되지 않도록 하세요.

\documentclass[a4paper]{scrbook}
\usepackage{cleanthesis}
\usepackage{cochineal}

\renewcommand{\thesispartlabelfont}{\color{ctcolorpartnum}\fontsize{60}{60}\normalfont}
\renewcommand{\thesispartfont}{\color{ctcolorparttext}\normalfont\huge\bfseries}
\renewcommand{\thesischapterfont}{\color{ctcolorblack}\normalfont\huge\bfseries}
\renewcommand{\thesissectionfont}{\color{ctcolorsection}\normalfont\LARGE}
\renewcommand{\thesissubsectionfont}{\color{ctcolorsubsection}\normalfont\Large}
\renewcommand{\thesisparagraphfont}{\color{ctcolorparagraph}\normalfont\small\bfseries}
\renewcommand{\ctfontfooterpagenumber}{\color{ctcolorfooterpage}\normalfont\normalsize\bfseries}
\renewcommand{\ctfontfootertext}{\color{ctcolorfootertitle}\normalfont\footnotesize}

\begin{document}

\chapter{Test}

This is a test

\section{Test}

This is a test

\end{document}

여기에 이미지 설명을 입력하세요

관련 정보