# Bold formatting and text size

**URL:** https://community.silverfin.com/t/bold-formatting-and-text-size/1509
**Category:** Templates
**Created:** [June 14, 2019, 2:02pm UTC](https://community.silverfin.com/t/bold-formatting-and-text-size/1509 "2019-06-14T14:02:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jhanley](https://avatars.discourse-cdn.com/v4/letter/j/43a26b/32.png) [@jhanley](https://community.silverfin.com/u/jhanley)
#### Post date: [June 14, 2019, 2:02pm UTC](https://community.silverfin.com/t/bold-formatting-and-text-size/1509/1 "2019-06-14T14:02:47Z")

</div>

Hi,

I have a template which seems to be inconsistently applying bold formatting on my exports.

> **Code being used**
>
> ```auto
> {% stripnewlines %}
> {% comment %}
> ================================================================================================================================================
> Introduction
> ================================================================================================================================================
> {% endcomment %} 
> {% ic %}
> |:-5%-:|-95%-+
> {% newline %}
> |{% input custom.executive_summary.bolIntrodution as:boolean %}
> |{% endic %}{% if custom.executive_summary.bolIntrodution == true %}
> <font size="10">{% input custom.executive_summary.txtIntroduction placeholder:"Please input an introduction" as:text %}
> {% ic %}{% newline %}|{% newline %}{% endic %}
> {% nic %}<br><br>{% endnic %}
> {% else %}
> {%ic%}*{% t "Tick to include an" %} **<font color="065da9">{% t "Introduction" %}</font>***
> {% newline %}|{% newline %}{% endic %}
> {% endif %}
> {% comment %}
> ================================================================================================================================================
> End of section
> ================================================================================================================================================
> {% endcomment %} 
> 
> {% comment %}
> ================================================================================================================================================
> Fixed Assets
> ================================================================================================================================================
> {% endcomment %} 
> {% ic %}
> {% newline %}
> |:-5%-:|-95%-+
> {% newline %}
> |{% input custom.executive_summary.bolFixedAssets as:boolean %}
> |{% endic %}{% if custom.executive_summary.bolFixedAssets == true %}
> {% ic %} **<font color="065da9">Fixed Assets</font>** {% newline %}{% endic %}
> {% nic %} **<font color="065da9" size="10">Fixed Assets</font>** <br>{% endnic %}
> {% ic %}
> || {% endic %}<font size="10">{% input custom.executive_summary.txtFixedAssets placeholder:"Please provide additional commentary" as:text %}
> {% ic %}{% newline %}|{% newline %}{% endic %}
> {% nic %}<br><br>{% endnic %}
> {% else %}
> {% ic %}*{% t "Tick to include commentary on" %} **<font color="065da9">{% t "Fixed Assets" %}</font>***
> {% newline %}|{% newline %}{% endic %}
> {% endif %}
> {% comment %}
> ================================================================================================================================================
> End of section
> ================================================================================================================================================
> {% endcomment %}
> {% endstripnewlines %}
> 
> ```

When ticking for example just ‘Fixed assets’ and previewing the export, the title ‘Fixed assets’ is bold:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/2X/2/2e09a960db81c058d62c9f56492ace9513beb894.png)

If you tick both ‘Introduction’ and ‘Fixed assets’, the preview will show the title ‘Fixed assets’ as ‘` **`Fixed assets`** `’ and will no longer be bold?

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/2X/9/9c7d8176b1f98ce327de933d7f2e58a824df805e.png)

Is there something wrong with the code, as I can’t seem to understand what is causing this problem.

Also, is there a way to stop the display of the text being so large? We’re using font size 10 for our export, but the liquid screen is much larger than font size 10 as you can see above?

Many thanks  
Joe

---

<div class="post-metadata">

### Author: ![borjaGonzalez](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/borjagonzalez/32/825_2.png) [@borjaGonzalez](https://community.silverfin.com/u/borjaGonzalez)
#### Post date: [June 14, 2019, 2:51pm UTC](https://community.silverfin.com/t/bold-formatting-and-text-size/1509/2 "2019-06-14T14:51:14Z")

</div>

> [@jhanley](#):
>
> {% input custom.executive\_summary.txtIntroduction placeholder:“Please input an introduction” as:text %}

Hi Joe,

Your are missing the closing tag `</font>` on the first title, it should be like this:

`<font size="10">{% input custom.executive_summary.txtIntroduction placeholder:"Please input an introduction" as:text %}</font>`

In regards to your second query, the font size does not match the one in export so you should try using size 3 or perhaps.

Best,  
Borja

---

<div class="post-metadata">

### Author: ![sven](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/sven/32/1495_2.png) [@sven](https://community.silverfin.com/u/sven)
#### Post date: [June 18, 2019, 6:49am UTC](https://community.silverfin.com/t/bold-formatting-and-text-size/1509/3 "2019-06-18T06:49:09Z")

</div>

Morning all,

Actually you should use font sizes this way:

> [@CASE: how to use font sizes correctly](https://community.silverfin.com/t/case-how-to-use-font-sizes-correctly/607):
>
> :bulb:You now can use this in templates: {::font size="xs"}Tim is a very tiny genius{:/font} {::font size="s"}Tim is a tiny genius{:/font} {::font size="m"}Tim is a medium genius{:/font} {::font size="l"}Tim is a big genius{:/font} {::font size="xl"}Tim is a very big genius{:/font} which gives this as a result : [00]

If you use the size numbers, they’ll give a strange behaviour as you’ve notices, which is why above code was made 🙂
