我正在尝试输入国际象棋符号斯卡克包,并将其输出至pdflatex但它没有编译......(在Lyx)。
我该怎么办?我在数学模式下输入它。(没有其他办法)。
(我不知道 xskak 是什么以及它是否有帮助......)
错误代码如下:
!pdfTeX error: pdflatex (file SkakNew-Figurine): Font SkakNew-Figurine at 600 n
以下是代码:
% Preview source code
%% LyX 2.0.5.1 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[twocolumn,english,hebrew]{article}
\renewcommand{\familydefault}{\rmdefault}
\usepackage[T1]{fontenc}
\usepackage[cp1255]{inputenc}
\setlength{\parindent}{0bp}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\def\@outputdblcol{%
\if@firstcolumn
\global \@firstcolumnfalse
\global \setbox\@leftcolumn \box\@outputbox
\else
\global \@firstcolumntrue
\setbox\@outputbox \vbox {%
\hb@xt@\textwidth {%
\kern\textwidth \kern-\columnwidth %**
\hb@xt@\columnwidth {%
\box\@leftcolumn \hss}%
\kern-\textwidth %**
\hfil
{\normalcolor\vrule \@width\columnseprule}%
\hfil
\kern-\textwidth %**
\hb@xt@\columnwidth {%
\box\@outputbox \hss}%
\kern-\columnwidth \kern\textwidth %**
}%
}%
\@combinedblfloats
\@outputpage
\begingroup
\@dblfloatplacement
\@startdblcolumn
\@whilesw\if@fcolmade \fi
{\@outputpage
\@startdblcolumn}%
\endgroup
\fi
}
\@mparswitchtrue
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\usepackage{theorem}
\theorembodyfont{\upshape}
\newtheorem{theorem}{\R{משפט}}[section]
\AtBeginDocument{\make@lr\thetheorem}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{skak}
\makeatother
\usepackage{babel}
\begin{document}
\L{$\Omega=\left\{ \symking,\sympawn\right\} $}
שלום!
\end{document}
希望没问题,这就是你的意思......(如果你愿意,你可以编辑)。
答案1
如果您有 miktex 和多用户安装,那么问题最可能的原因是您需要通过在命令行上运行 updmap(以用户身份)来更新用户映射文件以激活映射文件。在数学模式下输入国际象棋符号不是必需的,但它应该可以工作,如果 Lyx 不允许您在文本模式下插入它们,那么这是一种解决方法