当前位置: 首页 > news >正文

深圳全国网站制作哪个好页面设计有哪几种风格

深圳全国网站制作哪个好,页面设计有哪几种风格,网站关键技术,网站首页没有收录一、简单表格制作 Latex表格需要用到 table 和 tabular 环境。其中 table 环境里写表格的标题(caption#xff09;、表格的位置之类的。 tabular 环境则是绘制表格的内容。一个简单的表格绘制代码如下所示#xff1a; \documentclass{article}\begin{document}\begin{table…一、简单表格制作 Latex表格需要用到 table 和 tabular 环境。其中 table 环境里写表格的标题(caption、表格的位置之类的。 tabular 环境则是绘制表格的内容。一个简单的表格绘制代码如下所示 \documentclass{article}\begin{document}\begin{table}[h!]\begin{center}\caption{Your first table.}\begin{tabular}{l|c|r} % -- Alignments: 1st column left, 2nd middle and 3rd right, with vertical lines in between\textbf{Value 1} \textbf{Value 2} \textbf{Value 3}\\$\alpha$ $\beta$ $\gamma$ \\\hline1 1110.1 a\\2 10.1 b\\3 23.113231 c\\\end{tabular}\end{center} \end{table}\end{document} 结果如下 首先是 table 环境部分\begin{center}让表格居中\caption{Your first table.}写表格的标题。 然后是 tabular 环境部分\begin{tabular}{l|c|r}这里面的{l|c|r}包含了三个字母代表了表格总共有三列第一列靠左偏移第二列居中第三列靠右偏移。竖线代表列之间用线分隔开来如果想要左右两边都用线包围起来应该改成{|l|c|r|}。接下来就是正式的表格绘制部分。 Latex里的表格是一行行来绘制的每一行里面用来分隔各个元素用\\来结束当前这一行的绘制。代码中\textbf{Value 1} \textbf{Value 2} \textbf{Value 3}\\绘制表格的第一行是三个加粗的字符串。第二行$\alpha$ $\beta$ $\gamma$ \\则是三个希腊字符。 接着是\hline它的作用是画一整条横线注意如果想画一条只经过部分列的横线则可以用cline{a-b}代表的是画一条从第a列到第b列的横线。 二、表格单元占据多个行或者列 表格单元占据多个行或者列需要用到multirow和multicolumn首先要引入相关的包 %... \usepackage{multirow} % Required for multirows \begin{document} %... multirow和multicolumn的格式如下 \multirow{NUMBER_OF_ROWS}{WIDTH}{CONTENT} NUMBER_OF_ROWS代表该表格单元占据的行数WIDTH代表表格的宽度一般填 * 代表自动宽度CONTENT则是表格单元里的内容。 \multicolumn{NUMBER_OF_COLUMNS}{ALIGNMENT}{CONTENT}NUMBER_OF_COLUMNS代表该表格单元占据的列数ALIGNMENT代表表格内容的偏移填l,c或者rCONTENT则是表格单元里的内容。 2. 1 一个multirow的例子 \begin{table}[h!]\begin{center}\caption{Multirow table.}\label{tab:table1}\begin{tabular}{l|S|r}\textbf{Value 1} \textbf{Value 2} \textbf{Value 3}\\$\alpha$ $\beta$ $\gamma$ \\\hline\multirow{2}{*}{12} 1110.1 a\\ % -- Combining 2 rows with arbitrary with (*) and content 12 10.1 b\\ % -- Content of first column omitted.\hline3 23.113231 c\\4 25.113231 d\\\end{tabular}\end{center} \end{table}主要是这一句代码\multirow{2}{*}{12} 1110.1 a\\使得内容为 12 的这一个表格单元占据了两行。注意的是下一行的第一个位置由于已经被 12 这个单元给占据了因此第二行的代码是 10.1 b\\这里第一个位置没有写东西如果写了东西会使得这一行超过3列表格错位。 2.2 一个multicolumn的例子 \begin{table}[h!]\begin{center}\caption{Multicolumn table.}\label{tab:table1}\begin{tabular}{l|S|r}\textbf{Value 1} \textbf{Value 2} \textbf{Value 3}\\$\alpha$ $\beta$ $\gamma$ \\\hline\multicolumn{2}{c|}{12} a\\ % -- Combining two cells with alignment c| and content 12.\hline2 10.1 b\\3 23.113231 c\\4 25.113231 d\\\end{tabular}\end{center} \end{table}这里主要是这一句代码\multicolumn{2}{c|}{12} a\\使得内容为 12 的这一个表格单元占据了两列。所以这一行接下来只能填一个元素a。注意这里的ALIGNMENT写的是c|代表表格内容居中表格右侧有竖线而左侧没有。 2.3 结合multirow与multicolumn 单元格需要同时占据两行和两列其实只需要把\multirow{NUMBER_OF_ROWS}{WIDTH}{CONTENT}的CONTENT写成multicolumn就可以了。 \begin{table}[h!]\begin{center}\caption{Multirow and -column table.}\label{tab:table1}\begin{tabular}{l|S|r}\textbf{Value 1} \textbf{Value 2} \textbf{Value 3}\\$\alpha$ $\beta$ $\gamma$ \\\hline\multicolumn{2}{c|}{\multirow{2}{*}{1234}} a\\ % -- Multicolumn spanning 2 columns, content multirow spanning two rows\multicolumn{2}{c|}{} b\\ % -- Multicolumn spanning 2 columns with empty content as placeholder\hline3 23.113231 c\\4 25.113231 d\\\end{tabular}\end{center} \end{table}最主要的语句\multicolumn{2}{c|}{\multirow{2}{*}{1234}} a\\使得内容为1234的表格单元占据了2行两列所以当前这一行右边只能再写一个元素a了然后注意的是下一行是\multicolumn{2}{c|}{} b\\用一个空的multicolumn来代表前两个位置空置然后填剩下的一个元素b。 三、复杂表格实例 \begin{table*}[t] \centering \caption{MAP scores of teacher model, different student models with 4 widths and three baseline models with different length of binary codes on CIFAR-10 and SUN datasets.} \label{table1} \begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|} \hline \multicolumn{2}{|c|}{\multirow{2}{*}{Model}} \multirow{2}{*}{FLOPs}\multirow{2}{*}{Params} \multicolumn{4}{c|}{CIFAR-10}\multicolumn{4}{c|}{SUN}\\ \cline{5-12}\multicolumn{2}{|c|}{} 12bits 24bits 32bits 48bits 12bits 24bits 32bits 48bits \\ \hline\multicolumn{2}{|c|}{Teacher} 4.12G 25.56M 0.87841 0.89512 0.9014 0.90601 0.83587 0.85736 0.86297 0.87103\\ \hline%0.25x----------------- \multirow{4}{*}{$0.25\times$} Stu-1 0.15G 1.03M 0.70746 0.73458 0.74909 0.75833 0.69618 0.76631 0.78075 0.78787 \\ \cline{2-12}\multirow{4}{*}{} Stu-2 0.19G 1.08M 0.7629 0.79111 0.80039 0.80519 0.73539 0.79714 0.80753 0.81195\\ \cline{2-12}\multirow{4}{*}{} Stu-3 0.26G 1.43M 0.84684 0.86443 0.87384 0.88268 0.79284 0.83442 0.84350 0.84353\\ \cline{2-12}\multirow{4}{*}{} Stu-4 0.29G 1.99M 0.85901 0.87269 0.8836 0.88728 0.81997 0.84620 0.85041 0.85036\\ \hline \end{tabular} \label{table_MAP} \end{table*} 输出结果为 这里使用\begin{table*}[t]有一个星号是为了让表格宽度与页面等宽而不是二分之一宽。
http://www.pierceye.com/news/440789/

相关文章:

  • 沈阳军成网站建设17网站一起做网店
  • 哪些cms做同城网站比较好上海建设工程协会网站
  • 潍坊企业自助建站系统seo博客网站
  • 做啤酒最全的网站鱼台县建设局网站
  • 网站开发转行进入衍生领域wordpress qaengine
  • 公司内部网站模板快速建网站的软件
  • 被骗去国外做网站网站推广网站的运营推广方案
  • 北京汽车业务网站开发公司桂林旅游攻略必去景点
  • 个人网站开发是学什么语言wordpress打造cms
  • 网站建设与维护的重要性岳阳建设厅网站
  • 惠州网站开发公司wordpress简单
  • 外贸网站 免费模板 使用 zencart如何购买域名和备案
  • 网站建设联系我们设计网站无锡
  • 深圳做网站好的公司wordpress建菜单
  • 网站编辑需要的技能做网站需要什么域名
  • 营销型网站建设目的和意义网站托管方案
  • 网站感谢页面企业标志图片大全
  • 响应式网站建设必推全网天下邵阳竞价网站建设设计
  • 大连网站如何制作辽阳公司做网站
  • 百度站长怎么验证网站jekyll做公司网站
  • 电子商务公司建设网站方案设计网站建设开发背景
  • 同一产品做多个网站山西省住房和城乡建设厅官网
  • 网站建设的流程是什么意思微信小程序的代码
  • 广州网站整站优化html项目案例实战
  • 宁波网站推广方式seo优化按天扣费
  • 紫金优化网站制作python编程100例
  • 原阳网站建设哪家好域名网址
  • 西安学校网站建设wordpress手机端模板下载
  • 泉州网站建设工作室网站上的产品板块
  • 平顶山网站网站建设网页设计与制作教程 刘瑞信 pdf