latex 文章制作手册

2020-09-22  本文已影响0人  哥是八路
1 beamer的框架

https://blog.csdn.net/chichoxian/article/details/18922839
我用的是ctex。有一个问题就是目录无法显示中文。

这个问题的解决方法是使用xelatex,并且文件使用utf8编码。

2 表格网站

https://www.tablesgenerator.com/latex_tables
表格过宽越界
https://blog.csdn.net/wh1312142954/article/details/80641292

\begin{table}[!t]
\centering
\caption{}
\resizebox{\textwidth}{!}{
\begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|c|}

\end{tabular}
\end{table}
}

latex会自动调整表格大小和字体大小。

3.页码的设置

3.1首页需要使用
\begin{titlepage}
\end{titlepage}
3.2目录页
\newpage
\pagenumbering{Roman}
\tableofcontents

4.物理单位设置

\usepackage{siunitx}

5.增加水印

  \usepackage{draftwatermark}
  \SetWatermarkText{工程院设计监督中心} % the Text
  \SetWatermarkLightness{0.9} % the lightness from 0 to 1, default 0.8
  \SetWatermarkScale{.6} % the scale, default 1.2

6.分散对齐

\usepackage{CJKfntef}
\begin{CJKfilltwosides}{48pt}
分散对齐
\end{CJKfilltwosides}
上一篇 下一篇

猜你喜欢

热点阅读