# Centering text?

**URL:** <https://forum.choiceofgames.com/t/centering-text/45914>\
**Category:** ChoiceScript Help\
**Created:** [November 8, 2018, 12:10am UTC](https://forum.choiceofgames.com/t/centering-text/45914 "2018-11-08T00:10:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![juniper](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/juniper/32/74577_2.png) [@juniper](https://forum.choiceofgames.com/u/juniper)\
**Post date:** [November 8, 2018, 12:10am UTC](https://forum.choiceofgames.com/t/centering-text/45914/1 "2018-11-08T00:10:54Z")

</div>

Is there a way to centralize text in choice script?

---

<div class="post-metadata">

**Author:** ![sviyagin](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/sviyagin/32/50885_2.png) [@sviyagin](https://forum.choiceofgames.com/u/sviyagin)\
**Post date:** [November 8, 2018, 12:20am UTC](https://forum.choiceofgames.com/t/centering-text/45914/2 "2018-11-08T00:20:56Z")

</div>

You mean like alignment? According to the [wiki](http://choicescriptdev.wikia.com/wiki/Text_formatting), there is not. But there’s a way around it by using an image instead. Hope that helps!

---

<div class="post-metadata">

**Author:** ![Cheion](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/cheion/32/68558_2.png) [@Cheion](https://forum.choiceofgames.com/u/Cheion)\
**Post date:** [November 8, 2018, 12:57am UTC](https://forum.choiceofgames.com/t/centering-text/45914/3 "2018-11-08T00:57:38Z")

</div>

~~Do note that images won’t be accessible to blind readers,~~ (Mod edit: this is not really precise, see below) so I would suggest just using text instead - but if you’re going for the image route, remember to add in a description of what the image is about, so they won’t miss out 🙂

---

<div class="post-metadata">

**Author:** ![RETowers](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/retowers/32/21477_2.png) [@RETowers](https://forum.choiceofgames.com/u/RETowers)\
**Post date:** [November 8, 2018, 1:54am UTC](https://forum.choiceofgames.com/t/centering-text/45914/5 "2018-11-08T01:54:11Z")

</div>

To make a text only image accessible to users who use screen readers, make sure that you include alt text. To do so, do this:

```choicescript
*text_image prologue.png Prologue: A Bedtime Story

```

or, if the image has color and/or is not on a transparent background:

```choicescript
*image prologue.png Prologue: A Bedtime Story

```

For this:

> ![Prologue: A Bedtime Story](https://www.choiceofgames.com/heart-of-the-house/prologue.png?hash=16dc1df507a01dc14d4071a294918de2)

I did a more involved post about chapter headers here, which is basically the main use of this:

> [@How to make quick and easy chapter headers](https://forum.choiceofgames.com/t/how-to-make-quick-and-easy-chapter-headers/44140):
>
> So, I see a lot of games come in without chapters headers, and I think this is a missed opportunity, because good looking chapter headers don’t have to be difficult. In fact, you can probably do them yourself for free! So, because I wanted to, I drew up a quick and easy walkthrough of how to make a good looking chapter headers in GIMP. For information on color in headers, [see this post.](https://forum.choiceofgames.com/t/how-to-make-quick-and-easy-chapter-headers/44140/22) First, you’re going to want to [download GIMP](https://www.gimp.org/). I recommend GIMP because it’s free, it’s available for Windows…
