如何使用 natbib 允许表格中的引文换行/文本换行

如何使用 natbib 允许表格中的引文换行/文本换行

这是一个例子。实际的表格有更多行,这只是一个例子。如果 Reference 列只是换行,则此表格将适合页面。我找不到解决方案。我尝试过 hyperref 包中的 breaklinks = true,尝试过 \usepackage{xurl},使用过 p{} 列类型,但都无济于事。任何帮助都将不胜感激。

本质上,我怎样才能让参考列内容包装在单元格内而不是进入边缘?

\documentclass[12pt,oneside,openany]{book} %change to oneside for final printing
\usepackage{array}
\usepackage[letterpaper,
            bindingoffset=0.0in,
            left=1in,
            right=1in,
            top=1in,
            bottom=1in,
            footskip=.25in]{geometry}
\usepackage{threeparttable}
\usepackage[font={small,doublespacing},labelfont=bf]{caption}
\captionsetup{justification=raggedright,singlelinecheck=off,labelsep=period}
\usepackage{booktabs}
\newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}}
\newcolumntype{P}[1]{>{\raggedright\arraybackslash}m{#1}}
\setlength{\tabcolsep}{0.25em}

%%% REFERENCES
\usepackage[numbers,square,sort&compress]{natbib}
\bibliographystyle{apalike}
% \bibliographystyle{abbrvnat}
\setcitestyle{authoryear, open={(}, close={)}} %Citation-related commands
\newcommand\cites[2]{\citeauthor{#1}'s \citeyearpar{#2}}

\usepackage{multirow,textcomp}
\usepackage{rotating}
\usepackage{xurl}
\usepackage{hyperref}
\hypersetup{
    colorlinks=true,
    linkcolor=blue,
    filecolor=magenta,      
    urlcolor=cyan,
    citecolor=blue,
    breaklinks=true
    }

\begin{document}

\begin{sidewaystable}[!h]
  \centering
  \footnotesize
  % \renewcommand{\arraystretch}{2} % Default value: 1
  \begin{threeparttable}
      \caption{Summary of treatment performances of processes treating real wastewater with microalgal-bacterial aggregates.}
      \label{tab:LiteratCompare}
      \begin{tabular}{ccccccC{0.4in}C{0.7in}C{0.6in}C{0.6in}p{1in}}
          \toprule
          \textbf{COD Removal$^a$}    & \textbf{N Removal$^a$}      & \textbf{P Removal$^a$}      & \textbf{Duration (d)} & \textbf{HRT$^t$ (d)}         & \textbf{SRT$^v$ (d)}     & \textbf{Suppl. Aerat.} & \textbf{Waste- water Type} & \textbf{Reactor Volume (L)} & \textbf{Natural Lighting} & \textbf{Reference}                               \\ \midrule
          4\% - 95\%                  & 14\% - 100\%                & 2\% - 60\%                  & \multirow{2}*{6-30}   & \multirow{2}*{2-10}       & \multirow{2}*{2-10}   & \multirow{2}*{Yes$^{\dagger\dagger}$}         & \multirow{2}*{Municipal}       & \multirow{2}*{50}                 & \multirow{2}*{No}               & \multirow{2}*{\citet{arcila_2016}}    \\
          (593 $\pm$ 58)$^b$          & (71.2 $\pm$ 4.5)$^w$        & (15.3 $\pm$ 1.3)$^f$        &           &              &          &               &                 &                    &                  &                                     \\
          87.1\% $\pm$ 4.5\%          & 51.4\% $\pm$ 15.2\%         & 50.4\% $\pm$ 14\%           & \multirow{2}*{30}       & \multirow{2}*{10}           & \multirow{2}*{10}       & \multirow{2}*{Yes$^{\dagger\dagger}$}         & \multirow{2}*{Municipal}       & \multirow{2}*{50}                 & \multirow{2}*{Yes$^{\dagger}$}             & \multirow{2}*{\citet{arcila_2017}}           \\
          (146.7 $\pm$ 40.0)$^b$      & (1.64 $\pm$ 0.15)$^q$       & (2.8 $\pm$ 0.13)$^f$        &          &              &          &               &                 &                    &                  &                                     \\ \bottomrule
          \end{tabular}
  \end{threeparttable}
\end{sidewaystable}

\bibliography{bib}

\end{document}

由于我无法附加 bib.bib 文件,因此这里是 bib 项目。

@article{arcila_2016,
title = {Microalgae-bacteria aggregates: effect of the hydraulic retention time on the municipal wastewater treatment, biomass settleability and methane potential},
author = {Arcila, Juan S and Buitrón, Germán},
pages = {2862-2870},
url = {http://doi.wiley.com/10.1002/jctb.4901},
year = {2016},
month = {nov},
urldate = {2021-07-12},
journal = {Journal of Chemical Technology \& Biotechnology},
volume = {91},
number = {11},
issn = {02682575},
doi = {10.1002/jctb.4901}
}

@article{arcila_2017,
title = {Influence of solar irradiance levels on the formation of microalgae-bacteria aggregates for municipal wastewater treatment},
author = {Arcila, Juan S. and Buitrón, Germán},
pages = {190-197},
url = {https://linkinghub.elsevier.com/retrieve/pii/S2211926417303041},
year = {2017},
month = {nov},
urldate = {2021-07-12},
journal = {Algal Research},
volume = {27},
issn = {22119264},
doi = {10.1016/j.algal.2017.09.011}
}

桌子

相关内容