texniccenter의 오류 보고서

texniccenter의 오류 보고서

나는 이것을 texniccenter에서 작성했고 ctrl+F7을 했을 때 "정의되지 않은 제어 순서"라는 오류가 발생했습니다. 내가 뭘 잘못하고 있는지 이해가 안 돼요. 내 코드에 문제가 있나요? 또한 "bbm" 패키지를 다운로드하여 처음에 추가했지만 아무것도 작동하지 않습니다. 누군가 나를 도와줄 수 있나요? 이 포럼에서는 이것이 너무 어리석은 일이 아니길 바랍니다.

\documentclass{article}
\usepackage{amsmath}
\usepackage{bbm}
\begin{document}
\section{Problems}
\label{sec:Problems}
\begin{flushleft}
This approach helps a lot since equality cases can be easily obtained.
The left side's >equality case is $r = 1$.
The right side's equality case occur when $y = rx$ passes
through the interior of exactly $n$ squares.
Such cases occur when $r$ is either an
integer, reciprocal of an integer, $r \geq n$ or $0 < r \leq 1/n$.
  $\blacksquare$
\end{flushleft}

2.Determine all functions $f : \mathbb{R} \to \mathbb{R}$ such that
\[f(xy+f(x))=f(x)f(y)+x , \ \ \ \forall x,y \in  \mathbb{R}.\] 
\end{document}

이것이 내가 쓴 것입니다. 내 정렬은 여기서 꽤 추악합니다. 이에 대해 사과드립니다. 하지만 잘못된 코드보다 추악한 것이 낫습니다. 그리고 에디터를 처음 써보는데요. 보통 나는 수학 SE, MO 등과 같은 \LaTeX\ 지원 플랫폼에서 글을 씁니다. 또한 "이 접근 방식..."의 부분은 또 다른 문제의 끝입니다. 모든 것을 생략했지만 이 부분은 그대로 유지하여 내용이 명확해질 수 있도록 했습니다. 오류. 그리고 솔루션이 종료되면 검은색 사각형을 주고 싶어서 주려고 했는데 "정의되지 않은 제어 시퀀스:. 도와주세요. 정말 감사합니다."

답변1

package 를 사용하려면 bbm올바른 명령이 \mathbbm{R}여기에 있습니다. 하지만 당신이 필요로 할 것입니다당신을 위한 추가 패키지\blacksquareamssymb자주 사용하는 패키지가 들어있는 패키지를 추천해드려요 amsfonts. 후자에는 다음 명령이 포함됩니다(\mathbb{R}) 현재 사용 중입니다.

다음 MWE를 사용하는 것이 좋습니다.

% arara: pdflatex

\documentclass{article}
\usepackage{amssymb}
\usepackage{mathtools} % not needed here, but it loads most of the stuff you will need. E.g. `amsmath`

\begin{document}
\section{Problems}
\label{sec:Problems}
\begin{flushleft}
This approach helps a lot since equality cases can be easily obtained.
The left side's equality case is $r = 1$.
The right side's equality case occurs when $y = rx$ passes
through the interior of exactly $n$ squares.
Such cases occur when $r$ is either an
integer, reciprocal of an integer, $r \geq n$ or $0 < r \leq 1/n$.
 $\blacksquare$
\end{flushleft}

2. Determine all functions $f : \mathbb{R} \to \mathbb{R}$ such that
\[f(xy+f(x))=f(x)f(y)+x , \quad \forall x,y \in  \mathbb{R}.\] 
\end{document}

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

관련 정보