ascii-art.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 05 Aug 2015 23:55:34 +0300
changeset 1729 22ffd80639c0
parent 1560 9c09e84a175a
child 1905 fba288d59662
permissions -rw-r--r--
Make centered content design with adoption for mobile devices. Highlight TOC.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1559
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
.. -*- coding: utf-8; -*-
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
.. include:: HEADER.rst
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
============
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
 ASCII art.
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
============
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
.. contents::
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
Make ASCII logo.
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
================
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
``figlet``::
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
1560
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    14
  $ sudo apt-get install figlet
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    15
1559
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
  $ figlet "Hello world"
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
  $ figlet -f slant "Hello world"
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    19
With spaces between letters::
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    20
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    21
  $ figlet -k -f shadow "Hello world"
dea9d0590c4f Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    22
1560
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    23
``sysvbanner``::
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    24
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    25
  $ sudo apt-get install sysvbanner
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    26
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    27
  $ banner Hello
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    28
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    29
``cowsay``::
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    30
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    31
  $ sudo apt-get install cowsay
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    32
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    33
  $ cowsay Hello
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    34
  $ cowsay -f duck Hello
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    35
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    36
To get list of available cow picture file::
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    37
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    38
  $ cowsay -l
9c09e84a175a Make ASCII logo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1559
diff changeset
    39