下圖的三列命名法編碼

下圖的三列命名法編碼

在此輸入影像描述

創建三列命名法很困難,請幫助我

答案1

雖然這確實不是一個讓別人做你工作的頁面,但我會幫助你。我確信您可以自己完成該表。您還可以看看這個問題如果你不喜歡我的做法。

我只需tabular為此使用一個標準,以及booktabs用於漂亮表格的包和siunitx用於正確排版 SI 單位的包。

請注意,如果下標是不是一個數學物件(索引,計數器,...),但具有“正常語言含義”(例如“o”表示“氧氣”,“max”表示“最大值”,...)您應該將其豎立(a_\mathrm{b}) 。

\documentclass{article}
\usepackage{siunitx,booktabs}

\begin{document}
    \begin{table}[htbp]
        \centering
        \caption{Nomenclature.}
        \label{tab:my_label}
        \begin{tabular}{lll}
            \toprule
            \textbf{Symbol} & \textbf{Description}                       & \textbf{Unit}                    \\ \midrule
            $D$             & Diffusion coefficient in the Biofilm phase & \unit{\meter\squared\per\second} \\
            $D_o$           & Diffusion coefficient in the Gas phase     & \unit{\meter\squared\per\second} \\ 
            \ldots          & \ldots                                     & \ldots                           \\ \bottomrule
        \end{tabular}
    \end{table}
\end{document}

結果

編輯

顯然,在較新的版本中siunitx應該使用\unit而不是\si(參見這裡),所以我相應地更改了程式碼。

相關內容