[Tex/LaTex] Change the shape of the bullet list

itemizelyx

I am trying to change the shape of the bullet list by using Lyx 2.1.0.
The class of my document is report (and the language is French).

I want to change the form of bullet list dash to another.

Best Answer

Here is how you could use the enumitem package for this, via the LyX GUI.

  1. Document --> Settings --> Modules. Add the module called Customisable lists (enumitem).

  2. Create your list.

  3. Right click the first item in the list, and choose Itemize options:

    enter image description here

  4. In the inset that appears, write

    label=<whatever symbol you want>
    

    You can either use LaTeX code directly via an ERT inserted with Ctrl + L, or you can use Insert --> Special character --> Symbols, or any mathematical symbol from the math toolbar, by adding an inline math inset, with Ctrl + M.

Examples

  • To get the dagger, after writing label=, add an inline math inset with Ctrl + M and type \dagger to get the dagger symbol.

  • To get an em-dash, you can either add an ERT and type ---, or go to Insert --> Special character --> Symbols, and find the em dash under General punctuation.

  • There are various cross-shapes under the Dingbats group in Insert --> Special character --> Symbols.

    The pifont package also contains various cross-shapes. Try adding \usepackage{pifont} to the LaTeX preamble, and using \ding{55} or \ding{56} in an ERT.

    (By the way, tables 248 to 251 of The Comprehensive LaTeX symbol list lists such symbols from bbding and pifont.)

How it could look in LyX:

enter image description here

.lyx file for the above screenshot is below. You can save this as a something.lyx and open it in LyX.

#LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 474
\begin_document
\begin_header
\textclass article
\begin_preamble
\usepackage{pifont}
\end_preamble
\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
\font_sans default
\font_typewriter default
\font_math auto
\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
\spacing single
\use_hyperref 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 false
\justification true
\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
List with em-dash:
\end_layout

\begin_layout Itemize
\begin_inset Argument 1
status open

\begin_layout Plain Layout
label=
\begin_inset ERT
status open

\begin_layout Plain Layout

---
\end_layout

\end_inset


\end_layout

\end_inset

Lorem ipsum.
\end_layout

\begin_layout Standard
List with cross-shape from Insert --> Special character --> Symbol (
\family typewriter
bbding
\family default
-package):
\end_layout

\begin_layout Itemize
\begin_inset Argument 1
status open

\begin_layout Plain Layout
label=✗
\end_layout

\end_inset

Lorem ipsum
\end_layout

\begin_layout Standard
List with cross-shape from 
\family typewriter
pifont
\family default
:
\end_layout

\begin_layout Itemize
\begin_inset Argument 1
status open

\begin_layout Plain Layout
label=
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
ding{56}
\end_layout

\end_inset


\end_layout

\end_inset

Lorem ipsum
\end_layout

\end_body
\end_document
Related Question