Skip to content

Instantly share code, notes, and snippets.

@rischanlab
Last active December 2, 2024 08:26
Show Gist options
  • Select an option

  • Save rischanlab/36ac077e80a698e6acb2 to your computer and use it in GitHub Desktop.

Select an option

Save rischanlab/36ac077e80a698e6acb2 to your computer and use it in GitHub Desktop.

Revisions

  1. rischanlab renamed this gist May 20, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. rischanlab created this gist May 20, 2014.
    44 changes: 44 additions & 0 deletions latex subtable
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,44 @@
    %Rischan Mafrur
    %Sub Table in Latex
    % May 20, 2014


    \begin{table}[h]
    \begin{subtable}[h]{0.16\textwidth}
    \centering
    \begin{tabular}{|l|l|}
    XXX & YYY\\
    \hline
    value X & value Y\\

    \end{tabular}
    \caption{Caption Subtable A}
    \label{tab:label subtable A}
    \end{subtable}
    \hfill
    \begin{subtable}[h]{0.15\textwidth}
    \centering
    \begin{tabular}{|l|l|}
    XXX & YYY\\
    \hline
    value X & value Y\\

    \end{tabular}
    \caption{Caption Sub Table B}
    \label{tab:label subtable B}
    \end{subtable}
    \hfill
    \begin{subtable}[h]{0.16\textwidth}
    \centering
    \begin{tabular}{|l|l|}
    XXX & YYY\\
    \hline
    value X & value Y\\

    \end{tabular}
    \caption{Caption SubTable C}
    \label{tab:label subtable C}
    \end{subtable}
    \caption{Caption Main/ All Table}
    \label{tab:label all table}
    \end{table}