Text FormattingText alignment

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
vmgobinath
Posts: 3
Joined: Mon Jan 11, 2021 11:03 pm

Text alignment

Post by vmgobinath »

Hi,
I am new to latex.



My latex lines :
\begin{rubric}{References}

%{\large Available on Request\par}
1. Dr. ABC
\\ Associate Professor, Mechanical, Engineering Department \par
%\\ Head of EGE group, Mechanical, Industrial and Aerospace Engineering,\par
\\ ABC University, Montréal, Canada. \par
\\ \makefield{\faEnvelope[regular]}{\texttt{abc@univ.com}}

\end{rubric}

I am getting output like below RIGHT SIDE ALIGNMENT

......................................................... 1. Dr. ABC
Associate Professor, Mechanical, Engineering Department
............................ABC University, Montréal, Canada
...................................................abc@univ.com

I don't know why it s coming like this.

But I want LEFT SIDE alignment like below

1. Dr. ABC
Associate Professor, Mechanical, Engineering Department
ABC University, Montréal, Canada
abc@univ.com

Please guide me on how to make it left side alignment.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

Text alignment

Post by Bartman »

Can you show a Infominimal working example?
vmgobinath
Posts: 3
Joined: Mon Jan 11, 2021 11:03 pm

Text alignment

Post by vmgobinath »

My current latex lines :


\begin{rubric}{References}

%{\large Available on Request\par}
1. Dr. ABC
\\ Associate Professor, Mechanical, Engineering Department \par
%\\ Head of EGE group, Mechanical, Industrial and Aerospace Engineering,\par
\\ ABC University, Montréal, Canada. \par
\\ \makefield{\faEnvelope[regular]}{\texttt{abc@univ.com}}

\end{rubric}


CURRENT OUTPUT: RIGHT SIDE ALIGNMENT


......................................................... 1. Dr. ABC
Associate Professor, Mechanical, Engineering Department
............................ABC University, Montréal, Canada
...................................................abc@univ.com


REQUIRED OUTPUT: LEFT SIDE ALIGNMENT

like below

1. Dr. ABC
Associate Professor, Mechanical, Engineering Department
ABC University, Montréal, Canada
abc@univ.com

Please guide me on how to make it left side alignment.
rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

Text alignment

Post by rais »

By default, LaTeX sets text justified, not right aligned.

Well, I don't know which class or package defines a rubric environment, but I'd try \raggedright just after beginning that rubric environment.

KR
Rainer
Post Reply