提醒

您正在访问搜索引擎投递页面,强烈建议您:回到主站 查看原文 - TablesGenerator

memo 编辑 最后修改时间 2022/03/04 19:12

TablesGenerator

https://www.tablesgenerator.com/

img_8.png

LaTeX

https://www.tablesgenerator.com/latex_tables

\begin{table}[]
\begin{tabular}{|l|c|r|}
\hline
Tables   & Are           & Cool   \\ \hline
col 1 is & left-aligned  & \$1600 \\ \hline
col 2 is &               & \$12   \\ \hline
col 3 is & right-aligned & \$1    \\ \hline
\end{tabular}
\end{table}

HTML

https://www.tablesgenerator.com/html_tables

<style type="text/css">
.tg  {border-collapse:collapse;border-spacing:0;}
.tg td{border-color:black;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px;
  overflow:hidden;padding:10px 5px;word-break:normal;}
.tg th{border-color:black;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px;
  font-weight:normal;overflow:hidden;padding:10px 5px;word-break:normal;}
.tg .tg-c3ow{border-color:inherit;text-align:center;vertical-align:top}
.tg .tg-0pky{border-color:inherit;text-align:left;vertical-align:top}
.tg .tg-dvpl{border-color:inherit;text-align:right;vertical-align:top}
</style>
<table class="tg">
<thead>
  <tr>
    <th class="tg-0pky">Tables</th>
    <th class="tg-c3ow">Are</th>
    <th class="tg-dvpl">Cool</th>
  </tr>
</thead>
<tbody>
  <tr>
    <td class="tg-0pky">col 1 is</td>
    <td class="tg-c3ow" rowspan="2">left-aligned</td>
    <td class="tg-dvpl">$1600</td>
  </tr>
  <tr>
    <td class="tg-0pky">col 2 is</td>
    <td class="tg-dvpl">$12</td>
  </tr>
  <tr>
    <td class="tg-0pky">col 3 is</td>
    <td class="tg-c3ow">right-aligned</td>
    <td class="tg-dvpl">$1</td>
  </tr>
</tbody>
</table>

Text

https://www.tablesgenerator.com/text_tables

+----------+---------------+-------+
| Tables   |      Are      |  Cool |
+----------+---------------+-------+
| col 1 is |  left-aligned | $1600 |
+----------+               +-------+
| col 2 is |               |   $12 |
+----------+---------------+-------+
| col 3 is | right-aligned |    $1 |
+----------+---------------+-------+

Markdown

https://www.tablesgenerator.com/markdown_tables

| Tables   |      Are      |  Cool |
|----------|:-------------:|------:|
| col 1 is |  left-aligned | $1600 |
| col 2 is |               |   $12 |
| col 3 is | right-aligned |    $1 |
2 条评论
未登录用户
支持 Markdown 语法
@jiangshengxin
jiangshengxin发表于10 个月前

six six six

@acane77
acane77发表于2 个月前

打卡