# Insert numbering

**URL:** <https://community.silverfin.com/t/insert-numbering/547>\
**Category:** Templates\
**Tags:** styling\
**Created:** [December 20, 2017, 10:38am UTC](https://community.silverfin.com/t/insert-numbering/547 "2017-12-20T10:38:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ward](https://avatars.discourse-cdn.com/v4/letter/w/439d5e/32.png) [@Ward](https://community.silverfin.com/u/Ward)\
**Post date:** [December 20, 2017, 10:38am UTC](https://community.silverfin.com/t/insert-numbering/547/1 "2017-12-20T10:38:05Z")

</div>

Hi,

In our template “Schriftelijke algemene vergadering” I want to insert a numbering with the assign function, but it doesn’t seem to work. Can you tell me how I can fix this?

De {% case shareholder\_type %}{% when ‘vennoot’ %}vennoten{% when ‘vennoten’ %}vennoten{% else %}aandeelhouders{% endcase %} verklaren:

{% assign nr = nr | plus:1%}{{nr}}. Om met het jaarverslag van {% case director\_type %}{% when ‘zaakvoerder’ %}de zaakvoerder{% when ‘zaakvoerders’ %}{% if company.custom.directors.zaakvoerder.college ==“true” %}het college van zaakvoerders{% else %}de zaakvoerders{% endif %}{% when ‘bestuurders’ %}de raad van bestuur{% endcase %} in te stemmen.

{% if commissaris %}  
{::group}  
{% assign nr = nr | plus:1%}{{nr}}. Om met het verslag van de commissaris in te stemmen.  
{:/group}  
{% endif %}

{% if alarmbel %}  
{::group}  
{% assign nr = nr | plus:1%}{{nr}}. Om met het verslag opgemaakt door {% case director\_type %}{% when ‘zaakvoerder’ %}de zaakvoerder{% when ‘zaakvoerders’ %}{% if company.custom.directors.zaakvoerder.college ==“true” %}het college van zaakvoerders{% else %}de zaakvoerders{% endif %}{% when ‘bestuurders’ %}de raad van bestuur{% endcase %} in toepassing van artikel {% case director\_type %}{% when ‘zaakvoerder’ or ‘zaakvoerders’ %}332 {% if artikel\_333 %}en 333{% endif %}{% when ‘bestuurders’ %}633 {% if artikel\_634 %}en 634{% endif %}{% endcase %} W. Venn. in te stemmen, en bijgevolg de activiteiten van de vennootschap verder te zetten.  
{:/group}  
{% endif %}

Thanks in advance!  
Ward

---

<div class="post-metadata">

**Author:** ![SamVanEenoo](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/samvaneenoo/32/134_2.png) [@SamVanEenoo](https://community.silverfin.com/u/SamVanEenoo)\
**Post date:** [December 21, 2017, 8:44am UTC](https://community.silverfin.com/t/insert-numbering/547/3 "2017-12-21T08:44:50Z")

</div>

Hi Ward

It’s kinda hard to explain why this is occuring but i’ll try my best.

In silverfin, we have system that can automatically generate a list.

If you type

```
1. Topic A
1. Topic B
1. Topic C

```

De output in silverfin will look like this

```
1. Topic A
2. Topic B
3. Topic C

```

Even writing

```
2. Topic A
2. Topic B
2. Topic C

```

Will generate the same result

The moment you use an enter however the counting will restart, i.e.

```
1. Topic A
1. Topic B

1. Topic C

```

Will generate

```
1. Topic A
2. Topic B

1. Topic C

```

**Your code generates**

```
1. Topic A

2. Topic B

3. Topic C

```

But because of the enter in between it will look like this

```
1. Topic A

1. Topic B

1. Topic C

```

So in your case we wanna actually stop the code from doing this.

Now to make sure this automating numbering happens we need to start with

> 1.[space]Text

This space is very important.

In your case however we DON’T want the automatic numbering.  
You can prevent this from doing this:

```
1.&nbsp;Topic C

```

Hope this is clear and helps a bit

Kind regards  
Sam
