Yes, I have.
The lists in it are based exclusively on the list template Level 1-2
, which was also newly created.
You can check this in the Outline &List tab.
Edit:
You only need 2 paragraph styles because the bold font is used once.
Yes, I have.
The lists in it are based exclusively on the list template Level 1-2
, which was also newly created.
You can check this in the Outline &List tab.
You only need 2 paragraph styles because the bold font is used once.
You can’t have a level-2 item where the first has a full number (levels 1+2) and the next ones only the number for the current level (level 2 only). Either use full numbers for every item or add an empty level-1 item (the “3.” number will appear as a separate paragraph).
Presently, Writer does not support “inline paragraphs”, i.e. paragraph for which the “next-line” action is suppressed at end of paragraph. Consequently, you can layout several list items in the same line.
There could be a substitute with Numbering range fields but you’ll need as many numbers ranges as questions, which is not user-friendly.
So you created 2 custom styles one is named as “Level 1” and the other is “Level 2”. Then you edited the “Level 1” in its Outline & List tab to include both “Level 1” and “Level 2”. Is that correct? And if so, did you create “Level 1” and “Level 2” styles from the preset style that is simply called “List”?
First create a testbench using Numbering 1 and Numbering 1 Cont. styles (find them in the List Styles category under Paragraph Styles). Example:
Then edit your Numbering 1 style to apply numbering via this dialog:
You may have to modify the formatting values of the Numbering 123 List style according to your liking. This will affect all list styles using Numbering 123:
Finally, modify your Numbering 1 Cont. style to match the ident of Numbering 1:
To achieve your final objective, set Numbering 1 Cont. to a negative First Line Indent and proportionally expand your Before Text indent:
You’ll be able to type your answer letters and then hit tab. As you see above, the rest of the text is properly and professionally aligned.
So I have to type the answer letters manually then?
Yes, otherwise you’ll have to create a 2nd level list. I personally tried that and found it too difficult to handle, especially if you are trying to shoehorn multiple choices in the same line. It’s better to have some flexibility in the answers region.
Please @Stokpan, stop giving buggy recipes. Learn how to master list styles. The more @umitseyhan asks for help, the more you confuse him.
The case is quite simple: there is a question at level 1 and possible answers at level 2. The numbering can be achived with a single list style. Let’s use Numbering 1. Level 1 will be numbered numerically, level 2 alphabetically. Alignment and indent will be set as necessary in those levels.
If both questions and answers look the same (same font size and weight), we can use a single paragraph style, e.g. Numbering 1. If questions and answers have a different aspect, we can use Numbering 1 Start to give a distinctive look to the question.
See example document AskLOMultiFormatList.odt (38.9 KB)
The issu here is there needs to be 3 listings: First is the question number (3.), second is the premise listing (I. II. III.) which needs to start at the same line question number starts, and lastly the answers (A B C D E) which needs to be listed horizontally and not vertically.
Yes I know. We are clearly coming from similar backgrounds.
I have already answered to this objection here. This can’t be done with the list feature.
If OP is ready to accept a tedious manual process based on “number range” fields and partly cross-references, I can explain the complicated workaround. It is guaranteed consistent numbering but it is not user-friendly.
The closest I could achieve is shown in AskLOInlineNumbering.odt (13.5 KB).
Thank you for the workaround, but seems like I will have to put direct formatting here and there for different question types no matter what I do. Automation works best for regular texts and not for exam documents.
Not really direct formatting but, from user’s point of view, it has the same effect: manual configuration in each question. The manual non-automatable part is: you must create one number range per question (conditions) and another one for answers to the question.
Number range for conditions can be eliminated if question number is on a line by itself or if all conditions also bear the question number. Then conditions car be numbered with the list feature at level 2.
Learn how to use styles. Your sample file is plagued with direct formatting which is incompatible with “smart” solutions.
The first thing to understand is that styles denote various significances.
Your document contains questions and answers. These are two different “significances”. Therefore they should be distinguished by styles; There are two main ways to do it (others are possible):
This is a combination of a paragraph style and a list style. You associate the list style to the paragraph style in the Outline & List
tab.
The paragraph style will define the typographical attributes of the items. The list style defines numbering (e.g. number at level 1, letter at level 2), indentation and alignment of left edge of item text. The indent parameter id the one you’re looking for.
Since you want to emphasize the question with regard to answers, I don’t recommend this solution because the same paragraph style is applied to all levels. Don’t apply direct formatting to embolden the question as direct formatting always leads to later problems.
A list is semantically defined by a list style. Associating the same list style to several paragraph styles makes them member of the same logical list. Having several paragraph styles allows to vary item formatting.
BUT, you can’t assign a list level to your paragraph styles. Consequently, you’ll have to promote manually your items to the required level, hitting Tab at the very beginning of the item until you reach your level. You can demote an item by hitting Shift+Tab also at the very beginning of the item.
As always, the left indent and first line position of the item is controlled by the list style, not the paragraph style.
This is a form of direct formatting mainly offered as a compatibility feature with M$ Word. Don’t use it. Because it is direct formatting, which should be enough to discard it. Because it had to be twisted in a very contorted way which can make updates to your document very difficult. Since Word has no notion of styles, particularly list styles, the concept of list is not based on a rigorous definition making detection of list membership extremely difficult and this leads to situation where numbering gets wild.
Prefer list styles, even if understand and mastering the feature is hard. But after that, applying a list styles implies membership to a list without ambiguity (you can then have interleaved lists without problems).
“What about Format>Bullets & Numbering ? This is a form of direct formatting mainly offered as a compatibility feature with M$ Word.”
Not quite. Bullets and numbering defines the style for all specific uses of bullet and numbering styles. It’s essential to understand and use it if you wish to customize your list styles.
Wrong. Format
>Bullets & Numbering
is an awful tweak to circumvent beginners’ difficulty in understanding list styles (and I admit it is very difficult to master them). Having a “one-size-fits-all” direct numbering feature results in a fundamental difficulty in identifying where a different list (semantically-wise) starts or ends so that you can apply a different numbering. This also explains why modifying Format
>Bullets & Numbering
has no global effect on your lists. It may have a local effect if your cursor is adequately positioned. All these difficulties are lifted when you use list styles since application of such a list style clearly identifies the nature of the list. Modifying the list style will then have the expected global effect as with all other styles.
But, once again, this may be the style category hardest to master.
As always, for your peace of mind and ease of changing your layout/formatting, work with styles and not direct formatting.
EDIT
Looking at your corrected sample document, you didn’t use Format
>Bullets & Numbering
; you created a custom list style Level 1-2. This is the “professional” way of doing it. However, DON’T use Format
>Bullets & Numbering
to modify it. You’ll add a direct formatting layer over the existing style layers. Mixing DF and styling is the beginning of formatting hell.
When you go to a the Outline & List tab of a List paragraph style, the “Edit Style” button leads you to the same dialog as in Format > Bullets & Numbering.
That’s because it’s the same thing, it’s the same organizer and the same dialog. It’s being located under the Format menu doesn’t mean that it’s direct formatting. It’s not.
Yes, but you don’t quite understand the architecture of Writer styles. What you describe is an indirect access to a list style through a paragraph style description (I fixed the faulty word in your comment).
Format
>Bullets & Numbering
is direct formatting. Don’t be confused by the fact the dialog are the same. This is simply because they both use the same tool, but Format
>Bullets & Numbering
does not alter any list style. It creates an “anonymous” instance of DF.
Sigh.
It’s impossible to create a numbering or bulleted style in LibreOffice that cannot be affected by Format > Bullets & Numbering.
There’s an easy way to test this. Create a numbered list using a style.
Then go to Format > Bullets & Numbering and modify that specific category. You’ll see that your style will change.
What’s the point of arguing here ?
Let me explain.
Here’s my “Numbering 1” style:
Then I’m modifying “Numbering 2” style Outline and List via the “Edit Style” button.
According to your statement that won’t affect Numbering 1 because you think that Format
>Bullets & Numbering
creates an “anonymous” instance of DF.
But it actually does:
See ?
The problem in your “demonstration” is the confusion in your mind between paragraph and list styles, and within this last category between “explicit” styles and implicit direct-format Bullets & Numbering
.
You have customised paragraph style Numbering 1 by associating it with list style Numbering 123. Similarly, you have associated paragraph style Numbering 2 with the same list style Numbering 123. Semantically, both paragraph styles are now members of the same logical list identified by Numbering 123.
When you Edit Style in Numbering 1, you enter list style editing (you temporarily leave paragraph style editing) to modify list style Numbering 123. Since this style is also associated with Numbering 2, this paragraph style is also affected by the changes.
The confusionprobably comes from the fact the several built-in paragraph styles are names List x and Numbering y to suggest their use. But, as shipped from the factory, they won’t create a bullet/numbered list until you associate them with some list style (an independent category of styles), just like you did to attach them to Numbering 123.
You can access list styles directly by clicking on the fifth icon from the left in the style side pane toolbar.
I also insist once again that Format
>Bullets & Numbering
is a different thing. It is the same as the list buttons in the toolbar: a direct formatting instance. Don’t be confused by the dialog aspect. It is absolutely normal that the dialogs are the same because they configure the same thing. Their effect diverge when you press the OK button. In one case, the new settings are recorded in a named list style; in the second case, it is applied as direct formatting to the current paragraph.
The hard point is to understand that a list involves two style categories: a paragraph style for the general look of the text; a list style for the bullet/number properties. They are independent from each other. A list look is the result of applying a list style over a paragraph. This can be done permanently by having Outline & List
point to a list style (then everything is automatic as soon as the paragraph style is applied) or on a case by case basis by manually applying the list style to any paragraph.