Last active
April 20, 2020 10:56
-
-
Save Liam0205/6f187b0555c045dc62e094690315b64f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[11pt, a4paper]{article} | |
\usepackage{ctex} | |
\usepackage{pifont} | |
\usepackage{array} | |
\usepackage{enumitem} | |
\usepackage{varwidth} | |
\newlist{tabitemize}{itemize}{1} | |
\setlist[tabitemize]{label=\ding{118},nosep,after=\strut} | |
\begin{document} | |
\begin{tabular}{|m{3cm}<{\centering}|m{6cm}<{\centering}|m{5cm}|} | |
% \caption{图表主要元素调整函数说明} \\ \hline | |
\hline | |
函数 & 核心参数说明 & 功能 \\ \hline | |
figure() & figsize (图表尺寸),dpi (分辨率) & 设置图表的大小与分辨率 \\ \hline | |
title() & | |
\begin{list}{\ding{118}}{\itemindent=0pt\topsep=-7pt\parskip=0pt\partopsep=0pt\itemsep=0pt\parsep=-2pt\labelsep=0pt\listparindent=-3pt} | |
\item str (图名) | |
\item fontdict(文本格式,包括字体大小,类型) | |
\end{list} & 设置标题 \\ \hline | |
title() & | |
\begin{minipage}[c]{\linewidth} | |
\begin{itemize}[nosep, after = \strut] | |
\item str (图名) | |
\item fontdict(文本格式,包括字体大小,类型) | |
\end{itemize} | |
\end{minipage} & 设置标题 \\ \hline | |
title() & | |
\begin{varwidth}[c]{\linewidth} | |
\begin{itemize}[nosep, after = \strut] | |
\item str (图名) | |
\item fontdict(文本格式,包括字体大小,类型) | |
\end{itemize} | |
\end{varwidth} & 设置标题 \\ \hline | |
title() & | |
\begin{varwidth}[c]{\linewidth} | |
\begin{tabitemize} | |
\item str (图名) | |
\item fontdict(文本格式,包括字体大小,类型) | |
\end{tabitemize} | |
\end{varwidth} & 设置标题 \\ \hline | |
\end{tabular} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment