[Tex/LaTex] How to set maintitle and subtitle?

titles

Recently, I have been translating a foreign paper that has main title and subtitle.

My trial:

\documentclass[UTF8]{ctexart}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{inputenc}
\usepackage{geometry} 
\geometry{left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm}
\begin{document}
\title{
 Simulatin Modelling Practice and Theoty \\ 
\begin{large} 
  Common Simulation of a SCARA robot with PD and learning controller
\end{large} }

\end{document}

However, it failed to achieve that effect.
The main title is Simulatin Modelling Practice and Theory, subtitle is »Simulation of a SCARA robot with PD and learning controller«. So my question is how to alter it?

Best Answer

I have no problem if I use \large instead of the non existent large environment.

\documentclass[UTF8]{ctexart}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{inputenc}
\usepackage{geometry}
\geometry{left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm}
\begin{document}

\title{%
  Simulating Modelling Practice and Theory \\
  \large Common Simulation of a SCARA robot \\
    with PD and learning controller}

\author{Shutao Tang}

\maketitle

\end{document}

enter image description here

Related Question