I am able to make subsections italic and larger using the titlesec
package, but there seems to be no working solution to make them underlined. Here is my current document:
\documentclass[11pt]{article}
\usepackage{titlesec}
\titleformat*{\subsection}{\normalfont\large\itshape}
\begin{document}
\section*{Materials and Methods}
\subsection*{Sampling}
Lorem ipsum
\end{document}
I tried adding \titlerule
but this just drew a large line above the subsection title:
\documentclass[11pt]{article}
\usepackage{titlesec}
\titleformat*{\subsection}{\normalfont\large\itshape\titlerule}
\begin{document}
\section*{Materials and Methods}
\subsection*{Sampling}
Lorem ipsum
\end{document}
\titlerule
\titlerule
does