Summary of tables in Latex

Source: Internet
Author: User
Tags svm

Introduction

For a long time no latex, so a use when the problem, in not rush deadline when the first summed up good, use when the direct CTRL + C, if you also need, welcome reference, not for latex based on the small partners, so do not intend to write very detailed.

This is a continuous update.


1. What does a table with a decimal point do?

\documentclass{article}\begin{document}\begin{tabular}{|c|[ Email protected]{.} l|}  \hlineincome   &    12345&60  \ \hlinespending &    765&40    \ \hlineleft    &    89&09    \ \hline\end{tabular}?\end{document}

Effect



more than 1.1 rows are decimal tables

\begin{array}{|c|*{3}{[email protected]{.} L|}} \hlineincome    & 1345&67   & 500&34  & 7654&43 \ \hlinespending  & 1020&   & 1929&2  & 9870&89 \ \hlineleft      & 11580&33  & 234&56  & 3767&09  \ \hline\end{array}




2. Orchestration of augmented matrices

$\left (\begin{array}{@{}ccc|[ Email protected]{}}a11 & A12 & A13 & B1 \a21 & A22 & A23 & B2 \a31 & A32 & A33 & B3\en D{array}\right) $



3. Merge Segmentation of Tables

\multicolumn{(number of columns occupied)} {format} contents}

\begin{tabular}{|c|c|c|}  \hline         &  \multicolumn{2}{c|} {SVM} \ \cline{2-3}  class  & TP & FP  \ \hline  Class1 & *  & *   \ \  \hline< C11/>class2 & *  & *   \  \hline\end{tabular}?


Here to explain, this description SVM this occupies two columns, so is \multicolumn{2} if an option occupies 3 columns, then write a {3}, note that the latter because it is a combination of two columns, so in fact is cc-"C so to ensure that the right cable, you have to write {c|}. After the \cline and \hline is an effect. If you use \hline then it will wear the class side too. So the place where we need to underline is the 第2-3 column \cline it is here to refer to the scope. 第2-3 column, note that the object that is always considered here is the column for our transformation (here SVM)























Summary of tables in Latex

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.