长 table 乳胶
long table latex
我想创建一个如图所示的 table。我使用了以下代码
\usepackage{表格}
\begin{文档}
\begin{tabulary}{\linewidth}{LCL}
Pollutant & Description and sources & Health and environment effects \
\hline
SO$_2$ & SO$_2$ is formed by oxidation of sulphur (S), mainly through combustion of fuels containing S. The electricity generation sector is the most important source of SO$_2$. SO$_2$ also can contribute to the formation of secondary sulphate particles in the atmosphere. & SO$_2$ aggravates asthma and can reduce lung function and inflame the respiratory tract. It can cause headache, general discomfort and anxiety. SO$_2$ contributes to acid deposition, the impacts of which can be significant, causing damage to forests and ecosystems in rivers and lakes. \
\hline
Nitrogen oxides (NO$_x$). & NO$_x$ is emitted during fuel combustion e.g. from industrial facilities and the road transport sector. NO$_x$ is a group of gases comprising nitrogen monoxide (NO) and nitrogen dioxide (NO$_2$). NO makes up the majority of NO$_x$ emissions. NO$_x$ contributes to the formation of ozone and particulate matter. & NO$_2$ is associated with adverse effects on health: it can affect the liver, lung, spleen and blood. It can also aggravate lung diseases leading to respiratory symptoms and increased susceptibility to respiratory infection. As with SO$_2$, NO$_x$ contributes to acid deposition but also to eutrophication of soil and water. \
\hline
\end{表格}
\end{文件}
上面的命令看起来不太好。我应该怎么做才能让它看起来更像图片中的那个。
您可以使用 colortbl
包为 table 元素着色,并使用 color
包来近似绿色背景,另外,只需添加一些格式命令来调整字体大小和权重,以及 tabulary
使用的列宽,请参见。 documentation.
以下应该会给您或多或少的预期结果:
\usepackage{tabulary, color, colortbl}
\definecolor{MyGreen}{rgb}{0.5,0.7,0.4}
\tymin=70pt
\begin{document}
\begin{tabulary}{500pt}{LLL}
\hline
\rowcolor{MyGreen}
\bf Pollutant & \bf Description and sources & \bf Health and environment effects \[5pt]
\hline
\small \bf Sulphur dioxide (SO$_2$) & \small SO$_2$ is formed by oxidation of sulphur (S), mainly through combustion of fuels containing S. The electricity generation sector is the most important source of SO$_2$. SO$_2$ also can contribute to the formation of secondary sulphate particles in the atmosphere. & \small SO$_2$ aggravates asthma and can reduce lung function and inflame the respiratory tract. It can cause headache, general discomfort and anxiety. SO$_2$ contributes to acid deposition, the impacts of which can be significant, causing damage to forests and ecosystems in rivers and lakes. \
\arrayrulecolor{MyGreen}
\hline
\small \bf Nitrogen oxides (NO$_x$) & \small NO$_x$ is emitted during fuel combustion e.g. from industrial facilities and the road transport sector. NO$_x$ is a group of gases comprising nitrogen monoxide (NO) and nitrogen dioxide (NO$_2$). NO makes up the majority of NO$_x$ emissions. NO$_x$ contributes to the formation of ozone and particulate matter. & \small NO$_2$ is associated with adverse effects on health: it can affect the liver, lung, spleen and blood. It can also aggravate lung diseases leading to respiratory symptoms and increased susceptibility to respiratory infection. As with SO$_2$, NO$_x$ contributes to acid deposition but also to eutrophication of soil and water. \
\end{tabulary}
\end{document}
我想创建一个如图所示的 table。我使用了以下代码 \usepackage{表格}
\begin{文档} \begin{tabulary}{\linewidth}{LCL}
Pollutant & Description and sources & Health and environment effects \
\hline
SO$_2$ & SO$_2$ is formed by oxidation of sulphur (S), mainly through combustion of fuels containing S. The electricity generation sector is the most important source of SO$_2$. SO$_2$ also can contribute to the formation of secondary sulphate particles in the atmosphere. & SO$_2$ aggravates asthma and can reduce lung function and inflame the respiratory tract. It can cause headache, general discomfort and anxiety. SO$_2$ contributes to acid deposition, the impacts of which can be significant, causing damage to forests and ecosystems in rivers and lakes. \
\hline
Nitrogen oxides (NO$_x$). & NO$_x$ is emitted during fuel combustion e.g. from industrial facilities and the road transport sector. NO$_x$ is a group of gases comprising nitrogen monoxide (NO) and nitrogen dioxide (NO$_2$). NO makes up the majority of NO$_x$ emissions. NO$_x$ contributes to the formation of ozone and particulate matter. & NO$_2$ is associated with adverse effects on health: it can affect the liver, lung, spleen and blood. It can also aggravate lung diseases leading to respiratory symptoms and increased susceptibility to respiratory infection. As with SO$_2$, NO$_x$ contributes to acid deposition but also to eutrophication of soil and water. \
\hline
\end{表格} \end{文件}
上面的命令看起来不太好。我应该怎么做才能让它看起来更像图片中的那个。
您可以使用 colortbl
包为 table 元素着色,并使用 color
包来近似绿色背景,另外,只需添加一些格式命令来调整字体大小和权重,以及 tabulary
使用的列宽,请参见。 documentation.
以下应该会给您或多或少的预期结果:
\usepackage{tabulary, color, colortbl}
\definecolor{MyGreen}{rgb}{0.5,0.7,0.4}
\tymin=70pt
\begin{document}
\begin{tabulary}{500pt}{LLL}
\hline
\rowcolor{MyGreen}
\bf Pollutant & \bf Description and sources & \bf Health and environment effects \[5pt]
\hline
\small \bf Sulphur dioxide (SO$_2$) & \small SO$_2$ is formed by oxidation of sulphur (S), mainly through combustion of fuels containing S. The electricity generation sector is the most important source of SO$_2$. SO$_2$ also can contribute to the formation of secondary sulphate particles in the atmosphere. & \small SO$_2$ aggravates asthma and can reduce lung function and inflame the respiratory tract. It can cause headache, general discomfort and anxiety. SO$_2$ contributes to acid deposition, the impacts of which can be significant, causing damage to forests and ecosystems in rivers and lakes. \
\arrayrulecolor{MyGreen}
\hline
\small \bf Nitrogen oxides (NO$_x$) & \small NO$_x$ is emitted during fuel combustion e.g. from industrial facilities and the road transport sector. NO$_x$ is a group of gases comprising nitrogen monoxide (NO) and nitrogen dioxide (NO$_2$). NO makes up the majority of NO$_x$ emissions. NO$_x$ contributes to the formation of ozone and particulate matter. & \small NO$_2$ is associated with adverse effects on health: it can affect the liver, lung, spleen and blood. It can also aggravate lung diseases leading to respiratory symptoms and increased susceptibility to respiratory infection. As with SO$_2$, NO$_x$ contributes to acid deposition but also to eutrophication of soil and water. \
\end{tabulary}
\end{document}