특정 행과 열에 이탤릭체를 선언합니다.

특정 행과 열에 이탤릭체를 선언합니다.

계속되는이전 질문나는 청구되지 않은 계정을 가지고있었습니다.

각 문자를 \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}

여기에 이미지 설명을 입력하세요

관련 정보