![如何在数学模式中查看 \O(在 LyX)](https://linux22.com/image/322806/%E5%A6%82%E4%BD%95%E5%9C%A8%E6%95%B0%E5%AD%A6%E6%A8%A1%E5%BC%8F%E4%B8%AD%E6%9F%A5%E7%9C%8B%20%5CO%EF%BC%88%E5%9C%A8%20LyX%EF%BC%89.png)
我正在使用 LyX 2.1.2,当我输入(数学模式)以下内容时:\O
我在 pdf 文件中看不到任何内容。
你知道为什么吗?
如果这有帮助 - 当我查看源代码时 - 这是我看到的:
\L{$\O$}
但是当我把它放在 ERT 时:$\O$
没有问题,我在 pdf 文件中看到它......
谢谢你!
以下是该文件的源代码:
%% LyX 2.1.2 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english,hebrew]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\setlength{\parindent}{0bp}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\usepackage{theorem}
\theorembodyfont{\upshape}
\newtheorem{theorem}{\R{משפט}}[section]
\AtBeginDocument{\make@lr\thetheorem}
% The following chunk fixes export with XeTeX.
% It is needed because polyglossia is used by default
% and \make@lr is only defined by babel.
\@ifundefined{make@lr}
{\def\make@lr#1{\begingroup
\toks@=\expandafter{#1}%
\edef\x{\endgroup
\def\noexpand#1{\noexpand\@number{\the\toks@}}}%
\x}}{\relax}
\makeatother
\usepackage{babel}
\begin{document}
\L{$\O$} -
$\O$
\end{document}
答案1
您可能想要\emptyset
,而不是\O
;或者\varnothing
来自amssymb
。