0
votes

I want to customize my title of the article class to align to left rather than defaultt centering. I found a solution to do it in LaTeX StackExchange TeX.

The code is:

\makeatletter
\renewcommand{\maketitle}{\bgroup\setlength{\parindent}{0pt}
\begin{flushleft}
  \textbf{\@title}

  \@author
\end{flushleft}\egroup
}
\makeatother

\title{Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit}
\date{}
\author{%
    Author One$^{1}$, Author2$^{2}$\\
    $^{1}$Institution 1, I 1 City, I 1 Country\\
    $^{2}$Institution 1, I 1 City, I 1 Country\\
    \underline{$^{1}[email protected]}\\
    \underline{$^{2}[email protected] }
}

I want to incorporate this into my org file which will be exported to pdf using LaTeX. How can I do that?

1

1 Answers

1
votes

The easiest way is to prepend each of the lines from \makeatletter to \makeatother, inclusive, with #+latex_header: and include these in your org file.