두 패키지에 정의된 충돌 \thead 함수

두 패키지에 정의된 충돌 \thead 함수

나는 둘 다 사용하고 있습니다 :

\usepackage{makecell}
\usepackage{tablestyles}

*.tex 문서에서.

이전에 표시된 순서를 사용하면 다음 줄에서 패키지 ! LaTeX Error: Command \thead already defined.에 오류가 발생합니다 .tablestyles120

\newcommand\thead{%
  \tablefontsize{head}
}

다음과 같은 두 가지 요구 사항 라인을 반대로 하면:

\usepackage{tablestyles}
\usepackage{makecell}

이전과 동일한 오류가 발생했지만 makecell패키지 라인 에서는 다음과 34같습니다.

\newcommand\thead{\@ifstar{\let\tabg@pe\gape\thead@}%
                          {\let\tabg@pe\theadgape\thead@}}

충돌 없이 정의 스타일을 건드릴 필요 없이 두 패키지를 어떻게 사용할 수 있습니까?

관련 정보