0

I want that a subsection was 12pt, no bold, italic and times new roman. How can I do it ?

Bernard
  • 271,350

1 Answers1

0

You can simply copy the definition from report.cls and change the font in \subsection to normalsize (12pt) italic, and use fontspec to put the document in Times New Roman.

You need lualatex or xelatex on Windows to access Times New Roman in this way (I used cygwin texlive here).

enter image description here

\documentclass[12pt]{article}

\usepackage{fontspec} \setmainfont{Times New Roman} \makeatletter \renewcommand\subsection{@startsection{subsection}{2}{\z@}% {-3.25ex@plus -1ex @minus -.2ex}% {1.5ex @plus .2ex}% % {\normalfont\large\bfseries}} {\normalfont\itshape}}

\makeatother \begin{document}

\section{Something} \subsection{italic 12 pt subsection} Some text. \end{document}

David Carlisle
  • 757,742