Latex常用工具包

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Latex常用工具包相关的知识,希望对你有一定的参考价值。

字体篇:

 

\\usepackage{color}
{\\color{red}{Hello World!}}

 

表格篇:

1.resizebox

\\begin{table*}[!htb]
\\centering
\\caption{Instruction of User Study in RQ1 \\textcolor{red}{consider cutting this table if need space}}
\\label{tab:instruction}
\\resizebox{17.6cm}{!}{
\\begin{tabular}{|l|l|l|}
\\hline
\\multicolumn{1}{|c|}{Relevance}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        & \\multicolumn{1}{c|}{Usefulness}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              & \\multicolumn{1}{c|}{Diversity}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     \\\\ \\hline
\\begin{tabular}[c]{@{}[email protected]{}}How relevant is the generated summary to \\\\ the query?\\\\ Options:\\\\ (1) Highly Irrelevant\\\\ the participant finds that there is absolutely \\\\ nothing in common between the query and summary.\\\\ (2) Irrelevant\\\\ the participant finds that the query and \\\\ summary have little in common.\\\\ (3) Neutral\\\\ the participant finds that the query and \\\\ summary are marginally relevant.\\\\ (4) Relevant\\\\ the participant finds that parts of the\\\\ summary are relevant with the query.\\\\ (5) Highly Relevant\\\\ the participant finds that most of thesummary are\\\\ relevant with the query.\\end{tabular} & \\begin{tabular}[c]{@{}[email protected]{}}How useful is the generated summary for \\\\ follow-up search?\\\\ Options:\\\\ (1) Highly Useless\\\\ the participant finds that the generated \\\\ summary does not help with follow-up search.\\\\ (2) Useless\\\\ the participant finds that the generated summary\\\\ does little help with follow-up search.\\\\ (3) Neutral\\\\ the participant finds that the generated summary\\\\ is marginally useful for follow-up search.\\\\ (4) Useful\\\\ the participant finds that the generated summary\\\\ provides a few of useful clues for follow-up \\\\ search.\\\\ (5) Highly Useful\\\\ the participant finds that the generated summary\\\\ provides many useful clues for follow-up search.\\end{tabular} & \\begin{tabular}[c]{@{}[email protected]{}}How diverse is the generated summary? \\\\ Options:\\\\ (1) Highly Identical\\\\ the participant finds that the generated summary\\\\ talks about only one minor aspect.\\\\ (2) Identical\\\\ the participant finds that the generated summary\\\\ talks about only one main aspect.\\\\ (3) Neutral\\\\ the participant finds that there is no need to\\\\ consider diversity for the generated summary.\\\\ (4) Diverse\\\\ the participant finds that the generated summary\\\\ talks about at least two minor aspect but main\\\\ aspects are not mentioned.\\\\ (5) Highly Diverse\\\\ the participant finds that the generated summary\\\\ talks about most of main aspects.\\end{tabular} \\\\ \\hline
\\end{tabular}
}
\\end{table*}

 

 

 

插入超链接:

\\usepackage[colorlinks,linkcolor=red]{hyperref}
\\href{input link here}{text}

 

公式篇:

$offer = surface \\times force(now)$

技术分享

 

$\\mathit{offer = surface \\times force(now)}$

技术分享

 

以上是关于Latex常用工具包的主要内容,如果未能解决你的问题,请参考以下文章

latex在vim中的代码片段

Latex常用工具包

LaTex:使用在线表格生成器工具生成LaTex表格

LaTeX常用篇---矩阵与表格

LaTeX中常用代码段snippets(持续更新)

提效小技巧——记录那些不常用的代码片段