- 浏览: 369140 次
- 性别:
- 来自: 成都
文章分类
最新评论
-
tuspark:
关于javadoc这里讲解的更全面:《javadoc设置》。
Eclipse中生成javadoc【Z】 -
yuexiang1007:
帮我解决了问题,谢谢!!!
java.math.BigInteger使用心得总结 -
netwelfare:
个人感觉,文章对HashMap的遍历分析的有点浅,不如这里的介 ...
HashMap遍历的两种方式【Z】 -
memoryisking:
关于java.math.BigInteger讲解在这里可以看到 ...
java.math.BigInteger使用心得总结 -
巴尾的兔兔帅:
divide应该是除吧?不是减。dividepublic Bi ...
java.math.BigInteger使用心得总结
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%一些最基本的环境
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%居中环境
\begin{center}
\end{center}
%左对齐环境
\begin{flushleft}
\end{flushleft}
%右对齐环境
\begin{flushright}
\end{flushright}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%小页环境(可嵌入上面那三种环境中形成组合)
\begin{minipage}{**cm}
\end{minipage}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%列举样式
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% itemize 列举样式1:· · · ·
\begin{itemize}
\vspace{-2.8mm}\item
\vspace{-2.8mm}\item
\end{itemize}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% itemize 列举样式2:* * * *
\begin{itemize}
\vspace{-2.8mm}\item[*]
\vspace{-2.8mm}\item[**]
\end{itemize}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% itemize 列举样式3:任意符号
\begin{itemize}
\renewcommand\labelitemi{}%这里面写符号
\vspace{-2.8mm}\item
\vspace{-2.8mm}\item
\end{itemize}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% itemize 列举样式4:彩色符号
\begin{itemize}
\setlength\baselineskip{12pt} %用这个命令来调整间距应该比较具有通用性
\item[\textcolor{black}{$\spadesuit$}] 文字。。。
\item[\textcolor{red}{$\heartsuit$}] 文字。。。
\item[\textcolor{black}{$\clubsuit$}] 文字。。。
\item[\textcolor{red}{$\diamondsuit$}] 文字。。。
\end{itemize}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% enumerate 列举样式1:1. 2. 3. 4.
\begin{enumerate}
\vspace{-2.8mm}\item
\vspace{-2.8mm}\item
\end{enumerate}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% enumerate 列举样式2:(1) (2) (3) (4)
\begin{enumerate}
\renewcommand\labelenumi{ \theenumi }%就在前面那个括号的空格处加符号
%\setlength\itemindent{}%这个会使列举的左移或右移指定的距离
\vspace{-2.8mm}\item
\vspace{-2.8mm}\item
\end{enumerate}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%图形插入样式
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%图形排版样式1:定点
%图形排版时名称一般都在下方
\begin{center}
\includegraphics[width=10cm,height=6cm]{*.eps}%就在前面括号中写图片名
\renewcommand{\figurename}{图}
\caption{}
\label{}
\end{center}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%图形排版样式2:浮动
%图形排版时名称一般都在下方
\begin{figure}
\begin{center}
\includegraphics[width=10cm,height=6cm]{*.eps}%就在前面括号中写图片名
\renewcommand{\figurename}{图}
\caption{}
\label{}
\end{center}
\end{figure}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%图形排版样式3:两个图片并列,统一取名
%图形排版时名称一般都在下方
\begin{figure}
\begin{center}
\begin{minipage}[c]{0.5\textwidth}
\centering\includegraphics[width=5cm,height=3cm]{*.eps}%就在前面括号中写图片名
\end{minipage}%
\begin{minipage}[c]{0.5\textwidth}
\centering\includegraphics[width=5cm,height=3cm]{*.eps}%就在前面括号中写图片名
\end{minipage}
\renewcommand{\figurename}{图}
\caption{}
\label{}
\end{center}
\end{figure}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%图形排版样式4:两个图片并列,分别取名
%图形排版时名称一般都在下方
\begin{figure}
\begin{center}
\begin{minipage}[c]{0.5\textwidth}
\centering\includegraphics[width=5cm,height=3cm]{}%就在前面括号中写图片名
\renewcommand{\figurename}{图}
\caption{ }
\label{}
\end{minipage}%
\begin{minipage}[c]{0.5\textwidth}
\centering\includegraphics[width=5cm,height=3cm]{}%就在前面括号中写图片名
\renewcommand{\figurename}{图}
\caption{ }
\label{}
\end{minipage}
\end{center}
\end{figure}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%图形排版样式5:两个图片作为子图并列,分别取名。四个可形成图形阵列。在下方有一个总名称
\begin{figure}
\centering
\subfigure[子标题]{\includegraphics[width=0.45\textwidth]{*.eps}}
%\mbox{\hspace{0.5cm}}
\subfigure[子标题]{\includegraphics[width=0.45\textwidth]{*.eps}}
\\
\subfigure[子标题]{\includegraphics[width=0.45\textwidth]{*.eps}}
%\mbox{\hspace{0.5cm}}
\subfigure[子标题]{\includegraphics[width=0.45\textwidth]{*.eps}}
\renewcommand{\figurename}{图}
\caption{总标题}
\label{}
\end{figure}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%图形排版样式6:图片在盒子中
\begin{figure}
\begin{center}
\fbox{\includegraphics[width=10cm,height=6cm]{*.eps}}%就在前面括号中写图片名
\renewcommand{\figurename}{图}
\caption{}
\label{}
\end{center}
\end{figure}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%图形排版样式7:图文混排,段落插入图片用picins宏包和\parpic命令
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\parpic{%
\includegraphics[width=3.0cm]%
{*.eps}}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 表格样式
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 基本表格样式
% 在下面那个括号中,用|表示画竖线,而l表示单元格中的内容在单元格中左对齐,
% c表示单元格中的内容在单元格中中对齐,r表示单元格中的内容在单元格中右对齐。
% 如|c|c|c|就表示画一个3列有竖线的表,当然|也可略,就不画竖线出来;
% 用\hline画横线,一般是表的一行内容输入完并强制换行(\\)后,在后面写
% \hline,然后后面再写下一行内容。当然\hline也可略,就不画横线出来;
% 下面这个表格是一个3行3列的表格
\begin{tabular}{|c|c|c|}
\hline
*** & *** & ***\\
\hline
*** & *** & ***\\
\hline
*** & *** & ***\\
\end{tabular}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 下面这种形式可以指定表格的宽度。在下面那个括号中写上0.5\textwidth
% 就可得到一个半张纸宽的一个表格;
% 写上\textwidth就可得到一个整张纸宽的一个表格。
\begin{tabular*}{***}{|c|c|c|}
\hline
*** & *** & ***\\
\hline
*** & *** & ***\\
\hline
*** & *** & ***\\
\end{tabular*}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 表格样式1:标题在图表上方,去掉了冒号
\begin{table}
\begin{center}
%\makeatletter\def\@captype{table}\makeatother
\renewcommand{\tablename}{表}
\caption{}
\label{}
\begin{tabular}{}
\end{tabular}
\end{center}
\end{table}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%表格样式2:用tabularx宏包
\begin{center}
\begin{tabularx}{350pt}{|c|X|c|X|}
\hline
\multicolumn{2}{|c|}{Multicolumn entry!}& THREE& FOUR\\
\hline
one&
\raggedright\arraybackslash\setlength\baselineskip{12pt}
The width of this column depends on the width of the table.& three&
\raggedright\arraybackslash\setlength\baselineskip{12pt}
Column four will act in the same way as column two, with the same width. \\
\hline
\end{tabularx}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%表格样式3:高级表格控制
\begin{table}
\begin{center}
\scriptsize
\renewcommand{\arraystretch}{1.3}
\caption{Quasi-normal frequencies for the scalar perturbation in
the stationary Schwarzschild background. \label{tab:1}}
\begin{tabularx}{380pt}{*{5}{>{\centering\arraybackslash}X|}>{\centering\arraybackslash}X}
\hline &&\multicolumn{2}{c|}
{\textbf{Exact solution}}&\multicolumn{2}{c}{\textbf{Numerical solution}} \\
\hline
$\sqrt{M}$&$m$&$\omega_R$&$\omega_I$&$\omega_R$&$\omega_I$ \\
\hline
0.2&1&1&-0.4&1.002&-0.400 \\
0.4&1&1&-0.8&0.965&-0.799 \\
0.4&2&2&-0.8&2.003&-0.800 \\
0.4&3&3&-0.8&3.004&-0.800 \\
0.4&4&4&-0.8&4.005&-0.800 \\
0.5&2&2&-1&1.999&-1.000 \\
0.5&3&3&-1&2.993&-1.000 \\
0.5&4&4&-1&4.007&-1.000 \\
1&4&4&-2&4.004&-2.001 \\
2&10&10&-4&10.014&-4.001 \\
3&10&10&-6&10.028&-6.011 \\
4&10&10&-8&9.973&-7.983 \\
\hline
\end{tabularx}
\end{center}
\end{table}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%公式样式
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%摘引环境1:段摘引
\begin{verbatim}
\end{verbatim}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%摘引环境2:行内摘引
\verb|*********|
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%程序清单样式
\lstset{language=matlab}
\begin{lstlisting}[frame=trBL]{}
clf;
k=-80:80;
a(k~=0)=sin(pi*k(k~=0)/2)./(k(k~=0)*pi);
a(k==0)=0.5;
stem(k,a);
t=-3:0.01:3
\end{lstlisting}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 参考文献样式
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\small
\renewcommand\refname{\hei 参考文献}
\begin{thebibliography}{99}
\setlength{\parskip}{0pt} %段落之间的竖直距离
\bibitem{tang}
\bibitem{liu}
\end{thebibliography}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 参考文献结束
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
发表评论
-
word中彩色波浪线的含义和出现原因
2010-12-15 12:26 11893如果你没有对文本设置 ... -
LaTeX技巧:BIBTeX制作参考文献
2010-09-06 22:47 459423BibTeX 是一种格式和一 ... -
Latex相关资源汇总
2010-09-06 22:02 5349[转载]Latex相关资源汇总 ... -
LaTeX里处理不浮动的图形和表格的办法
2010-09-06 21:36 4948众所周知,LaTeX里 面处理图形和表格的浮动体历来是最麻烦 ... -
latex中不规则表格合并multirow、multicolumn的使用
2010-09-04 21:06 19684multirow multirow 宏 ... -
latex表格
2010-09-04 19:28 7401标准 LaTeX 提供有 array 和 tabular ... -
如何将visio格式转换成EPS
2010-09-03 08:49 2682如何将Visio图形转换成EPS格式 因为TeX系统只支 ... -
latex罗马数字
2010-09-03 08:21 2182\uppercase\expandafter{\romannu ... -
科技论文写作工具及简介
2010-09-02 22:20 2080前言: 能寫的太多了,从方法论到具体细节其实很多都可以说 ... -
latex常用标记
2010-09-02 20:27 19661. 段首缩进 中文习惯在段首缩进两格,在LaT ... -
latex列举
2010-09-02 19:04 45751, 关于 {itemize}里序号的形式 (这个在书里有介绍 ... -
latex中箭头的使用
2010-09-02 18:54 27005符號 TeX 指令 符號 TeX 指令 ... -
ctex使用技巧
2010-09-02 10:52 3431下面的方法在WinEdt5.3上使用的。没有测试过别的版本 ... -
latex段落
2010-09-02 09:52 3942页面设置 纸张大小 不用加载任何宏包就可以很容易的设 ... -
latex基本语法
2010-09-01 22:26 1999LaTex基本语法 ...
相关推荐
本资源包含了一系列常用的LaTeX模板,可以帮助用户快速搭建文档结构,提高工作效率。 在LaTeX中,模板扮演着至关重要的角色。它们是预设的布局和格式,适用于特定类型的文档,如论文、报告、简历、幻灯片等。使用...
"Latex常用包说明.zip"这个压缩包很可能是为了帮助用户理解并有效利用LaTeX中的常用包。下面将详细介绍一些LaTeX中不可或缺的常用包。 1. **amsmath**: 这是用于数学公式的标准包,它提供了更复杂的数学环境,如...
本文将从多个方面分享使用LaTeX的心得体会,包括但不限于安装配置、常用技巧、高级应用等。 #### 一、LaTeX的基础配置与环境搭建 ##### CJK与Emacs的集成 - **CJK**: 是一套支持中文排版的LaTeX宏包,能够帮助用户...
这份"latex常用模板(简历-论文-讲座-问题集).zip"压缩包包含了几个关键领域的LaTeX模板,对于正在进行毕业设计的学生来说,这些模板将是非常实用的资源。 首先,让我们详细了解一下每个模板: 1. **简历模板**:...
LaTeX使用一种特殊的标记语言来描述文档的结构和样式,这使得它在排版复杂文档时比传统的文字处理软件更为高效和精确。然而,这也意味着用户需要学习LaTeX的语法和命令。尽管有学习曲线,但许多科研工作者和学者认为...
LaTeX模板提供了一系列优化过的排版设置,比如合理的字体和行距、美观的标题和章节样式等,使得报告在视觉上更加专业和美观。不需要花费过多的时间和精力去调整格式和样式,参赛者可以更专注于内容的撰写和表达。 ...
尽管无法完美转换所有LaTeX特性,但其对大部分常用元素的支持使得它成为LaTeX用户与非LaTeX用户之间协作的理想桥梁。 需要注意的是,由于LaTeX的复杂性和RTF的局限性,转换过程可能会遇到一些挑战,如某些特殊字体...
- 常用命令和环境:掌握一些基础命令,如`\documentclass{}`,`\begin{document}`和`\end{document}`,以及常用的环境如`equation`、`figure`和`table`。 - 字体和样式:了解如何改变字体大小、样式以及创建列表、...
使用这些模版撰写论文时,用户需要在LaTeX源文件中加载相应的类文件,设置参考文献样式,然后在文章中插入参考文献。LaTeX会自动处理格式化,生成整洁且一致的输出。对于包含复杂数学表达式的论文,LaTeX的优势尤为...
CCC-LaTeX-v2.1模板可能预加载了一些常用宏包,例如`graphicx`(插入图形),`amsmath`(数学环境),`url`(网址格式化)等。理解这些宏包的用法能更好地利用模板功能。 5. 提交与审阅流程: 完成论文后,作者需...
同时,理解LaTeX的基本语法和常用宏包的功能,如`biblatex`(替代BibTeX处理引用)和`graphicx`(处理图像),也有助于提高文档编写的效率和质量。通过不断实践和学习,你将能够充分利用ACS LaTeX模板,创作出符合...
总结来说,“word-to-latex”工具提供了一个便捷的途径,将常用的Word文档转换成专业的LaTeX格式,适合于需要高质量排版和公式处理的场合。通过理解和掌握这个工具,用户可以在不同的文档处理系统之间灵活切换,满足...
8. **参考文献(Bibliography)**:LaTeX支持多种引用样式,如APA、MLA等。`biblatex`或`natbib`宏包与`.bib`文件配合,可以自动化管理参考文献。模板中可能已有预设的引用样式和示例参考文献。 9. **编译...
本合辑"数学建模常用比赛latex模板合辑.zip"提供了一套完整的 LaTeX 模板资源,帮助参赛者快速高效地完成模型报告的撰写。主要包含的文件是 "mcmlatex-master",这是一个 LaTeX 工程目录,里面包含了多个模板和示例...
其中最常用的是EPS格式,这是因为EPS格式支持矢量图形,能够无损地放大或缩小,并且易于与其他LaTeX元素整合。 **1.1 Encapsulated PostScript (EPS)** EPS是一种封装的PostScript格式,它可以嵌入到其他文档中而...
### LaTeX数学试卷排版指南 ...通过对 LaTeX 的基本语法和常用包的掌握,不仅可以提高试卷的质量,还能显著提升工作效率。希望这份指南能帮助你在实际应用中更好地利用 LaTeX 来创建美观且功能齐全的数学试卷。
例如,你可以更改标题样式、页眉页脚、页边距,甚至添加自定义命令来简化常用操作。使用Notepad++这样的文本编辑器打开模板文件(.tex格式),可以查看和编辑其源代码,然后再通过LaTeX编译器将文本转换为PDF或其他...
例如,你可以定义新的环境(如`\newtheorem`)或者自定义命令(`\newcommand`)来简化常用操作。 LaTeX中的图形插入也很关键。`graphicx`宏包允许插入外部图像,并通过`\includegraphics[width=<尺寸>,height=<尺寸...
- **包引入**:通过 `\usepackage` 命令可以引入外部的 LaTeX 包,这些包提供了额外的功能和样式选项。 - **样式配置**:文档的样式可以通过 `\documentclass` 后跟不同的选项来进行配置,例如 `\documentclass[12pt...