Номера контуров главы в качестве инициалов в LibreOffice Writer?

760
lfd

Я пытаюсь, чтобы в качестве инициалов в LibreOffice Writer использовались номера главы (наброски) уровня 1.

Я установил стиль символов, который дает мне большие номера заголовков, но все они начинаются с базовой линии вверх (большинство чисел расположены над буквами в строке заголовка).

Мне не нужна буквица (текст под номером), номер может быть все слева от заголовка.

Я ищу решение в LibreOffice, но любой текстовый процессор, работающий с ODT, будет в порядке. В последнем случае MS Word или что-нибудь, производящее DOC.

3
Я думаю, что было бы полезно, если бы вы добавили изображение именно того, что вы пытаетесь достичь. Rik 10 лет назад 0
! [Это первая страница такого документа] (http://dutra.fastmail.fm/termo_refer%C3%AAncia_completo_v3_p1.pdf). В настоящее время он состоит из двух столбцов, первый из которых очень узкий и содержит только цифры. Редактирование становится очень громоздким. То, к чему я стремлюсь, - в идеале сделать эти числа автоматическими. lfd 10 лет назад 0

1 ответ на вопрос

3
Rik

I think it will be very difficult (seeing your example) to work with the normal "Automatic numbering". It can be done with some effort but there are serious drawbacks. You can't use the space below the first line of text because your number is big. You can only put a frame there. Also with every enter you do, there is a new number created.

Your best bet would be to use linked-frames with numbers.

Set a comfortable margin for your document (enough for the numbers). Set your cursor on the first line and choose Insert, Frame and set the properties:

Frame properties

Also set the borderlines/Linestyle to None. After that set a big number 1 in the frame and drag the frame left of the margin (before the paragraph). Make sure the anchor stays on the first letter of your line. In the properties of the frame the Horizontal by will be negative.

Anchor

Selecting the frame you can press Ctrl+C and going to the next line and pressing Ctrl+V to copy a frame there. Change the numbers accordingly.

Now these frames (which are left of the margin) are linked to the first character of your chosen lines and they will flow with it.

Instead of setting a big number in the frame you could set Numbering On and adding a space. When copying the frames the frame will number automatically. But you need to see if this is convenient. Adding a number between two others will result in the numbers not being sequential. I think numbering manually is easiest in this situation.

Result


Edit: I found another method of autonumbering:

You can use this with the linked frames but you can also make a table without borders e.g. 6x2, whichever you find easier, for example below i used a table. A table might be handier when inserting a new section.

Instead of typing the 1, 2 etc you choose Insert, Fields, Other (or use Ctrl+F2), Choose Variables and Number Range and in Name type Nr1 and a value of 1 and press Insert.

Number range

Now close the dialog and goto the second row. Open the dialog again (Ctrl+F2) choose Nr1 from Selections and press Insert. (The Value is empty in this dialog but because it's a number range it will automatically take last value +1.

Now you can copy the numbers from row 2 to the other rows or use Ctrl+F2 and choose Nr1 again. (Don't copy it from row 1 because that has value 1 set, and not +1)

The result should be like this: (You can switch between numbers and hidden variable with Ctrl+F9 and whenever you insert a row you can use Ctrl+F2 to insert the number, it will keep the numbers sequential, also when inserting a row.) Of course you can make the numbers bigger.

Result

And after Ctrl+F9 and making the numbers bigger:

Result

Большое спасибо, я не знал об этой функции кадра. Учитывая, что я потерял бы автоматическую нумерацию, я думаю, что я попытаюсь посмотреть, смогу ли я изменить макет документа, даже если это означает, что номер элемента будет иметь одинаковый размер абзаца или будет увеличен в сторону увеличения. Или, учитывая, что в данном конкретном случае модель более или менее фиксирована и вполне фиксирована, когда дело доходит до нумерации, я мог бы просто нумеровать вручную и использовать инициалы. lfd 10 лет назад 0
Pfew ... (это много изображений :) Я добавил другой метод, где вы ** можете ** использовать автонумерацию. Может быть проще использовать таблицы (без границ) вместо связанных рамок (строки таблицы легче вставлять между существующими строками). Но вы можете использовать этот метод автонумерации как с таблицей, так и с методом связанных фреймов. Rik 10 лет назад 1
Я действительно впечатлен. lfd 10 лет назад 0
Я немного отредактировал мою правку. Кажется, что вы можете сделать это с одной переменной (и вам не нужен `Nr1_next`). Когда` Nr1` - это `диапазон чисел`, он будет автоматически увеличиваться на единицу при каждом использовании (только не ** копируйте ** это из первой строки / ячейки, потому что вместо `+ 1 'установлено` 1`, это можно увидеть, если дважды щелкнуть по нему). Я тоже много узнаю о LibreOffice :) Rik 10 лет назад 0
Вы уверены, что быстро учитесь! lfd 10 лет назад 0

Похожие вопросы