LyX의 복잡한 명명법 항목

LyX의 복잡한 명명법 항목

특히 복잡한 명명법 항목을 만들려고 하면(특히 중괄호 삽입 등) $E_{\left(A_i|B_I\right)}$문서의 나중에 명명법 항목을 입력할 때 결과가 나타나지 않습니다. 다른 모든 것은 잘 작동합니다. 아래 첨자가 포함되어 있지만 중괄호만 깨진 것 같습니다.

답변1

\mid대신 사용하라는 Mico의 제안은 |스타일뿐만 아니라 문제도 해결할 것입니다.

$E_{\left(A_i\mid B_I\right)}$

편집: egreg 메모로 \left(여기 \right)에서 LaTeX에 관한 한 아무것도 수행하지 않으며 어떤 경우에는 원하지 않는 공간을 추가할 수 있습니다. 그것이 OP에 있는 것이기 때문에 여기에 남겨 둡니다. LyX는 해당 수학을 다르게 렌더링합니다( LyX에서는 left(\right)괄호가 더 큽니다).

산출:

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

MWE .lyx 파일은 다음과 같습니다.

#LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command makeindex -g
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mathdots 1
\use_mhchem 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset CommandInset nomenclature
LatexCommand nomenclature
symbol "$E_{\\left(A_i\\mid B_I\\right)}$"
description "description..."

\end_inset


\end_layout

\begin_layout Standard
\begin_inset CommandInset nomencl_print
LatexCommand printnomenclature
set_width "auto"

\end_inset


\end_layout

\end_body
\end_document

LaTeX(pdflatex)로 내보냈습니다.

%% LyX 2.1.0dev created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{nomencl}
% the following is useful when we have the old nomencl.sty package
\providecommand{\printnomenclature}{\printglossary}
\providecommand{\makenomenclature}{\makeglossary}
\makenomenclature
\usepackage{babel}
\begin{document}
\nomenclature{$E_{\left(A_i\mid B_I\right)}$}{description...}

\settowidth{\nomlabelwidth}{$E_{\left(A_i\mid B_I\right)}$}
\printnomenclature{}
\end{document}

관련 정보