Automatic numbering sections book

Automatic numbering sections book - Mensajes

#1 Publicado: 3/9/2018 6:22:50
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

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

Automatic numbering sections book.sm (84,05 KiB) descargado 1679 vez(es).
A 2 usuarios les gustó este mensaje
frapuano 3/9/2018 8:14:00, Вячеслав Мезенцев 29/9/2018 22:49:00
#2 Publicado: 28/9/2018 21:34:35
Basile

Basile

8 me gusta en 172 mensajes.

Grupo: 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 Publicado: 30/9/2018 6:29:45
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: 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,25 KiB) descargado 1327 vez(es).

Best regards.

Alvaro.
A 1 usuarios les gustó este mensaje
#4 Publicado: 30/9/2018 14:20:51
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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

Mostrar spoiler

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Publicado: 30/9/2018 15:00:44
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: 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

Mostrar spoiler



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

Here, my old mcad 11 project for numbering pages.

numbers.zip (151,39 KiB) descargado 440 vez(es).
numbers.pdf (343,84 KiB) descargado 1118 vez(es).

Best regards.
Alvaro.
#6 Publicado: 30/9/2018 23:04:38
Basile

Basile

8 me gusta en 172 mensajes.

Grupo: User

I never looked outside the document...
Any table of contents, figures, tables, equations, possible?
Thank you.
Basile
#7 Publicado: 1/10/2018 1:27:12
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

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

Automatic numbering sections book v2.sm (38,76 KiB) descargado 1418 vez(es).
A 1 usuarios les gustó este mensaje
Davide Carpi 1/10/2018 3:25:00
#8 Publicado: 1/10/2018 5:04:38
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: 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,27 KiB) descargado 1636 vez(es).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#9 Publicado: 1/10/2018 15:46:23
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: 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 Publicado: 1/10/2018 20:56:27
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

The formated label version.
Best regards
Alvaro

Automatic numbering sections book - Formated label.sm (36,59 KiB) descargado 1576 vez(es).
A 5 usuarios les gustó este mensaje
Вячеслав Мезенцев 1/10/2018 21:10:00, frapuano 2/10/2018 6:05:00, sergio 21/1/2020 8:38:00, Igor K 1/10/2024 17:44:00, Thiago Pereira 10/6/2025 2:34:07
  • Nuevos mensajes
  • Sin mensajes nuevos