浮動環境中的化學方案,用於在表格中實施

浮動環境中的化學方案,用於在表格中實施

在我的論文中,我使用 Chemcheme 來對分子進行一致編號。我想在反應表的標題中包含我創建的一些方案。我知道我可以使用小型頁面等常規圖形來做到這一點。但這些方案顯然與浮動環境不相容。以前遇到過這個問題的人可能想出了一個簡單的解決方案。我很高興聽到這個消息。如果我沒有正確解釋,請告訴我!這是我在論壇上的第一個問題。這是它應該是什麼樣子的圖片。 在此輸入影像描述

我希望您所說的 MWE 的意思是:

\documentclass[a5paper, 11pt, headsepline, DIV10, twoside, openright]{scrbook}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage[runs=2]{auto-pst-pdf}                   
\usepackage{chemstyle}
\usepackage{threeparttable}

\begin{document}

\begin{scheme}[ht]
    \schemeref[TMP1]{benzonitril}
    \schemeref[TMP2]{benzylamin}
    \includegraphics{90-Nitrilhydrierung/Abbildungen/01_benzonitril}
\end{scheme}

\begin{table}[H]
    \centering
    \caption{Title.}
        \begin{tabular}{c|ccc}
        \hline
        Catalyst & \multicolumn{3}{c}{TON} \\
        \ & Compound & Compound & Compound \\
        \hline
        1 & 8 & 39 & 0\\
        \hline
        \end{tabular}
\end{table} 

\end{document}

答案1

chemscheme以下是一個 MWE,展示瞭如何使用在環境內的包的幫助下創建複合數的圖像tabular

\documentclass[a5paper, 11pt, headsepline, DIV10, twoside, openright]{scrbook}
\usepackage{graphicx}
\usepackage[runs=2]{auto-pst-pdf}                   
\usepackage{chemstyle}


\begin{document}

\begin{table}[H]
    \centering
    \caption{Title.}
    \schemeref[TMP1]{benzonitril}
    \schemeref[TMP2]{benzylamin}
    \includegraphics{<image-name>}\\ 
    \vspace*{10pt}
        \begin{tabular}{c|ccc}
        \hline
        Catalyst & \multicolumn{3}{c}{TON} \\
        \ & Compound & Compound & Compound \\
        \hline
        1 & 8 & 39 & 0\\
        \hline
        \end{tabular}
\end{table} 

\end{document}

這是使用chemnum而不是的變體chemscheme

\documentclass[a5paper, 11pt, headsepline, DIV10, twoside, openright]{scrbook}
\usepackage{graphicx}
\usepackage[runs=2]{auto-pst-pdf}                   
\usepackage{chemnum}

\begin{document}

\begin{table}
    \centering
    \caption{Title.}
    \replacecmpd{benzonitril}
    \replacecmpd{benzylamin}
    \includegraphics{<image-name>}\\ 
    \vspace*{10pt}
        \begin{tabular}{c|ccc}
        \hline
        Catalyst & \multicolumn{3}{c}{TON} \\
        \ & Compound & Compound & Compound \\
        \hline
        1 & 8 & 39 & 0\\
        \hline
        \end{tabular}
\end{table} 

\end{document}

相關內容