TransWikia.com

Help with a header for a cls and tex

TeX - LaTeX Asked by Nuno M. Silva on July 28, 2021

Im using this code in the CLS to make the header in the TEX
the problem im having is to define the author and their data separated all I can find is the authors in a single line and then the afill, and I’m trying to:

first i wanted to be able to make size center but the beginning and end of the title smaller.

then i need the authors aligned flushleft like the example down and aligned with the title also:

Joh Smi
Faculdade de ORCID 0000-0000-0000-0000
Ant Sil
Faculdade de ORCID 0000-0000-0000-0000
Lorenzo Ortiz
Faculdade de ORCID 0000-0000-0000-0000

im using this code is cls to make the authors

LoadClass{article}
renewcommandnormalsize{
    @setfontsizenormalsize{12}{12}}
RequirePackage{natbib}%bibliografia
RequirePackage[utf8]{inputenc}
RequirePackage[a4paper, margin=25mm, headsep=15mm, footskip=15mm]{geometry}
setlength{parindent}{0pt}

RequirePackage{titling}
pretitle{
    begin{center}
    fontsize{14}{14} selectfont bfseries}
posttitle{
    par
    end{center}vskip 0.5em}
preauthor{
    begin{noindent}
        fontsize{10}{10} selectfont 
    renewcommandAffilfont{fontsize{10}{10} selectfont}}
postauthor{
    end{noindent}
    par}




RequirePackage{authblk}

renewcommandAuthsep{,}

renewcommandAuthand{,}

renewcommandAuthands{,}

in TEX file I’m using

affil[]{local name and town}```

Thanks for the help and sorry if I'm not explaining myself well.
I'm real new in latex and not from an English natural language country.

One Answer

Ok after some weeks of looking for it finally I found the right answer:

In https://ctan.org/pkg/titling look for the package authblk

At the end you will find that using the command blocks will do the trick.

In my case was:

RequirePackage[blocks]{authblk}

Thanks for the help.

Rui Silva

Answered by Nuno M. Silva on July 28, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP