thesischapterstyle20130914191345实现代码:

\documentclass[12pt,openany]{book}
\usepackage{lmodern}
\renewcommand{\sfdefault}{cmbr}
\usepackage[lining,scaled=.95]{ebgaramond} % The default is oldstyle numbers.
\usepackage[T1]{fontenc}
\usepackage{lipsum}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{xcolor}
%字母下沉定义
\usepackage{lettrine}
\definecolor{oran}{RGB}{255,53,23}
\newcommand{\initial}[2]{%
\lettrine[lines=3,lhang=0.3,nindent=0.2em]{
\color{oran}%
{{#1}}}{#2}}
\usepackage{minitoc}%章节目录
\usepackage{sectsty}%节标题字体格式
\allsectionsfont{\sffamily}
\usepackage[explicit]{titlesec}%章样式包
\newlength\chapnumb
\setlength\chapnumb{1.5cm}
\titleformat{\chapter}[block]
{\normalfont}{}{0pt}
{\parbox[b]{\dimexpr\textwidth-\chapnumb\relax}{%
\raggedright%
{\bf\sffamily\large#1}\\[-8pt]
\rule{\dimexpr\textwidth-\chapnumb\relax}{0.4pt}}%
\parbox[b]{\chapnumb}{%
\hfill\color{oran}\fontsize{50}{80}\selectfont\thechapter}%
}
\titleformat{name=\chapter,numberless}[block]
{\normalfont\sffamily}{}{0pt}
{\parbox[b]{\textwidth}{%
\raggedright%
{\LARGE#1}\\[-8pt]
\rule{\textwidth}{0.4pt}}}
\titlespacing*{\chapter} {0pt}{10pt}{10pt}
\parindent0pt
\begin{document}
\dominitoc
\tableofcontents

\chapter{A Long Title for Chapter}
\minitoc
\initial{T}{his}
\lipsum[2]
\[
A \times B = \Sigma
\]
\begin{equation}
\int_{-\infty}^{\infty} e^{-x^{2}} \, dx
= \sqrt{\pi}
\end{equation}
\section{The section of chapter one}
\lipsum[4]
\section{The section of chapter one}

\chapter{Introduction}
\minitoc
\initial{A}{n} analysis of the college admission process reveals one challenge facing counselors: accepting students with high test scores or students with strong extracurricular backgrounds.
\lipsum[1-3]
\appendix
\chapter{Appendix of My thesis}
\initial{P}{eople} analysis of the college admission process reveals one challenge facing counselors: accepting students with high test scores or students with strong extracurricular backgrounds.
\lipsum[4-5]
\end{document}

下载区

下载(ZIP, 214KB)样式选自:http://track-d.net/thesis/thesis.shtml

点赞(0)

评论列表 共有 0 条评论

暂无评论
立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部