수학 표현식에는 \systeme을 사용할 수 없습니다.

수학 표현식에는 \systeme을 사용할 수 없습니다.

\systeme두 방정식의 시스템에 사용하고 싶지만 ln{n}, n^2등과 같은 수학 표현식을 사용할 수 없다는 것을 알게 되었습니다.

\documentclass[11pt]{article}

\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{systeme}

\newcommand{\R}{\mathbb{R}}
\newcommand{\N}{\mathbb{N}}

\begin{document}

\begin{equation*}
  \systeme{
  c_1 ln{n} =  \frac{5}{2},
  x+y+z = \frac{5}{2},
  x+y+z = 5
  }
  \quad
  some text
\end{equation*}

\end{document}

다음 오류가 발생합니다.

! L'indice n'est pas un nombre entier !.
<argument> ...indice n'est pas un nombre entier !}

이것이 내가 얻고 싶은 것입니다:

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

답변1

나는 이것이 작업에 적합한 도구가 아닐 수 있다는 의견에 동의합니다. 만약 너라면정말이를 사용해야 하는 경우 "변수"를 에 "알려"야 합니다 systeme.

\documentclass[11pt]{article}

\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{systeme}

\newcommand{\R}{\mathbb{R}}
\newcommand{\N}{\mathbb{N}}

\begin{document}
\begin{equation*}
  \systeme[\ln n]{
  \ln n=  \frac{5}{2},
  x+y+z = \frac{5}{2},
  x+y+z = 5
  }
  \quad
  \text{some text}
\end{equation*}

\begin{equation*}
  \systeme*[\ln n]{
  \ln n=  \frac{5}{2},
  x+y+z = \frac{5}{2},
  x+y+z = 5
  }
  \quad
  \text{some text}
\end{equation*}

\end{document}

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

틀림없이 다소 더 적절한 사용은 다음 systeme과 같습니다.

\documentclass[11pt]{article}

\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{systeme}

\newcommand{\R}{\mathbb{R}}
\newcommand{\N}{\mathbb{N}}

\begin{document}
\begin{equation*}
  \systeme{
  w=  \frac{5}{2},
  x+y+z = \frac{5}{2},
  x+y+z = 5
  }
  \quad
  \text{where}~w=\ln n
\end{equation*}
\end{document}

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

마지막 두 방정식이 서로 모순된다는 것은 말할 필요도 없습니다.

관련 정보