Syntax for the buttons at the top of the text-editing box

If forum members wish to post tips on how to use phpBB, or other tips on the forum, please post them here
Post Reply
Stephen Hughes
Posts: 3332
Joined: February 26th, 2013, 7:12 am

Syntax for the buttons at the top of the text-editing box

Post by Stephen Hughes » November 25th, 2014, 11:06 pm

Here are a few posts explaining how to use the formatting buttons along the top of the text editing box.
Γελᾷ δ' ὁ μωρός, κἄν τι μὴ γέλοιον ᾖ
(Menander, Γνῶμαι μονόστιχοι 108)

Stephen Hughes
Posts: 3332
Joined: February 26th, 2013, 7:12 am

Re: Syntax for the buttons at the top of the text-editing bo

Post by Stephen Hughes » November 25th, 2014, 11:07 pm

The "List", "List=" and "[*]" buttons[/color][/size][/b]
This set of buttons produce one of 4 types of lists, either; plain list, bulleted, numbered or lettered lists. Lists within lists are possible too. The most important thing to remember is that the bullet is fundamental, and the numbers or letters are variants on it.

Rather than me waffle, take a look at these examples...

Example 1 - A list of four words:
  • τράπεζα, -ης, ἡ table (n.)
    τραπεζίτης, -ου, ὁ money-changer (n.)
    τραῦμα, -ατος, τό trauma (n.)
    τραυματίζω to wound (v.)
{list}τράπεζα, -ης, ἡ table (n.)
τραπεζίτης, -ου, ὁ money-changer (n.)
τραῦμα, -ατος, τό trauma (n.)
τραυματίζω to wound (v.){/list}


Example 2 - A list of four words (bulleted):
  • τράπεζα, -ης, ἡ table (n.)
  • τραπεζίτης, -ου, ὁ money-changer (n.)
  • τραῦμα, -ατος, τό trauma (n.)
  • τραυματίζω to wound (v.)
{list}{*}τράπεζα, -ης, ἡ table (n.)
{*}τραπεζίτης, -ου, ὁ money-changer (n.)
{*}τραῦμα, -ατος, τό trauma (n.)
{*}τραυματίζω to wound (v.){/list}


Example 3 - A list of four words (interspersedly bulleted):
  • τράπεζα, -ης, ἡ table (n.)
    τραπεζίτης, -ου, ὁ money-changer (n.)
  • τραῦμα, -ατος, τό trauma (n.)
    τραυματίζω to wound (v.)
{list}{*}τράπεζα, -ης, ἡ table (n.)
τραπεζίτης, -ου, ὁ money-changer (n.)
{*}τραῦμα, -ατος, τό trauma (n.)
τραυματίζω to wound (v.){/list}


Example 4 - A list of four words (numerically sequenced):
  1. τράπεζα, -ης, ἡ table (n.)
  2. τραπεζίτης, -ου, ὁ money-changer (n.)
  3. τραῦμα, -ατος, τό trauma (n.)
  4. τραυματίζω to wound (v.)
{list=1}{*}τράπεζα, -ης, ἡ table (n.)
{*}τραπεζίτης, -ου, ὁ money-changer (n.)
{*}τραῦμα, -ατος, τό trauma (n.)
{*}τραυματίζω to wound (v.){/list}

Example 5 - A list of four words (alphabetically sequenced):
  1. τράπεζα, -ης, ἡ table (n.)
  2. τραπεζίτης, -ου, ὁ money-changer (n.)
  3. τραῦμα, -ατος, τό trauma (n.)
  4. τραυματίζω to wound (v.)
{list=a}{*}τράπεζα, -ης, ἡ table (n.)
{*}τραπεζίτης, -ου, ὁ money-changer (n.)
{*}τραῦμα, -ατος, τό trauma (n.)
{*}τραυματίζω to wound (v.){/list}


Example 6 - A list of four words (segregated by root):
  1. τράπεζα
    1. τράπεζα, -ης, ἡ table (n.)
    2. τραπεζίτης, -ου, ὁ money-changer (n.)
  2. τραῦμα
    1. τραῦμα, -ατος, τό trauma (n.)
    2. τραυματίζω to wound (v.)
{list=1}{*}τράπεζα
{list=a}{*}τράπεζα, -ης, ἡ table (n.)
{*}τραπεζίτης, -ου, ὁ money-changer (n.){/list}
{*}τραῦμα
{list=a}{*}τραῦμα, -ατος, τό trauma (n.)
{*}τραυματίζω to wound (v.){/list}{/list}
Γελᾷ δ' ὁ μωρός, κἄν τι μὴ γέλοιον ᾖ
(Menander, Γνῶμαι μονόστιχοι 108)

Stephen Hughes
Posts: 3332
Joined: February 26th, 2013, 7:12 am

Re: Syntax for the buttons at the top of the text-editing bo

Post by Stephen Hughes » November 25th, 2014, 11:08 pm

The "Img" button
Images are not stored on B-Greek. You need to store your image elsewhere and then it will be included from another location by highlighting the URL of the image and then pressing the "Img" button.

Here is an example:
Image

Here is how it looks, except that I have used parentheses {}, whereas actually square brackets [] are needed.

{img}http://thumbs.photo.net/photo/3759892-sm.jpg{/img}
Γελᾷ δ' ὁ μωρός, κἄν τι μὴ γέλοιον ᾖ
(Menander, Γνῶμαι μονόστιχοι 108)

Stephen Hughes
Posts: 3332
Joined: February 26th, 2013, 7:12 am

Re: Syntax for the buttons at the top of the text-editing bo

Post by Stephen Hughes » November 25th, 2014, 11:09 pm

The "URL" button
It seems that it is necessary to specify the address with a www. at the front. Here is how the options look, except that I have used parentheses {}, whereas actually square brackets [] are needed.

For a simple hyperlink without breaking the flow of the text...
Here is the link to B-Greek.

{url=http://www.ibiblio.org/bgreek/forum/index.php}Here is the link to B-Greek.{/url}


If you want to make it visible and blue, then you will need to repeat it...
Here is the blog link: http://www.ibiblio.org/bgreek/forum/index.php[/quote]

Here is the blog link: {url=http://www.ibiblio.org/bgreek/forum/ind ... x.php{/url}
Γελᾷ δ' ὁ μωρός, κἄν τι μὴ γέλοιον ᾖ
(Menander, Γνῶμαι μονόστιχοι 108)

Stephen Hughes
Posts: 3332
Joined: February 26th, 2013, 7:12 am

Re: Syntax for the buttons at the top of the text-editing bo

Post by Stephen Hughes » November 25th, 2014, 11:09 pm

The "Font size" drop-down list
Highlight the text that you want to colour (not including the preceding and following spaces, then press (or press and hold) the drop-down list. The sizes are proportional to "Normal, and range from 200 (twice the size) for huge, down to 50 (half the size) for
tiny.

If you accidently double-tap, use the Ctrl-Z combination to undo. The whole text will highlight, so prepare some reference markers, so that you can find the area you are working on again easily. You cannot undo after you have pushed preview, but you can go back to previous previews on some devices, but be careful with that.

The font size can not be changed inside a font size change, so to produce Πολλοὶ δὲ τὰ ἱμάτια αὐτῶν ἔστρωσαν εἰς τὴν ὁδόν· ἄλλοι δὲ στοιβάδας ἔκοπτον ἐκ τῶν δένδρων, καὶ ἐστρώννυον εἰς τὴν ὁδόν. Many font-size changes are needed.

Here is how that looks, except that I have used parentheses {}, whereas actually square brackets [] are needed. {size=150}Πολλοὶ{/size} δὲ {size=85}τὰ ἱμάτια αὐτῶν{/size} {size=150}ἔστρωσαν{/size} {size=50}εἰς τὴν ὁδόν{/size}· {size=150}ἄλλοι{/size} δὲ {size=85}στοιβάδας{/size} {size=150}ἔκοπτον{/size} {size=50}ἐκ τῶν δένδρων{/size}, {size=150}καὶ ἐστρώννυον{/size} {size=50}εἰς τὴν ὁδόν{/size}.
Γελᾷ δ' ὁ μωρός, κἄν τι μὴ γέλοιον ᾖ
(Menander, Γνῶμαι μονόστιχοι 108)

Stephen Hughes
Posts: 3332
Joined: February 26th, 2013, 7:12 am

Re: Syntax for the buttons at the top of the text-editing bo

Post by Stephen Hughes » November 25th, 2014, 11:09 pm

The "Font colour" button
Highlight the text that you want to colour (not including the preceding and following spaces, then press the "Font colour" button, then press the colour that you want.) You can hover over the colours to see the hexadecimal numbers, if you are looking for a particular one.

If you accidently double-tap, use the Ctrl-Z combination to undo. The whole text will highlight, so prepare some reference markers, so that you can find the area you are working on again easily. You cannot undo after you have pushed preview, but you can go back to previous previews on some devices, but be careful with that.

Font colours are quite simple, except that you can not put a colour change within a colour. So, if you are writing a line in green, and want to include one word in red, like this: Καὶ ἀποκριθεὶς ὁ Ἰησοῦς εἶπεν αὐτῇ , Μηκέτι ἐκ σοῦ εἰς τὸν αἰῶνα μηδεὶς καρπὸν φάγοι. Καὶ ἤκουον οἱ μαθηταὶ αὐτοῦ. Then you actually have to use the font colour operation 3 times, not 2.

Here is how that looks, except that I have used parentheses {}, whereas actually square brackets [] are needed. Καὶ ἀποκριθεὶς ὁ Ἰησοῦς εἶπεν αὐτῇ , {color=#00BF00}Μηκέτι{/color} {color=#FF0000}ἐκ σοῦ{/color} {color=#00BF00}εἰς τὸν αἰῶνα μηδεὶς καρπὸν φάγοι.{/color} Καὶ ἤκουον οἱ μαθηταὶ αὐτοῦ.

If you are typing manually be careful of the spelling of colour / color. The button itself reads "Font colour" but the machine code uses "color". If you are really finicky about colour, besides the pre-made options, it is possible to manually change the hexadecimal number to one that you want yourself.
Γελᾷ δ' ὁ μωρός, κἄν τι μὴ γέλοιον ᾖ
(Menander, Γνῶμαι μονόστιχοι 108)

Stephen Hughes
Posts: 3332
Joined: February 26th, 2013, 7:12 am

Re: Syntax for the buttons at the top of the text-editing bo

Post by Stephen Hughes » November 25th, 2014, 11:22 pm

The "youtube" button
You don't need the full address, just the youtube number.

Here is an example:


Here is how it looks, except that I have used parentheses {}, whereas actually square brackets [] are needed.

{youtube}Q-s4tJGq5Ds{/youtube}

There is no need to include the address for the youtube in a full way because people viewing your page will be able to click on the small words "youtube" at the bottom of the video to go there.
Γελᾷ δ' ὁ μωρός, κἄν τι μὴ γέλοιον ᾖ
(Menander, Γνῶμαι μονόστιχοι 108)

Stephen Hughes
Posts: 3332
Joined: February 26th, 2013, 7:12 am

Re: Syntax for the buttons at the top of the text-editing bo

Post by Stephen Hughes » January 20th, 2015, 2:03 am

Using the "Font colour" button to control the colour of underlining
Different coloured text can either be underlined in black or in the colour of the text.

To underline in black the underlining is done first and the colouring second.
Highlight the text that you want to colour (not including the preceding and following spaces), then press the underline "u" button. Then press the "Font colour" button, then press the colour that you want.

To underline in the colour of the coloured text, the colouring is done first and the highlighting second.

Highlight the text that you want to colour (not including the preceding and following spaces), then press the "Font colour" button, then press the colour that you want. Then press the underline "u" button.

Here is an example with both types from Luke 16:3:

Εἶπεν δὲ ἐν ἑαυτῷ ὁ οἰκονόμος, Τί ποιήσω, ὅτι ὁ κύριός μου ἀφαιρεῖται τὴν οἰκονομίαν ἀπ’ ἐμοῦ; Σκάπτειν οὐκ ἰσχύω, ἐπαιτεῖν αἰσχύνομαι.

Here is how that looks, except that I have used parentheses {}, whereas actually square brackets [] are needed:

Εἶπεν δὲ ἐν ἑαυτῷ {u}{color=#FF0000}ὁ οἰκονόμος{/color}{/u}, Τί ποιήσω, ὅτι ὁ κύριός μου ἀφαιρεῖται {color=#FF0000}{u}τὴν οἰκονομίαν{/u}{/color} ἀπ’ ἐμοῦ; {u}{color=#FF0000}Σκάπτειν{/color}{/u}{u} {b}{size=150}οὐκ{/size}{/b} ἰσχύω{/u}, ἐπαιτεῖν αἰσχύνομαι.

N.B. It is not possible to have the text in one colour and the underline in another.
Γελᾷ δ' ὁ μωρός, κἄν τι μὴ γέλοιον ᾖ
(Menander, Γνῶμαι μονόστιχοι 108)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest