Change specific section title in bookdown

I am using bookdown::pdf_document2. I have a separate Rmd file for Abstract and other Rmd files. I need only the abstract title to be centred when knitting the index.Rmd file. How can i do this?

Is this what you're looking for?

---
output: bookdown::pdf_document2
---

\begin{center}
{\section{centered abstract title}}
\end{center}

\section{not centered title}
\subsection{not centered subtitle}

Yes. Kind of gets the job done. But Not exactly what I am looking for as H1 level headings are created using markdown syntax and abstract is a sepearate Rmd file. So I will have to add center environment in the abstract document. Is there any other way I can control this using a preamble document?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.