I would like three things:
- uppercase title and label,
- not bold, and
- centered.
I put the respective commands in the {label}
section of the \titleformat
command but nothing is happening. Both label and title appear to the left, bold, and not uppercase.
I just spent two hours reading the documentation for Titlesec and I must confess I did not get all of it. Please, help.
\documentclass[letterpaper,12pt]{book}
\usepackage[hmargin={1in},vmargin=1in]{geometry}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyfoot[L,R]{}
\fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\usepackage{titlesec}
\titleformat{\chapter}[display]{\normalfont\Large\rmfamily}{\filcenter\MakeUppercase{\chaptertitlename} \thechapter}{1pc}{}
\usepackage{setspace}
\AtBeginDocument{\doublespacing}
\usepackage{stackengine}
\usepackage{polyglossia}
\usepackage{fontspec}
\setmainlanguage[variant=us]{english}
\setotherlanguage{hebrew}
\setotherlanguage[variant=ancient]{greek}
\setmainfont{Times New Roman}
\newfontfamily\greekfont[Script=Greek, Scale=MatchUppercase, Ligatures=TeX]{SBL BibLit}
\newfontfamily\hebrewfont[Script=Hebrew,Contextuals=Alternate,Ligatures=Required]{SBL BibLit}
\begin{document}
\chapter{Palaeographical Profile}
\end{document}
Best Answer
You need to put
\filcenter
in a different position and also to add\MakeUppercase
for the chapter title.Here's just the necessary code (with just
titlesec
for showing the issues)Here's an edited version of your preamble with less clutter: packages first and then settings.