manim/docs/source/examples/text.rst
kolibril13 a32302e578
More examples for the docs (#525)
Added Text examples, Annotations, and some other additional things

Co-authored-by: Leo Torres <leo@leotrs.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2020-10-12 19:35:38 +02:00

14 lines
472 B
ReStructuredText

Text
=================================
.. manim:: Example1Text
:save_last_frame:
class Example1Text(Scene):
def construct(self):
text = Text('Hello world').scale(3)
self.add(text)
This is an example that illustrates how to use the :class:`~.Text` class.
In case you want to use other alphabets like `你好` or `こんにちは` or `안녕하세요` or `مرحبا بالعالم`, you can have a look at :class:`~.PangoText`