Skip to content

Instantly share code, notes, and snippets.

@VinACE
Last active November 28, 2020 19:04

Revisions

  1. VinACE revised this gist Nov 28, 2020. 1 changed file with 16 additions and 1 deletion.
    17 changes: 16 additions & 1 deletion Latex_table
    Original file line number Diff line number Diff line change
    @@ -38,4 +38,19 @@ argmin --
    O_{k} = \argmin_Oj \{(O_{j} - M)^2\}
    \end{equation}

    space symbol \quad
    space symbol \quad

    equation -- cases..

    \begin{equation}
    \label{c5:eqn5}
    fit_{new} = \left.
    \begin{cases}

    \frac{1}{1 + f_{new}}, & \text{if } f_{new} \geq 0 \\
    1 + |f_{new}| & \text{if } f_{new} \leq 0
    \end{cases}
    \right.
    \end{equation}


  2. VinACE revised this gist Nov 9, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Latex_table
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    https://www.math.utk.edu/~finotti/files/latex/LaTeX_Symbols.pdf --- symbol pdf...
    https://tex.stackexchange.com/questions/345379/table-in-two-column

    Latex_tables - two column width...
  3. VinACE revised this gist Oct 31, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Latex_table
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    https://tex.stackexchange.com/questions/345379/table-in-two-column


    Latex_tables - two column width...
    \begin{table*}[!hbt]
    \caption{Comparison of our evaluation scores with other references}\label{tab:apis}
    \small
  4. VinACE revised this gist Oct 31, 2020. 1 changed file with 18 additions and 33 deletions.
    51 changes: 18 additions & 33 deletions Latex_table
    Original file line number Diff line number Diff line change
    @@ -1,41 +1,26 @@
    https://tex.stackexchange.com/questions/345379/table-in-two-column


    @AhmedArif - I've provided an addendum to address your follow-up comment. The only changes to the code I posted initially is to switch from a table to a table* environment and to use \textwidth instead of \columnwidth in the first argument of tabular*

    \begin{table*}[b]
    \centering
    % \footnotesize
    \caption{Year Wise Treatment Frequencies}
    \label{tab:freq}
    \caption*{\footnotesize
    This table provides the frequencies
    }
    \begin{tabular*}{\linewidth}{S @{\extracolsep{\fill}}
    *{4}{S[group-separator = {,},
    group-minimum-digits = 4
    ]}}
    \begin{table*}[!hbt]
    \caption{Comparison of our evaluation scores with other references}\label{tab:apis}
    \small
    \begin{center}
    \begin{tabular}{|l|l|l|l|l|l|}

    \toprule
    {Year} & {Nones} & {Option 1} & {Option 2} & {Total} \\
    \midrule
    2001 & 126 & 16 & 2 & 144 \\
    2002 & 114 & 9 & 4 & 127 \\
    2003 & 115 & 7 & 1 & 123 \\
    2004 & 114 & 6 & 4 & 124 \\
    2005 & 104 & 5 & 8 & 117 \\
    2006 & 96 & 3 & 6 & 105 \\
    2007 & 93 & 2 & 4 & 99 \\
    2008 & 93 & 2 & 2 & 97 \\
    2009 & 85 & 2 & 11 & 98 \\
    2010 & 83 & 0 & 7 & 90 \\
    2011 & 74 & 0 & 12 & 86 \\
    \midrule
    Total & 1097 & 52 & 61 & 1210 \\
    \bottomrule
    \end{tabular*}

    {\bf Sl.No.} & {\bf Video from Office \citep{fu2010multi}} & {\bf Precision} & {\bf Recall} & {\bf Accuracy} & {\bf F1 Score} \\
    \midrule[.1em]

    1. & Office-1 & 0.9 & 0.93 & 98 & 0.91 \\ \hline
    2. & Office-2 & 0.95 & 0.98 & 97.9 & 0.96 \\ \hline
    3. & Office-3 & 0.93 & 0.89 & 95.6 & 0.90 \\ \hline
    4. & Refe[18] & 0.93 & 0.86 & 93 & 0.90 \\ \hline


    \end{tabular}
    \end{center}
    \end{table*}
    \lipsum
    \end{document}


    https://tex.stackexchange.com/questions/5223/command-for-argmin-or-argmax/284054
  5. VinACE revised this gist Oct 30, 2020. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion Latex_table
    Original file line number Diff line number Diff line change
    @@ -50,4 +50,6 @@ argmin --
    \begin{equation}
    \label{eqn:3}
    O_{k} = \argmin_Oj \{(O_{j} - M)^2\}
    \end{equation}
    \end{equation}

    space symbol \quad
  6. VinACE revised this gist Oct 30, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Latex_table
    Original file line number Diff line number Diff line change
    @@ -38,7 +38,7 @@ https://tex.stackexchange.com/questions/345379/table-in-two-column
    \end{document}



    https://tex.stackexchange.com/questions/5223/command-for-argmin-or-argmax/284054
    argmin --

    \usepackage[numbers]{natbib}
  7. VinACE revised this gist Oct 30, 2020. 1 changed file with 16 additions and 1 deletion.
    17 changes: 16 additions & 1 deletion Latex_table
    Original file line number Diff line number Diff line change
    @@ -35,4 +35,19 @@ https://tex.stackexchange.com/questions/345379/table-in-two-column
    \end{tabular*}
    \end{table*}
    \lipsum
    \end{document}
    \end{document}



    argmin --

    \usepackage[numbers]{natbib}
    \usepackage{amsmath}
    \DeclareMathOperator*{\argmax}{arg\,max}
    \DeclareMathOperator*{\argmin}{arg\,min}


    \begin{equation}
    \label{eqn:3}
    O_{k} = \argmin_Oj \{(O_{j} - M)^2\}
    \end{equation}
  8. VinACE revised this gist Oct 29, 2020. 1 changed file with 35 additions and 1 deletion.
    36 changes: 35 additions & 1 deletion Latex_table
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,38 @@
    https://tex.stackexchange.com/questions/345379/table-in-two-column


    @AhmedArif - I've provided an addendum to address your follow-up comment. The only changes to the code I posted initially is to switch from a table to a table* environment and to use \textwidth instead of \columnwidth in the first argument of tabular*
    @AhmedArif - I've provided an addendum to address your follow-up comment. The only changes to the code I posted initially is to switch from a table to a table* environment and to use \textwidth instead of \columnwidth in the first argument of tabular*

    \begin{table*}[b]
    \centering
    % \footnotesize
    \caption{Year Wise Treatment Frequencies}
    \label{tab:freq}
    \caption*{\footnotesize
    This table provides the frequencies
    }
    \begin{tabular*}{\linewidth}{S @{\extracolsep{\fill}}
    *{4}{S[group-separator = {,},
    group-minimum-digits = 4
    ]}}
    \toprule
    {Year} & {Nones} & {Option 1} & {Option 2} & {Total} \\
    \midrule
    2001 & 126 & 16 & 2 & 144 \\
    2002 & 114 & 9 & 4 & 127 \\
    2003 & 115 & 7 & 1 & 123 \\
    2004 & 114 & 6 & 4 & 124 \\
    2005 & 104 & 5 & 8 & 117 \\
    2006 & 96 & 3 & 6 & 105 \\
    2007 & 93 & 2 & 4 & 99 \\
    2008 & 93 & 2 & 2 & 97 \\
    2009 & 85 & 2 & 11 & 98 \\
    2010 & 83 & 0 & 7 & 90 \\
    2011 & 74 & 0 & 12 & 86 \\
    \midrule
    Total & 1097 & 52 & 61 & 1210 \\
    \bottomrule
    \end{tabular*}
    \end{table*}
    \lipsum
    \end{document}
  9. VinACE created this gist Oct 29, 2020.
    4 changes: 4 additions & 0 deletions Latex_table
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    https://tex.stackexchange.com/questions/345379/table-in-two-column


    @AhmedArif - I've provided an addendum to address your follow-up comment. The only changes to the code I posted initially is to switch from a table to a table* environment and to use \textwidth instead of \columnwidth in the first argument of tabular*