정의 환경 대 utf8

정의 환경 대 utf8

내 코드에 문제가 있어서 다음으로 변경했습니다.

\usepackage[utf8]{inputenc}

그리고 나는 컴파일할 수 있었다. 하지만 이제 또 다른 문제가 생겼습니다. 저는 브라질 포르투갈어로 작성하므로 정의 환경은 포르투갈어로 컴파일됩니다. 즉, 문서에 "Definição"(포르투갈어로 정의)가 표시됩니다.

그래서 컴파일하려고 하면 다음과 같은 메시지가 나타납니다.

Package inputenc Error: Unicode char \u8:ção not set up for use with LaTeX

어떡해?

추신: 도움이 될지는 모르겠지만 다음 패키지도 사용합니다.

\usepackage[brazilian]{babel}
\usepackage[T1]{fontenc}

고마워

내가 할 수 있는 최소한의 일은 하하하: 메인 파일:

\documentclass[11pt,fleqn]{book}

\usepackage{microtype}
\usepackage[utf8]{inputenc}
\usepackage[brazilian]{babel}
\usepackage[T1]{fontenc}

\usepackage{xcolor}
\definecolor{ocre}{RGB}{243,102,25}

\input{structure}

\begin{document}

\begin{definition}
  Um triângulo é um polígono de 3 lados.
\end{definition}

\end{document} 

그리고 구조 입력 파일은 다음과 같습니다.

\usepackage{titlesec} % Allows customization of titles

\usepackage{graphicx} % Required for including pictures
\graphicspath{{Pictures/}} % Specifies the directory where pictures are stored

\usepackage{amsmath,amsfonts,amssymb,amsthm} % For including math equations, theorems, symbols, etc

\newtheorem{definitionT}{Definição}[section]

\RequirePackage[framemethod=default]{mdframed} % Required for creating the theorem, definition, exercise and corollary boxes

% Theorem box
\newmdenv[skipabove=7pt,
skipbelow=7pt,
backgroundcolor=black!5,
linecolor=ocre,
innerleftmargin=5pt,
innerrightmargin=5pt,
innertopmargin=5pt,
leftmargin=0cm,
rightmargin=0cm,
innerbottommargin=5pt]{tBox}

\newenvironment{definition}{\begin{tBox}\begin{definitionT}}{\end{definitionT}\end{tBox}}   

감사해요 :)

관련 정보