Le 10/06/2021 à 07:59, Kornel Benko a écrit :
I have an old lyx-file which has a long-table in a branch. See MWE.

I added a second long-table, but am unable to create an equivalent to the first 
table.

The display of the first branch is wrong.

How can I set/reset the indentation?

So indeed your first paragraph, and the first brancg each have a leftindent value of -1cm. This leftindent has been introduce almost 20 years ago:

==================
commit e4fffd74bc3f4b072929a5d3729bede295829764
Author: Jürgen Vigna <[email protected]>
Date:   Wed May 8 12:58:16 2002 +0000

This is the ParagraphIndent stuff compatibility. All of it only the GUI for inputing/changing values is missing, but this (if) will come after 1.2.0.
===================

I have see no evidence that the GUI has ever been implemented!

The way of setting it is:

/*!
 * \var lyx::FuncCode lyx::LFUN_PARAGRAPH_PARAMS
 * \li Action: Change paragraph settings.
* \li Notion: Modifies the current paragraph, or currently selected paragraphs. This function only modifies, and does not override, existing settings.
               Note that the "leftindent" indent setting is deprecated.
 * \li Syntax: paragraph-params [<INDENT>] [<SPACING>] [<ALIGN>] [<OTHERS>]
* \li Params: <INDENT>: \noindent|\indent|\indent-toggle|\leftindent LENGTH\n <SPACING>: \paragraph_spacing default|single|onehalf|double|other SIZE \n
               <ALIGN>:   \align block|left|right|center|default\n
               <OTHERS>:  \labelwidthstring WIDTH|\start_of_appendix
 * \li Origin: rgh, Aug 15 2007
 * \endvar
 */

Note that the setting is "deprecated" :)

I guess it is time to get rid of this thing. I am not sure how you got it into your document.

JMarc


--
lyx-devel mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to