diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pgfornament-han')
-rw-r--r-- | Master/texmf-dist/doc/latex/pgfornament-han/README.md | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgfornament-han/XiaoshanSample.pdf | bin | 0 -> 50273 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgfornament-han/XiaoshanSample.tex | 66 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgfornament-han/pgfornament-han_manual.pdf | bin | 490039 -> 563677 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgfornament-han/pgfornament-han_manual.tex | 52 |
5 files changed, 115 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/pgfornament-han/README.md b/Master/texmf-dist/doc/latex/pgfornament-han/README.md index 30b9239b37a..ca974241c58 100644 --- a/Master/texmf-dist/doc/latex/pgfornament-han/README.md +++ b/Master/texmf-dist/doc/latex/pgfornament-han/README.md @@ -1,4 +1,4 @@ -# pgfornament-han v0.31 2018/04/03 +# pgfornament-han v0.32 2018/04/09 A pgfornament library for Chinese traditional motifs and patterns. 以 pgfornament 宏包的机制,实现绘制汉风图纹。 diff --git a/Master/texmf-dist/doc/latex/pgfornament-han/XiaoshanSample.pdf b/Master/texmf-dist/doc/latex/pgfornament-han/XiaoshanSample.pdf Binary files differnew file mode 100644 index 00000000000..1a85c9f9479 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgfornament-han/XiaoshanSample.pdf diff --git a/Master/texmf-dist/doc/latex/pgfornament-han/XiaoshanSample.tex b/Master/texmf-dist/doc/latex/pgfornament-han/XiaoshanSample.tex new file mode 100644 index 00000000000..ae40a97587b --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgfornament-han/XiaoshanSample.tex @@ -0,0 +1,66 @@ +% !TEX program = xelatex +\documentclass{ctexbeamer} + +\usetheme{Xiaoshan} + +\author{林莲枝} +\title{萧山Beamer主题} +\subtitle{\texttt{pgfornament-han}附录福利} + +\begin{document} + +\begin{frame} + \maketitle +\end{frame} + +\section{简介} + +\begin{frame} + \frametitle{其实是 Metropolis 主题的魔改} + \begin{itemize} + \item 改了颜色(用了 \texttt{cncolours.sty}) + \item 加入 \texttt{pgfornament-han} 汉风纹样元素 + \end{itemize} +\end{frame} + +\begin{frame} + \frametitle{为什么叫「萧山」?} + \begin{itemize} + \item 以城市名字命名主题,是 Beamer 的一个传统 + \item 作为\texttt{pgfornament-han}的实战尝试,用在了 \LaTeX{} Studio 工作室的一次直播活动的材料上 + \item 直播在{\kaishu 杭州萧山区}进行 + \end{itemize} +\end{frame} + +\begin{frame}[standout] +作为强调的一个 standout 页面 +\end{frame} + +\section{充版面} + +\begin{frame}[allowframebreaks] + \frametitle{各种 block} + + \begin{block}{Metropolis 走极简风} + 因此「萧山」主题也走极简风。 + \end{block} + + \begin{exampleblock}{Metropolis 走极简风} + 因此「萧山」主题也走极简风。 + \end{exampleblock} + + \begin{alertblock}{Metropolis 走极简风} + 因此「萧山」主题也走极简风。 + \end{alertblock} + + \begin{theorem}[Metropolis 走极简风] + 因此「萧山」主题也走极简风。 + \end{theorem} + + \begin{proof}[Metropolis 走极简风] + 因此「萧山」主题也走极简风。 + \end{proof} +\end{frame} + + +\end{document} diff --git a/Master/texmf-dist/doc/latex/pgfornament-han/pgfornament-han_manual.pdf b/Master/texmf-dist/doc/latex/pgfornament-han/pgfornament-han_manual.pdf Binary files differindex 9f54ccbdee2..42056d05d17 100644 --- a/Master/texmf-dist/doc/latex/pgfornament-han/pgfornament-han_manual.pdf +++ b/Master/texmf-dist/doc/latex/pgfornament-han/pgfornament-han_manual.pdf diff --git a/Master/texmf-dist/doc/latex/pgfornament-han/pgfornament-han_manual.tex b/Master/texmf-dist/doc/latex/pgfornament-han/pgfornament-han_manual.tex index 2e90ae23716..7f82c89045f 100644 --- a/Master/texmf-dist/doc/latex/pgfornament-han/pgfornament-han_manual.tex +++ b/Master/texmf-dist/doc/latex/pgfornament-han/pgfornament-han_manual.tex @@ -2,6 +2,9 @@ % !TEX program = xelatex \documentclass[fontset=fandol]{ctexart} +\setmainfont{Linux Libertine O} +\setsansfont{Linux Biolinum O} + \usepackage[dvipsnames]{xcolor} \usepackage{pgfornament-han} \usetikzlibrary{chains} @@ -15,6 +18,7 @@ \geometry{hmargin=1in,vmargin=0.8in,headheight=10pt} \usepackage{tcolorbox} +\tcbuselibrary{skins,raster} %%%%%% 这段代码可以忽视,只是 --shell-escape 时调用 minted 不然就用 listings @@ -97,9 +101,9 @@ \usepackage[hidelinks]{hyperref} -\title{汉风图纹 \texttt{pgfornament-han} v0.31} +\title{汉风图纹 \texttt{pgfornament-han} v0.32} \author{林莲枝、张晨南} -\date{v0.31 2018/04/03\\\url{https://github.com/liantze/pgfornament-han}} +\date{v0.32 2018/04/09\\\url{https://github.com/liantze/pgfornament-han}} \begin{document} @@ -120,7 +124,7 @@ \pgfornamenthan[scale=2]{n} \end{latexcode} -以下是一些范例。 +以下是一些范例。也记得翻到文档最后的附录,有惊喜。 \bigskip @@ -498,9 +502,11 @@ \clearpage \appendix \ctexset{section/name={附录}} +\phantomsection\addcontentsline{toc}{part}{附录} -\section{传统中国 cncolours.sty} +\section{传统中国颜色 \texttt{cncolours.sty}} +\begingroup \centering 这是我比较早以前做的一个宏包了,色卡取自 \url{http://ylbook.com/cms/web/chuantongsecai/chuantongsecai.htm}。 @@ -670,4 +676,42 @@ \showcolour{乌金} \showcolour{老银} +\endgroup + +\clearpage + +\section{萧山 Beamer 主题 Xiaoshan Beamer Theme \texttt{beamerthemeXiaoshan.sty}} + +这个Beamer主题是以 \href{https://ctan.org/pkg/beamertheme-metropolis}{Metropolis} 为基础,用 \texttt{cncolours.sty} 调了一下颜色,加入少许汉风纹样。 + +\bigskip + +\begin{tcblisting}{listing side comment,title={使用范例},pdf comment={XiaoShanSample.pdf}} +\documentclass{ctexbeamer} + +\usetheme{Xiaoshan} + +\author{林莲枝} +\title{萧山Beamer主题} +\subtitle{\texttt{pgfornament-han}附录福利} + +\begin{document} + +\begin{frame} + \maketitle +\end{frame} + +\section{简介} + +\begin{frame} + \frametitle{其实是 Metropolis 主题的魔改} + \begin{itemize} + \item 改了颜色(用了 \texttt{cncolours.sty}) + \item 加入 \texttt{pgfornament-han} 汉风纹样元素 + \end{itemize} +\end{frame} +...... +\end{document} +\end{tcblisting} + \end{document} |