当我在 Windows 机器上使用 Miktex 进行编译时会发生此错误,但在 Texlive 上运行良好且没有错误:
! LaTeX 错误:Unicode 字符 ف (U+0641) 未设置为用于 LaTeX
这是我的代码:
\documentclass[a4paper,11pt]{article}
\usepackage{ulem}
\usepackage[margin=1cm,includehead,includefoot,marginparwidth=1.5cm,
headheight=25pt,headsep=5pt,bottom=45pt ,showframe,showcrop]{geometry}
%_______________________________________________________________________________
\usepackage[utf8]{inputenc}
\usepackage[LAE,LFE]{fontenc}
\usepackage[arabic,french,english]{babel}
%_______________________________________________________________________________
%\usepackage{enumerate}
\usepackage{amsmath,mathtools,amssymb,amsthm,amsfonts,amsgen,amsxtra,xspace,mathrsfs}
\everymath{\displaystyle}
\usepackage{fmultico} \setlength{\columnseprule}{1pt}
\usepackage{shadow}
%_______________________________________________________________________________
\renewcommand{\labelenumi}{\arabic{enumi}.}
\renewcommand{\labelenumii}{\large\alph{enumii})}
%_______________________________________________________________________________
\newcounter{exercice}
\setcounter{exercice}{1}
\renewcommand{\theexercice}{\textbf{\LR{\arabic{exercice}}}}
\newcommand{\exo}{\vspace{5pt}\hrule\vspace{5pt}\noindent
\textbf{\uline{\large \RL{تمريـن}} } \theexercice \addtocounter{exercice}{1}: }
\newcommand{\exov}{\noindent\textbf{Exercice} \theexercice
\addtocounter{exercice}{1} : }
%_______________________________________________________________________________
\newcommand{\RL}{\textRL}
\newcommand{\LR}{\textLR}
%_______________________________________________________________________________
\DeclareMathOperator{\e}{e}
\newcommand{\R}{\mathds{R}}
%_______________________________________________________________________________
\begin{document}
\selectlanguage{arabic}
\begin{center}
\shabox{\textbf{\textsc{\Huge فرض محروس رقم \LR{1}}} (الدورة \LR{2})}
\end{center}
\vspace*{-.5cm}
\begin{center}
\textbf{\textsc{\large المدة: ( \LR{2} س})}
\end{center}
\vspace*{-.45cm}
%____________________________Exercice 1 ______________________________________
\exo \marginpar{\begin{center}
\textbf{\LR{11.5} نقط}
\end{center}}
نعتبر الدالة $g$ المعرفة كالتالي :
$\,g(x)=\e^x-x-1$ .
\begin{enumerate}[\LR{1})]
\item
أحسب
$g'(x)$
ثم ضع جدول تغيرات $g$ .
\marginpar{\begin{center}
\LR{1} ن
\end{center}}
\end{enumerate}
\end{document}
谁能帮我