I am trying to use two different fonts in my article. I used the 'sectsty' package to change the font of all the section titles. I now want to change the font of the title of my article to the font that I have used for the section headings.
I also want to change the font used for the title and text of the abstract.
How do I go about doing this?
I want to use the ULG Letter Gothic font. I have installed the font and include it in my article by using
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{ulgothic}
Edit: I have a sample document attached
\documentclass[twocolumn]{article}
\usepackage[linesnumbered,lined,boxed,commentsnumbered]{algorithm2e}
\usepackage{amsmath}
\usepackage{physics}
\usepackage{indentfirst}
\usepackage{graphicx}
\usepackage{geometry}
\geometry{
a4paper,
left=25mm,
right=25mm,
top=30mm,
bottom=40mm,
}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{ulgothic}
\usepackage{sectsty}
\allsectionsfont{\ttfamily}
\usepackage[sfdefault,light,condensed]{roboto}
\usepackage{flushend}
\usepackage{abstract}
\usepackage[english]{babel}
\usepackage{blindtext}
\begin{document}
\title{Letter Gothic and Roboto}
\author{Julius\\ Department of Physics\\ BITS-Pilani Hyderabad}
\date{}
\twocolumn[
\maketitle
\begin{onecolabstract}
\blindtext
\end{onecolabstract}
]
\section{Introduction}
\Blindtext
\section{Discussion}
\Blindtext
\Blindtext
\section{Conclusion}
\Blindtext
\end{document}
\documentclass
you might be using. In fact, why not create a small document that showcases just the important parts that you are addressing in your question, and allows us to copy-and-paste-and-compile it to replicate your current results. That would be awesome!