1. 程式人生 > >【Latex】常用工具包

【Latex】常用工具包

struct blog code ima input provides vid aspect 常用

字體篇:

\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]{@{}l@{}}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]{@{}l@{}}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]{@{}l@{}}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】常用工具包