Advertisement
TheoremOfBeethoven

Manim/Help2

May 19th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. from manimlib.imports import *
  2.  
  3. class FontSC(TextMobject):
  4.     CONFIG = {
  5.         "alignment": "\\centering\\sc"
  6.     }
  7.  
  8. class ChangeFont(Scene):
  9.     def construct(self):
  10.         new_font=FontSC("que tal")
  11.         self.add(new_font)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement