答案1
您可以使用可定制列表(enumitem)模块(使用 enumeitem 包)。
为此,请转到Document->Settings->Modules
并将可自定义列表(enumitem)模块添加到文档。
现在,像往常一样,在 lyx 中启动枚举布局,然后转到insert->Enumerate Option
(或只需按 alt+A 1),并在现在出现的插图中打开 ERT 布局Insert->TeX Code
(或 Ctr+L),并label=J-\arabic*.
为第一个列表或C-\arabic*.
第二个列表写入。
有关 enumeitem 包语法的更多信息,您应该阅读它的文档。这是一个包含所需输出的 lyx 文件:
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass article
\use_default_options true
\begin_modules
enumitem
\end_modules
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 1
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\pdf_bookmarks false
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle false
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date true
\justification true
\use_refstyle 1
\use_minted 0
\branch blind
\selected 1
\filename_suffix 0
\color #faf0e6
\end_branch
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\bullet 0 0 2 -1
\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 Enumerate
\begin_inset Argument 1
status open
\begin_layout Plain Layout
\begin_inset ERT
status open
\begin_layout Plain Layout
label=J-
\backslash
arabic*.
\end_layout
\end_inset
\end_layout
\end_inset
Journal 1
\end_layout
\begin_layout Enumerate
Journal 2
\end_layout
\begin_layout Standard
\begin_inset Separator plain
\end_inset
\end_layout
\begin_layout Enumerate
\begin_inset Argument 1
status open
\begin_layout Plain Layout
\begin_inset ERT
status open
\begin_layout Plain Layout
label=C-
\backslash
arabic*.
\end_layout
\end_inset
\end_layout
\end_inset
Paper 1
\end_layout
\begin_layout Enumerate
Paper 2
\end_layout
\end_body
\end_document