# How to spell your three names in three lines

**URL:** <https://discourse.processing.org/t/how-to-spell-your-three-names-in-three-lines/19574>\
**Category:** Coding Questions\
**Tags:** homework\
**Created:** [April 9, 2020, 10:43am UTC](https://discourse.processing.org/t/how-to-spell-your-three-names-in-three-lines/19574 "2020-04-09T10:43:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![karakara](https://avatars.discourse-cdn.com/v4/letter/k/74df32/32.png) [@karakara](https://discourse.processing.org/u/karakara)\
**Post date:** [April 9, 2020, 10:43am UTC](https://discourse.processing.org/t/how-to-spell-your-three-names-in-three-lines/19574/1 "2020-04-09T10:43:54Z")

</div>

Help please! To write a program on the Processing screen of 1000/1000 sizes. Spell your three names in three lines of your choice. Each name should begin with a capital letter. Choose the right font and the right color for the text

This is what I do:

```auto
size(1000,1000);
background (#D8EFFC);

String lines="Tisi\nIni\nBiks";
fill(#E90B83);
textSize(58);

textLeading(10);
text(lines,10,70);
String c="T";
text(c,100,150);
String s="Tisi";
text(s,100,305);

textLeading(20);
text(lines,40,70);
String v="I";
text(v,200,250);
String b="Ini";
text(b,100,305);

textLeading(30);
text(lines,70,70);
String f="B";
text(f,300,350);
String a="Biks";
text(a,100,305);

```

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [April 9, 2020, 10:50am UTC](https://discourse.processing.org/t/how-to-spell-your-three-names-in-three-lines/19574/2 "2020-04-09T10:50:54Z")

</div>

Hello,

The subject should be a _brief description_ and you can elaborate with details in the post.

Please format your code:  
[https://discourse.processing.org/faq#format-your-code](https://discourse.processing.org/faq#format-your-code)

You can go back and edit this.

`:)`

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [April 9, 2020, 10:55am UTC](https://discourse.processing.org/t/how-to-spell-your-three-names-in-three-lines/19574/3 "2020-04-09T10:55:42Z")

</div>

Hello

and welcome to the forum!

Great to have you here!

do you have a question regarding your code or the assignment?

Look at PFont and createFont please

> Each name should begin with a capital letter.

I think this only means not to write thomas but Thomas

no need to treat the first letter separately.

It doesn’t make sense to have this String lines=“Tisi\nIni\nBiks”; because later you write the names separately anyway

Warm regards,

Chrisir
