Sideway
output.to from Sideway
Draft for Information Only

Content

Basic Manim Tex Template
 Tex Template
tex_template.tex Template
 Source and Reference

Basic Manim Tex Template

Basic Manim Tex Template is a Latex template used for creating Tex Mobject.

Tex Template

There are two tex templates. The default Basic Manim tex template is tex_template.tex.
  • tex_template.tex
  • ctex_template.tex

tex_template.tex Template

\documentclass[preview]{standalone}

\usepackage[landscape,a0paper]{geometry}
\usepackage{anyfontsize}

\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{dsfont}
\usepackage{setspace}
\usepackage{tipa}
\usepackage{relsize}
\usepackage{textcomp}
\usepackage{mathrsfs}
\usepackage{calligra}
\usepackage{wasysym}
\usepackage{ragged2e}
\usepackage{physics}
\usepackage{xcolor}
\usepackage{microtype}
%\usepackage[UTF8]{ctex}

% single/double line spacing
\newcommand\txtdot{{\fontsize{0.005}{0.001}\selectfont .}}
\newcommand\dtxtdot{\txtdot\\}

\newcommand\titleA[1]{\textit{\textbf{\underline{#1}}}}
\newcommand\bR[1]{\vspace{0.1em\enspace #1}}
\newcommand\Part[0]{\par\hspace*{1em}}
\newcommand\BR[3]{\vspace{#1 em \hspace{#2 em} #3}}
\newcommand\Br[1]{\BR{0.2}{0.9}{#1}}

\newcommand\Bxz[2]{\linespread{#1}\selectfont\parbox{#2}}
\newcommand\Bxa{\Bxz{0.9}{14em}}
\newcommand\Bxah[1]{\Bxa{\hangindent=1em #1}}
\newcommand\Bxb{\Bxz{0.9}{28em}}
\newcommand\Bxbh[1]{\Bxb{\hangindent=1em #1}}
\newcommand\Bxc[1]{\Bxz{0.9}{#1 em}}
\newcommand\Bxch[2]{\Bxc{#1}{\hangindent=1em #2}}

\newcommand\Bxat[1]{\Bxa{\hspace*{1em}#1}}
\newcommand\Bxbt[1]{\Bxb{\hspace*{1em}#1}}
\newcommand\Bxct[2]{\Bxc #1{\hspace*{1em}#2}}

\newcommand\Bxx[1]{\hangindent=#1\makebox[#1][l]}
\newcommand\Bxai[3]{\Bxa{\Bxx{#1}{#2}#3}}
\newcommand\Bxbi[3]{\Bxb{\Bxx{#1}{#2}#3}}
\newcommand\Bxci[4]{\Bxc{#1}{\Bxx{#2}{#3}#4}}
\newcommand\Bxaia[2]{\Bxa{\Bxx{0.9em}{#1}#2}}
\newcommand\Bxaib[2]{\Bxa{\Bxx{1.4em}{#1}#2}}
\newcommand\Bxbia[2]{\Bxb{\Bxx{0.9em}{#1}#2}}
\newcommand\Bxbib[2]{\Bxb{\Bxx{1.4em}{#1}#2}}
\newcommand\Bxcia[3]{\Bxc{#1}{\Bxx{0.9em}{#2}#3}}
\newcommand\Bxcib[3]{\Bxc{#1}{\Bxx{1.4em}{#2}#3}}

\newcommand\Bxy[1]{\par\parshape 1 #1 \dimexpr\linewidth-#1\relax {}}
\newcommand\Fxb[1]{\Bxy{2em}{\linespread{0.1}\selectfont\parbox{\dimexpr\linewidth-2em}{\scriptsize#1}}}

\newcommand\Fxa[1]{\unskip\nobreak\hfil\penalty50
  \hskip2em\hbox{}\nobreak\hfil{\scriptsize#1}\parfillskip=0pt \finalhyphendemerits=0 \par}

\def\theLetterSpace{-1pt}
\def\extraWordSpace{-1pt}
\newcommand\spaceout[2][\theLetterSpace]{%
  \def\LocalLetterSpace{#1}\expandafter\spaceouthelpA#2 \relax\relax}
\def\spaceouthelpA#1 #2\relax{%
  \spaceouthelpB#1\relax\relax%
  \ifx\relax#2\else\kern\extraWordSpace\ \kern\LocalLetterSpace\spaceouthelpA#2\relax\fi
}
\def\spaceouthelpB#1#2\relax{%
  #1%
  \ifx\relax#2\else
    \kern\LocalLetterSpace\spaceouthelpB#2\relax%
  \fi
}
\def\textspA#1{\spaceout{#1}}


\DisableLigatures{encoding = *, family = * }
\linespread{1}
\tolerance=1
\emergencystretch=\maxdimen
\hyphenpenalty=10000
\hbadness=10000

\begin{document}

[tex_expression]
%YourTextHere

\end{document}

Source and Reference

https://github.com/SidewayOutput/Basic-Manim

©sideway

ID: 220400007 Last Updated: 4/7/2022 Revision: 0


Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Reference 79

Computer

Hardware 249

Software

Application 213

Digitization 32

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 429

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019