我似乎无法准确指出下表中的问题,希望得到一些帮助。我确信这很简单,但我看不出来……
\documentclass{article}
\usepackage{ctable}
\begin{document}
\ctable[
caption = Summary of model characteristics.,
label = tab:modelSummary,
doinside=\scriptsize,
pos=h
]{lllllll}{
\tnote{For UK grid.}
\tnote[b]{ENTEC emissions are used for shipping.}
\tnote[c]{Based on analysis of extracted `baseline' air-masses.}
}{ \FL
model & type & boundary & meteorology & chemistry & grid\tmark & emissions\tmark[b] \NN
& & conditions & & (km) & & \ML
aea & Eulerian & STOCHEM & WRF3 & CB05 & 12 & NAEI/EMEP \NN
aqum & Eulerian & GEMS/MACC & UM & UKCA/RAQ & ? & NAEI/EMEP \NN
& & & & & & ENTEC \NN
emep & Eulerian & EMEP-unified & WRF3.1.1 & EMEP-unified & 5 & NAEI/EMEP \NN
hert & Eulerian & GEMS & WRF3.2.1 & CB05 & 18 & TNO \NN
kcl & Eulerian & STOCHEM & WRF3.1 & CB05 & 9 & NAEI/EMEP \NN
name & Eulerian & Mace Head\tnote[c] & UM & STOCHEM & $\approx$10? & NAEI/EMEP \NN
& & & & & & ENTEC \NN
osrm & Lagrangian & ? & NAME (UM) & STOCHEM & 10 & NAEI/EMEP \NN
& & & & & & ENTEC \NN
ptm & Lagrangian & Mace Head? & UM & MCM3.1 & $\approx$10? & NAEI/EMEP \NN
& & & & & & GEIA \NN
wrfchem & Eulerian & ? & ? & ? & ? & ? \LL
}
\end{document}
给出:
Misplaced alignment tab character &.
\\tnote ...uperscript {\normalfont \textit {#1}}}&
#2\NN \fi
l.31 }
答案1
问题在于这条线
name & Eulerian & Mace Head\tnote[c] & UM & STOCHEM & $\approx$10? & NAEI/EMEP \NN
您需要更改\tnote
为\tmark
:
name & Eulerian & Mace Head\tmark[c] & UM & STOCHEM & $\approx$10? & NAEI/EMEP \NN
您的完整代码:
\documentclass{article}
\usepackage{ctable}
\begin{document}
\ctable[
caption = Summary of model characteristics.,
label = tab:modelSummary,
doinside=\scriptsize,
pos=h
]{lllllll}{
\tnote{For UK grid.}
\tnote[b]{ENTEC emissions are used for shipping.}
\tnote[c]{Based on analysis of extracted `baseline' air-masses.}
}{ \FL
model & type & boundary & meteorology & chemistry & grid\tmark & emissions\tmark[b] \NN
& & conditions & & (km) & & \ML
aea & Eulerian & STOCHEM & WRF3 & CB05 & 12 & NAEI/EMEP \NN
aqum & Eulerian & GEMS/MACC & UM & UKCA/RAQ & ? & NAEI/EMEP \NN
& & & & & & ENTEC \NN
emep & Eulerian & EMEP-unified & WRF3.1.1 & EMEP-unified & 5 & NAEI/EMEP \NN
hert & Eulerian & GEMS & WRF3.2.1 & CB05 & 18 & TNO \NN
kcl & Eulerian & STOCHEM & WRF3.1 & CB05 & 9 & NAEI/EMEP \NN
name & Eulerian & Mace Head\tmark[c] & UM & STOCHEM & $\approx$10? & NAEI/EMEP \NN
& & & & & & ENTEC \NN
osrm & Lagrangian & ? & NAME (UM) & STOCHEM & 10 & NAEI/EMEP \NN
& & & & & & ENTEC \NN
ptm & Lagrangian & Mace Head? & UM & MCM3.1 & $\approx$10? & NAEI/EMEP \NN
& & & & & & GEIA \NN
wrfchem & Eulerian & ? & ? & ? & ? & ? \LL
}
\end{document}