发布时间:2009-12-10 16:47:10
文章类别:小技巧
原文地址:http://blog.sina.com.cn/s/blog_5e16f1770100gdct.html

QQ群:91940767/145316219/141877998/80300084/194770436
淘宝店:http://latexstudio.taobao.com
技巧续篇:http://latexstudio.net/
常见数学公式问题集下载

演示图形:

LaTeX技巧136:标题式样变换的示例

演示代码:

\documentclass{article}
\usepackage{CJK}
\usepackage{graphicx}
\usepackage[includemp,body={398pt,550pt},footskip=30pt,%
marginparwidth=60pt,marginparsep=10pt]{geometry}
\usepackage {caption2}
\setlength\textwidth{180.0mm}
\begin{CJK*}{GBK}{song}
\renewcommand\figurename{图}
\begin{document}
\begin{figure}[!htbp]
\begin{center}
\begin{minipage}[t]{.3\textwidth}
\vspace{0pt}
\captionstyle{normal}
\setcaptionmargin{5pt}
\centering
\includegraphics[width=130pt]{pic.eps}
\caption{Normal Caption Style Normal Caption Style Normal Caption Style
Normal Caption Style}\label{fig:normalcap}
\end{minipage}%\hfill
\begin{minipage}[t]{.3\textwidth}
\vspace{0pt}
\captionstyle{center}
\setcaptionmargin{5pt}
\centering
\includegraphics[width=130pt]{pic.eps}
\caption{Center Caption Style Center Caption Style
Center Caption Style Center Caption Style}\label{fig:centercap}
\end{minipage}%\hfill
\begin{minipage}[t]{.3\textwidth}
\vspace{0pt}
\captionstyle{centerlast}
\setcaptionmargin{5pt}
\centering
\includegraphics[width=130pt]{pic.eps}
\caption{Centerlast Caption Style Centerlast Caption Style
Centerlast Caption Style Centerlast Caption Style}\label{fig:clastcap}
\end{minipage}
\end{center}
\end{figure}

\begin{figure}[!htbp]
\begin{minipage}[t]{.45\textwidth}
\vspace{0pt}
\captionstyle{flushleft}
\setcaptionmargin{5pt}
\centering
\includegraphics[width=180pt]{pic.eps}
\caption{Flushleft Caption Style Flushleft Caption Style
Flushleft Caption Style Flushleft Caption Style}\label{fig:fleftcap}
\end{minipage}%\hfill
\begin{minipage}[t]{.45\textwidth}
\vspace{0pt}
\captionstyle{flushright}
\setcaptionmargin{5pt}
\centering
\includegraphics[width=180pt]{pic.eps}
\caption{Flushright Caption Style Flushright Caption Style
Flushright Caption Style Flushright Caption Style}\label{frightcap}
\end{minipage}
\end{figure}

\begin{figure}[!htbp]
\begin{minipage}[t]{.45\textwidth}
\vspace{0pt}
\captionstyle{indent}
\setcaptionmargin{5pt}
\centering
\includegraphics[width=180pt]{pic.eps}
\caption{Indent Caption Style Indent Caption Style
Indent Caption Style Indent Caption Style}\label{fig:indentcap}
\end{minipage}%\hfill
\begin{minipage}[t]{.45\textwidth}
\vspace{0pt}
\captionstyle{hang}
\setcaptionmargin{5pt}
\centering
\includegraphics[width=180pt]{pic.eps}
\caption{Hang Caption Style Hang Caption Style
Hang Caption Style Hang Caption Style}\label{fig:hangcap}
\end{minipage}
\end{figure}
\paragraph{}
\clearpage
\end{CJK*}
\end{document}


点赞(0)

评论列表 共有 0 条评论

暂无评论
立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部