Automatic numbering sections book

Automatic numbering sections book - Сообщения

#1 Опубликовано: 03.09.2018 06:22:50
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: User

A template about how to create automatic numbering sections, figures, tables and equation labels.
Best regards.
Alvaro.

Automatic numbering sections book.sm (84 КиБ) скачан 338 раз(а).
2 пользователям понравился этот пост
frapuano 03.09.2018 08:14:00, Вячеслав Мезенцев 29.09.2018 22:49:00
#2 Опубликовано: 28.09.2018 21:34:35
Basile

Basile

8 сообщений из 172 понравились пользователям.

Группа: User

Razonar,
How do you start from paragraph 1? preferably 0?

Thanks,
Basile
PS. Can this be extended to have an automatic Table of Contents, List of Figures, List of Tables, and List of Equations?
#3 Опубликовано: 30.09.2018 06:29:45
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: User

Wrote

Razonar,
How do you start from paragraph 1? preferably 0?

Thanks,
Basile
PS. Can this be extended to have an automatic Table of Contents, List of Figures, List of Tables, and List of Equations?



Hi Basile. You can start from any paragraph pointing the value of the variable '§, for example from paragraph six is: '§:mat(5,1,1)

Clipboard01.jpg

For paragraph 1 use zero as starting value.

Yes, I it's possible automate the TOC, but I don't know how to catch in the SMath document the page number, so, I can do that but manually adding it. Index at the end of the attached.

Automatic numbering sections book.sm (85 КиБ) скачан 103 раз(а).

Best regards.

Alvaro.
1 пользователям понравился этот пост
#4 Опубликовано: 30.09.2018 14:20:51
Davide Carpi

Davide Carpi

1417 сообщений из 2873 понравились пользователям.

Группа: Moderator

Very nice

I guess you can add the code in a function to reduce the code repetition and call only that function on the region placeholder

Показать спойлер

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Опубликовано: 30.09.2018 15:00:44
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: User

Wrote

Very nice

I guess you can add the code in a function to reduce the code repetition and call only that function on the region placeholder

Показать спойлер



Yes, it's possible, let's me see if can do that.

Here, my old mcad 11 project for numbering pages.

numbers.zip (151 КиБ) скачан 97 раз(а).
numbers.pdf (343 КиБ) скачан 148 раз(а).

Best regards.
Alvaro.
#6 Опубликовано: 30.09.2018 23:04:38
Basile

Basile

8 сообщений из 172 понравились пользователям.

Группа: User

I never looked outside the document...
Any table of contents, figures, tables, equations, possible?
Thank you.
Basile
#7 Опубликовано: 01.10.2018 01:27:12
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: User

Hi. The One-Function version, with TOC at the end.
Best regards
Alvaro.

Automatic numbering sections book v2.sm (38 КиБ) скачан 132 раз(а).
1 пользователям понравился этот пост
Davide Carpi 01.10.2018 03:25:00
#8 Опубликовано: 01.10.2018 05:04:38
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

You can display the index at the begin of the document if you assign it to an absolute variable at the end (those variables starting with a tilde ~)
On german keyboards, the tilde has to be copied from a text region as it is catched as a hotkey for boolean = in math regions).

BTW, why don't you use formatted labels?

2018-10-01 09_58_08-SMath Studio 0.99.6839 - [Automatic%20numbering%20sections%20book%20v3.sm].png
Automatic%20numbering%20sections%20book%20v3.sm (40 КиБ) скачан 97 раз(а).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#9 Опубликовано: 01.10.2018 15:46:23
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: User

Hi Martin. Thanks for the update about global variables. I don't use formated labels because I want only to show how get automatic numbering into several SMath documents with native SMath tools. Without any doubt with formated labels it will looks great.

Best regards
Alvaro
#10 Опубликовано: 01.10.2018 20:56:27
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: User

The formated label version.
Best regards
Alvaro

Automatic numbering sections book - Formated label.sm (36 КиБ) скачан 276 раз(а).
4 пользователям понравился этот пост
Вячеслав Мезенцев 01.10.2018 21:10:00, frapuano 02.10.2018 06:05:00, sergio 21.01.2020 08:38:00, Igor K 01.10.2024 17:44:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений