# 0.2 Typographic conventions

> Everything that belongs to the language looks like code; everything you have to fill in yourself looks like a slot.

Web page: https://pseudolearn.app/en/spec/lectura/convenciones

> **In one sentence**
>
> Everything that belongs to the language looks like code; everything you have to fill in yourself looks like a slot.

## 0.2.1 How it works

In English, "if" is an ordinary word and `If` is a word of the language. So they are never confused, every language word inside a paragraph appears as a **pill** with a shaded background and the same colours as the editor: `If`, `While`, `Define age As Integer`.

**Slots** are the places where something you choose goes. They are written between angle quotes, like «condition» or «name». They are never copied as they are: they are replaced by real code.

**Figure 0.2-1: Conventions of the specification**

Three stacked examples. A code pill with the word If; a dashed slot with the word condition; and a program block with a title, a line number, a Write instruction and, below, a band with the output.

The three ways of showing the language: a code pill, a slot and a program block with its output.

Complete programs go in numbered blocks. Below each block you see the output the engine produced and how the run ended. The "Try in the editor" button opens it as a new document.

### Program: A program with its output

```pseudolearn
Algorithm Edad
  Define edad As Integer <- 12;
  Write "Tengo ", edad, " años";
EndAlgorithm
```

**Output**

```text
Tengo 12 años
```

*The program finishes normally.*

## 0.2.2 Colours

Colours follow the editor. Words that structure the program (`If`, `While`, `Algorithm`) have one colour; subroutine words (`Subroutine`, `Return`) another; object words (`Class`, `New`) a third. Numbers, texts and boolean values have their own. Colour helps, but it is never the only clue: the text always says the same thing without colour.

**In short**
- Language words appear as code pills.
- Slots «like this» are replaced by your own code.
- Every program shows its real output below.
- The colours are the editor's.

**See also**
- [0.3 How to read a written form](https://pseudolearn.app/en/spec/lectura/formas.md)
- [2.5 Reserved words](https://pseudolearn.app/en/spec/lexico/palabras-reservadas.md)
