table

61

<table class="table">
  <caption>List of users</caption>
  <thead>
    <tr>
      <th scope="col">#</th>
      <th scope="col">First</th>
      <th scope="col">Last</th>
      <th scope="col">Handle</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th scope="row">1</th>
      <td>Mark</td>
      <td>Otto</td>
      <td>@mdo</td>
    </tr>
    <tr>
      <th scope="row">2</th>
      <td>Jacob</td>
      <td>Thornton</td>
      <td>@fat</td>
    </tr>
    <tr>
      <th scope="row">3</th>
      <td>Larry</td>
      <td>the Bird</td>
      <td>@twitter</td>
    </tr>
  </tbody>
</table>
table
\documentclass{article}

\usepackage[margin=1in]{geometry}  
\usepackage{tabularx,ragged2e,booktabs}

\begin{document}

\begin{table*}[!ht]
        \caption{Evaluation results}
        \centering
        \setlength{\tabcolsep}{4pt}
        \begin{tabularx}{\textwidth}{>{\hsize=1.9\hsize\bfseries\RaggedRight}X!{\extracolsep{\fill}}*{6}{>{\centering\arraybackslash\hsize=0.48\hsize}X}}
                \toprule[1pt]\midrule[0.3pt]
                \multicolumn{7}{c}{\textbf{ABC Metrics}} \\ \midrule[0.3pt]
                \textbf{Algorithm}& \multicolumn{2}{c}{\textit{Algo 1}} & \multicolumn{2}{c}{\textit{Algo 2}} & \multicolumn{2}{c}{\textit{Algo 3}} \\
                \cmidrule(lr){2-3} \cmidrule(lr){4-5} \cmidrule(lr){6-7}%
                {Dataset} & $D_1$ & $D_2$ & $D_1$ & $D_2$ & $D_1$ & $D_2$ \\
                \addlinespace%
                {Matric 1} & 0 & 0 & 0 & 0 & 0 & 0 \\
                \addlinespace%
                {Matric 2} & 0 & 0 & 0 & 0 & 0 & 0 \\
                \addlinespace%
                {Matric 3} & 0 & 0 & 0 & 0 & 0 & 0 \\
                \addlinespace
                {Matric 4} & 0 & 0 & 0 & 0 & 0 & 0 \\
                \midrule
                \multicolumn{7}{c}{\textbf{XYZ Metrics}} \\ \midrule[0.3pt]
                \textbf{Algorithm}& \multicolumn{2}{c}{\textit{Algo 1}} & \multicolumn{2}{c}{\textit{Algo 2}} & \multicolumn{2}{c}{\textit{Algo 3}} \\
                \cmidrule(lr){2-3} \cmidrule(lr){4-5} \cmidrule(lr){6-7}%
                {Matric 5} & \multicolumn{2}{c}{0} & \multicolumn{2}{c}{0} & \multicolumn{2}{c}{0} \\ \addlinespace
                {Matric 6} & \multicolumn{2}{c}{0} & \multicolumn{2}{c}{0} & \multicolumn{2}{c}{0} \\
                \midrule[0.3pt]\bottomrule[1pt]
        \end{tabularx}
\end{table*}

\end{document}
<label for="pet-select">Choose a pet:</label>
<select name="pets" id="pet-select"> 
    <option value="">Select Pet</option>
    <option value="dog">Dog</option>
    <option value="cat">Cat</option>
</select>

Comments

Submit
0 Comments