CMR 글꼴 선택과 멋진 헤더 형식이 필요합니까?

CMR 글꼴 선택과 멋진 헤더 형식이 필요합니까?

나는 다음을 달성하려고 노력하고 있습니다.

두 개의 얇은 선 사이에 CMCSC10 글꼴의 "Chapter1"과 같은 장 CMR17 글꼴의 "소개"와 같은 장 이름 CMR12 글꼴의 단락 본문

문서와 같은 형식을 만들려고 합니다. 여기.

또한 머리글과 바닥글을 8이라는 매우 작은 두께로 작성해야 하며 이탤릭체는 희미한 흰색으로 표시해야 합니다.

내 수업 파일은 다음과 같습니다

% report classs for writing thesis
\ProvidesClass{mtechthesis}[2015/05/16 Thesis class]
\NeedsTeXFormat{LaTeX2e}
%\DeclareOption{print}{\def\@cv@print{}}
\DeclareOption*{%
  \PassOptionsToClass{\CurrentOption}{report}%
}
\ProcessOptions\relax
\LoadClass{report}

\renewcommand*{\familydefault}{\rmdefault}


% To use graphics
\usepackage{graphicx}
% My Images folder
\graphicspath{{myimages/}}
% To put images between text and positioning
\usepackage{float}

%% paper margins
\usepackage[a4paper,width=150mm,top=25 mm,bottom=25mm]{geometry}

\RequirePackage{titlesec}

\titleformat{\chapter}[display]
  {\mdseries\Huge}
  {\filleft\Large\chaptertitlename~\thechapter}
  {3ex}
  {\titlerule\vspace{1.5ex}\filright}
  [\vspace{1ex}\titlerule]

내 메인 tex 파일은 다음과 같습니다.

\documentclass[12pt]{mtechthesis}

\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[LO]{\tiny \textit{My Thesis title}}


% footer page number
\fancyfoot{}
\fancyfoot[RO]{\thepage}
\fancyfoot[LO]{\small \textit{My universityname}}

%header footer font size not working
\renewcommand{\headrulewidth}{0.2pt}
\renewcommand{\footrulewidth}{0.2pt}

\title{
{My thesis Title}\\
{\large University name}\\
{\includegraphics[scale=0.4]{Logo.jpg}}
}

\author{My Name}
\date{May 2015}

\begin{document}

\maketitle

%%unnumbered chapters
\chapter*{ACKNOWLEDGEMENT}

I express my, gratitude

\tableofcontents

% Paragraph spacing and indent
\setlength{\parindent}{4em}
\setlength{\parskip}{1em}


% including chapters from chapters folder

%chapter1
\chapter{Introduction}
\input{chapters/1intro}

%chapter2
\chapter{SDN Architecture}
\input{chapters/2sdnarchitecture}

%chapter3
\chapter{Openflow}
\input{chapters/3Openflow}


\appendix
\chapter{Appendix}
\input{chapters/Appendix}

\end{document}

저는 라텍스를 처음 사용합니다. 언급된 사양과 효과가 발생하도록 클래스 파일을 수정하는 방법을 알려주십시오.

답변1

MWE를 제공하지 않으면 일반 TeX 예제로 시작했습니다. (당신이 언급한) 모든 사양이 여기에 구현됩니다.

\input opmac

\font\smcaps=cmcsc10 \regfont\smcaps
\def\printchap#1{\vfil\break
  \headline={\hfil\global\headline={\printheadline}}
  \gdef\headtext{#1}
  \vglue 30pt
  \hrule
  \line{\smcaps\thefontsize[17]\vrule height22pt depth10pt width0pt \hfil
    \mtext{chap} \dotocnum{\thechapnum}}
  \hrule
  \vskip20pt
  {\typosize[17/22]\rm \hfill #1\nbpar}\mark{}%
  \nobreak \vskip2cm \firstnoindent
}
\typosize[12/14]

\def\printheadline{\localcolor\Grey\bi\thefontsize[8]\the\pageno\ 
   \hfil\ \headtext\unskip}

\chap Introduction

This is first chapter
\vfil\break

Next page where the headline occurs...
Lorem ipsum dolor sit amet, consectetuer
  adipiscing elit. Ut purus elit, vestibulum ut, placerat ac,
  adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu
  libero, nonummy eget, consectetuer id, vulputate a, magna.
\bye

관련 정보