The code below produces a two word title, however, the two words are at the opposite ends of the page.
I'm not sure if this is addressed through justification or reducing space between the words.
Advice on how I can locate the two words closer together would be appreciated.
Code: Select all
\documentclass{article}
\usepackage{xcolor}
\usepackage{titlesec}
\usepackage[a4paper, total={6in, 8in}]{geometry}
\usepackage{graphicx}
\usepackage[english] {babel}
\usepackage{blindtext}
\usepackage[section]{placeins}
\usepackage{subcaption}
\usepackage[colorlinks]{hyperref}
\pagestyle {empty}
\usepackage[labelformat=empty]{caption}
\usepackage {wrapfig}
\titleformat*{\section}{\fontsize{12}{14}\selectfont}
\graphicspath{ {D:/a_surf/BB/bgpage/} }
\begin{document}
\pagecolor{yellow!30}
{\centering
\section {The M\={a}ori}
\end{document}