Lyx - 강조된 텍스트 하이픈 사용, 오버플로 방지

Lyx - 강조된 텍스트 하이픈 사용, 오버플로 방지

나는 계산 알고리즘을 설명할 때 변수를 나타내기 위해 Lyx에서 강조점을 사용합니다.

이러한 변수 중 일부는 이름이 깁니다. Lyx는 이러한 변수가 정의된 페이지 여백에 입력될 때 하이픈을 연결하려고 시도하지 않으므로 텍스트 오버플로가 발생합니다.

게다가 문장에 포함되면 표준 텍스트 단어도 여백으로 밀려나는 것처럼 보입니다.

이 화면 캡처에서 두 가지 문제를 모두 볼 수 있습니다. 처음 두 줄은 표준 텍스트 줄이 준수되는 여백의 시작을 나타냅니다.

Lyx는 텍스트 오버플로 문제를 강조했습니다.

관련 lyx 코드는 다음과 같습니다.

\emph default
are gathered into a set 
\emph on
degreeOneNbors
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
a
\end_layout

\end_inset


\emph default
 and the unmapped atoms of degree greater than one which are bonded to 
\emph on
mapped
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
a
\end_layout

\end_inset


\emph default
are gathered into a set 
\emph on
unmappedDegreeGtOneNbors
\begin_inset script subscript

\begin_layout Plain Layout
b
\end_layout

\end_inset


\emph default
.
 The atoms in 
\emph on
degreeOneNbors
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
a
\end_layout

\end_inset


\emph default
are decomposed into groups of atoms 
\emph on
chemicalSimilarityGroups
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
a
\end_layout

\end_inset


\emph default
which are a chemical match [
\begin_inset CommandInset ref
LatexCommand formatted
reference "Procedure:isChemicalMatch"

\end_inset

].
 So too are the atoms in 
\emph on
unmappedDegreeGtOneNbors
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
a
\end_layout

\end_inset


\emph default
decomposed into 
\emph on
chemicalSimilarityGroups
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
b
\end_layout

\end_inset


\emph default
.
 These chemically similar groups are then paired up where possible such
 that a group 
\emph on
chemicalSimilarityGroup
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
a
\end_layout

\end_inset


\emph default
in 
\emph on
chemicalSimilarityGroups
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
a
\end_layout

\end_inset


\emph default
contains atoms which are a chemical match for a group 
\emph on
chemicalSimilarityGroup
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
b
\end_layout

\end_inset

\hyphenation{wo-rd, w-ord}나는 그러한 단어에 대해 허용된 하이픈 연결을 수동으로 표시하는 데 사용할 수 있음을 이해합니다 . 하지만 이런 변수가 너무 많아서 일일이 접근하는 것은 시간이 너무 많이 걸릴 것입니다.

나는 에서 해결책을 찾았다.Lyx 하이픈 넣기 문서, 그러나 소용이 없습니다.

표준 텍스트 단어와 동일한 방식으로 강조된 단어에 하이픈을 추가하고 Lyx의 행 길이 계산을 방해하지 않도록 Lyx에게 지시하여 표준 텍스트 오버플로도 방지되도록 서문에 추가할 수 있는 것이 있습니까?

예를 들어 양쪽 맞춤 텍스트를 활성화하는 대신 정의된 페이지 여백을 준수하는 모든 텍스트에 하이픈을 넣고 싶습니다 \raggedright.


편집하다:다음은 최소 예제 Lyx 파일입니다. pdflatex의 이미지 결과(편집 -> 보기 [PDF(pdflatex)]) 이후에 이어집니다.

\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 default
\paperfontsize default
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 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
Next, the procedure considers each anchor atom 
\emph on
anchor
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
a
\end_layout

\end_inset


\emph default
 and its mapped counterpart 
\emph on
mapped
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
a
\end_layout

\end_inset


\emph default
.
 The degree one atoms bonded to 
\emph on
anchor
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
a
\end_layout

\end_inset


\emph default
are gathered into a set 
\emph on
degreeOneNbors
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
a
\end_layout

\end_inset


\emph default
 and the unmapped atoms of degree greater than one which are bonded to 
\emph on
mapped
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
a
\end_layout

\end_inset


\emph default
are gathered into a set 
\emph on
unmappedDegreeGtOneNbors
\begin_inset script subscript

\begin_layout Plain Layout
b
\end_layout

\end_inset


\emph default
.
 The atoms in 
\emph on
degreeOneNbors
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
a
\end_layout

\end_inset


\emph default
are decomposed into groups of atoms 
\emph on
chemicalSimilarityGroups
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
a
\end_layout

\end_inset


\emph default
 which are a chemical match.
 So too are the atoms in 
\emph on
unmappedDegreeGtOneNbors
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
a
\end_layout

\end_inset


\emph default
 decomposed into 
\emph on
chemicalSimilarityGroups
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
b
\end_layout

\end_inset


\emph default
.
 These chemically similar groups are then paired up where possible such
 that a group 
\emph on
chemicalSimilarityGroup
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
a
\end_layout

\end_inset


\emph default
 in 
\emph on
chemicalSimilarityGroups
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
a
\end_layout

\end_inset


\emph default
contains atoms which are a chemical match for a group 
\emph on
chemicalSimilarityGroup
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
b
\end_layout

\end_inset


\emph default
 in
\emph on
 chemicalSimilarityGroups
\begin_inset script subscript

\begin_layout Plain Layout

\emph on
b
\end_layout

\end_inset


\emph default
.
 Each such pair is then considered in turn.
\end_layout

\end_body
\end_document

Adobe Reader에서는 다음과 같이 표시됩니다.

최소 예시 PDF 보기

관련 정보