一个论文的章节样式设计 - Eufisky - The lost book
tikz设计章节带图样式
tikz设计章节样式样例

一个论文的章节样式设计

Eufisky posted @ 2014年6月19日 15:15 in LaTeX with tags LaTeX 章节设计 , 1201 阅读

chapstyle20140428005147

代码设计:

 

\documentclass[a4paper,titlepage]{book}
\usepackage{kpfonts}  %从论文中比对出的字体
\usepackage[T1]{fontenc}
\usepackage{titlesec}

%定义粗线填充
\def\Vhrulefill{\leavevmode\leaders\hrule height .8ex depth \dimexpr0.8pt-.2ex\hfill\kern0pt}

%章节样式定义
\titleformat{\chapter}[display]
{\normalfont\large\filcenter}
{\Vhrulefill \ \ \scshape{\chaptertitlename} \thechapter\ \ \Vhrulefill}
{.5pc}
{\titlerule%
\Huge\scshape}[\titlerule]
\usepackage{lipsum}
\begin{document}
                        % Command that implements the titlepage
\chapter{Introduction}

{\it  \lipsum[1]}

\section{The example of section}%Begin your text here...

\end{document}

效果图如下:

chapdesign20140428005807

选自:http://www.latexstudio.net/a-chapter-style-from-a-thesis-design-code-sharing/

 


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter