Search In This Website

Kamis, 20 November 2025

Multiple Title Lines In Latex

1. Open the Latex editor.
2. Type this following latex source code in latex editor:
% !TEX TS-program=pdflatex
% !TEX encoding=UTF-8 Unicode
% Distributed under the LaTeX Project Public License
% https://www.latex-project.org/lppl.txt
% file name: ATitleSpanningThreeLines.tex

\documentclass{article}

\title{\protect\parbox{\textwidth}{\protect\centering A title\\ Spanning\\ Three Lines}}
\author{The Author}

\begin{document}

\maketitle

\end{document}
3. save file as ATitleSpanningThreeLines.tex.
4. run the Typeset command or similar other command with pdfLatex.

Output



Bibliography

https://www.tutorialspoint.com/
https://tex.stackexchange.com/
https://www.techrepublic.com/

Tidak ada komentar:

Posting Komentar