![特定の行と列に斜体を指定する](https://rvso.com/image/475718/%E7%89%B9%E5%AE%9A%E3%81%AE%E8%A1%8C%E3%81%A8%E5%88%97%E3%81%AB%E6%96%9C%E4%BD%93%E3%82%92%E6%8C%87%E5%AE%9A%E3%81%99%E3%82%8B.png)
続き以前の質問未請求のアカウントがありました。
各文字を \textit{} で囲まずに、文字 (k、kh などから o まで) を斜体にするにはどうすればよいでしょうか。指定した行/列に斜体を宣言する方法はありますか。
\documentclass{article}
\usepackage[margin=2.4cm]{geometry}
\usepackage{rotating}
\usepackage{makecell}
\settowidth\rotheadsize{{\small Compound}}
\newcommand{\NA}{---}
\usepackage{tabularray}
\UseTblrLibrary{booktabs}
\begin{document}
\begin{table}[ht]
\centering
\resizebox{\textwidth}{!}{%
\begin{tblr}{
colspec={l *{11}{c}},
hlines, vlines,
row{1-5}={font=\small},
}
\SetCell[r=5]{c,h} {Place of \\ Articulation} & \SetCell[c=11]{c} Manner of Articulation \\
& \SetCell[c=7]{c} Consonants &&&&&&& \SetCell[c=3]{c} Vowels &&& \SetCell[r=4]{c,h} {Pure \\ Nasal} \\
& \SetCell[c=5]{c} Stops &&&&
& \SetCell[r=3]{c,h} {Semi \\ vowel \\ (voiced)}
& \SetCell[r=3]{c,h} {Sibilant \\ (voiceless)}
& \SetCell[r=3]{c} \rotcell{Short}
& \SetCell[r=3]{c} \rotcell{Long}
& \SetCell[r=3]{c} \rotcell{Compound} & \\
& \SetCell[c=2]{c} Voiceless && \SetCell[c=3]{c} Voiced \\
& {non- \\ aspirate} & aspirate & {non- \\ aspirate} & aspirate & nasal \\
Gutturals & k & kh & g & gh & ṅ & h & & a & ā & e & \\
Palatals & c & ch & j & jh & ñ & y & & i & ī & \SetCell[r=3]{} & \\
Cerebrals & ṭ & ṭh & ḍ & ḍh & ṇ & r\,/\,l\,/\,ḷh & & \SetCell[r=2]{} & \SetCell[r=2]{} & & ṁ \\
Dentals & t & th & d & dh & n & l & s & & & & \\
Labials & p & ph & b & bh & m & v & & u & ū & o & \\
\end{tblr}}
\end{table}
\end{document}
答え1
これはオプション で実現できますcell{6-Z}{2-11}={font=\itshape}
。ここではZ
最後の行を示します。
\documentclass[border=6pt]{standalone}
\usepackage{graphicx}
\usepackage{tabularray}
\newcommand{\rotcell}[1]{#1}
\begin{document}
%\begin{table}[ht]
% \centering
% \resizebox{\textwidth}{!}{%
\begin{tblr}{
colspec={l *{11}{c}},
hlines, vlines,
row{1-5}={font=\small},
cell{6-Z}{2-11}={font=\itshape}
}
\SetCell[r=5]{c,h} {Place of \\ Articulation} & \SetCell[c=11]{c} Manner of Articulation \\
& \SetCell[c=7]{c} Consonants &&&&&&& \SetCell[c=3]{c} Vowels &&& \SetCell[r=4]{c,h} {Pure \\ Nasal} \\
& \SetCell[c=5]{c} Stops &&&&
& \SetCell[r=3]{c,h} {Semi \\ vowel \\ (voiced)}
& \SetCell[r=3]{c,h} {Sibilant \\ (voiceless)}
& \SetCell[r=3]{c} \rotcell{Short}
& \SetCell[r=3]{c} \rotcell{Long}
& \SetCell[r=3]{c} \rotcell{Compound} & \\
& \SetCell[c=2]{c} Voiceless && \SetCell[c=3]{c} Voiced \\
& {non- \\ aspirate} & aspirate & {non- \\ aspirate} & aspirate & nasal \\
Gutturals & k & kh & g & gh & ṅ & h & & a & ā & e & \\
Palatals & c & ch & j & jh & ñ & y & & i & ī & \SetCell[r=3]{} & \\
Cerebrals & ṭ & ṭh & ḍ & ḍh & ṇ & r\,/\,l\,/\,ḷh & & \SetCell[r=2]{} & \SetCell[r=2]{} & & ṁ \\
Dentals & t & th & d & dh & n & l & s & & & & \\
Labials & p & ph & b & bh & m & v & & u & ū & o & \\
\end{tblr}%}
%\end{table}
\end{document}