본문 바로가기

Error and Solve

[에러 해결] Undefined Control Sequence error in latex : newcommand로 정의가 필요

반응형

 

 

 

에러: Undefined Control Sequence error in latex

 

 

 

latex에서 equation을 넣었는데 이렇게 빨간 에러가 난다

Undefined control sequence 라고 써져있었다

 

 

package를 안 가져온 에러인줄 처음에는 착각했다

 

 

 

 

 

 

 

해결: new command with ensure math

 

\newcommand{\x}{\ensuremath{\boldsymbol{x}}}

 

 

알고보니 이런 math equation도 정의가 필요했다.

 

패키지를 정의하는 곳으로 가서 math new command 빠진 것이 있는지 확인해보자

 

 


 

 

 

 

 

 

 

 

반응형