Go to page:

Search:   Help



LyX documentation


Shared groups


LyX /

New in LyX 2.4

Categories: Development, LyX_2_4
<< | Page list | >>

About the new features in LyX 2.4.

What is new in LyX 2.4?

The LyX Team

March 2019

§ New features brought by the new file format

§ Variable table column width

LyX now features a "variable" table column width that makes the column automatically expand to match the specified table width (this feature uses the tabularx package for single-page and the xltabular package for multi-page tables)

§ Less constraints in standard table columns

LyX now allows paragraph and line breaks as well as layout changes in non-fixed width table columns. Internally, the column type "V" provided by the varwidth package is used for this purpose.

§ Float alignment

It has been requested by many users to be able to globally specify an alignment for all float contents. This is now possible. The default alignment of floats contents can now be set in Document→Settings...→Float Settings and locally modified in the Float Settings dialog:

§ Flexible text fields

LyX since long had a rather crude Insert→Date function that inserted a static date formatted via the strftime programm. Its usability was rather limited. To improve this, LyX 2.4 introduces the concept of "Fields" known from word processors. Most notably, it features different date and time formats which adapt to the context language. Besides these, some other information types such as file name, user name and user e-mail are available as well (next to types that are mostly relevant to developers and used in the LyX manuals, such as LaTeX package availability, LyX function shortcuts etc.; these latter information has been available for a long time, but its use was all but transparent).

§ List/Bibliography preambles

Via Insert→List Preamble or Insert→Bibliography Preamble, you can now insert LaTeX code between the beginning of a list or bibliography environment and the first item. This is helpful if you want to redefine counters or lengths, something that was hitherto only possible via ugly hacks in LyX.

§ Bibliography encoding

The bibliography databases can now have a different encoding than the LyX file (you can specify the divergent encoding in the BibTeX/BiblaTeX dialog).

§ Fonts

The following (LaTeX) fonts are now supported natively:

  • PT Fonts These "Public Types of Rus­sian Fed­er­a­tion" focus on Cyrillic and contain also Latin letters.
  • Enhanced Bitstream Charter fonts via the XCharter LaTeX package.
  • DejaVu
  • IBM Plex

§ New supported document languages

  • Malayalam (polyglossia only)

§ New supported LaTeX commands

  • Support for the landscape environment of the [pdf]lscape packages has been added in form of the new Landscape module.

§ Extensions

  • The possibility to switch between raw LaTeX input and formatted input in some dialog widgets has been extended to included listing's captions.

§ General improvements

Better Handling of Special Cases

  • LyX now has basic support for the cprotect package. This means that "verbatim" input can be used now at places where a LaTeX error would have occurred previously, such as verbatim paragraphs in frame boxes, URLs with characters such as '#' or '%' in section headings or footnotes or comment insets in captions, which allows us to resolve some really old bug reports.

User Interface improvements

  • The Text Style dialog, which has been very badly designed and thus subject to many bug reports and irritations, has been completely reworked and now looks and behaves more like users expect. Particularly the "toggling" behavior that irritated so many users has been dropped:
Furthermore, there is now an option to exclude text passages from spellchecking.
  • The "Apply recent text properties" and "Paste" toolbar buttons now provide a history (and thus let you apply more than just the most recent thing).
    The "Apply recent text properties" button furthermore provides an option to reset all font settings to the default value with one click:
  • Both Custom Character Styles and Custom Insets can now be directly selected from the toolbar.
  • The dialogs adapt better to your OS/Desktop environment (e.g., order of OK/Apply/Cancel buttons).
  • Collapsible insets can now be edited externally. This is enabled by the EditExternal inset layout tag. By default, Chunks and ERT can be so edited.

§ New translations of the LyX user interface

§ Shortcuts

§ New or changed LFUNs

The following functions have been added:

The following functions have been changed:

§ Layouts

§ Module enhancements

§ Image formats and conversion

§ New preferences settings

§ Miscellaneous

  • Improvements to advanced find, including increased speed and fixes to matching respecting format.

§ Under the hood

§ Backported


Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2019-03-10 10:45 CET