## LaTeX forum ⇒ Curricula Vitae / Résumés ⇒ Alignment

ModernCV, Friggeri, Plasmati, Classicthesis-CV, and more
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

### Alignment

Hello, how I can make the text in justified alignment form?

Thanks and regards.
Last edited by templateuser on Thu Mar 12, 2015 10:31 am, edited 1 time in total.

Tags:

Vel
Site Moderator
Posts: 454
Joined: Fri Jun 29, 2012 1:20 am
Hi,

Simply remove the \raggedright from

\newcommand{\Description}[1]{\hangindent=2em\hangafter=0\noindent\raggedright%\footnotesize{#1}\par\normalsize\vspace{1em}}

on line 40.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com

templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

lambert
Posts: 2
Joined: Sat Oct 24, 2015 4:58 pm
Very nice template. I have a publication of more than one line and would like to align the second line with the first one (and the others like University).
Could explain how to do this?

Johannes_B
Site Moderator
Posts: 3906
Joined: Thu Nov 01, 2012 4:08 pm
I am sorry, i can't follow. Can you please open a new thread (we have enough space here ) along with a screenshot with marks of what is not ok. Would be much easier for me to provide a solution.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

lambert
Posts: 2
Joined: Sat Oct 24, 2015 4:58 pm
Ok, since I do not know how to make a new topic here is a screen.
I would like to align the first and second line where the arrow points.
Attachments
snaphot_align.png (39.6 KiB) Viewed 3599 times

Johannes_B
Site Moderator
Posts: 3906
Joined: Thu Nov 01, 2012 4:08 pm
You could do something like the following, calculating the length using package calc. Or just set a fixed width.

\newlength{\spacewidth}\settowidth{\spacewidth}{\space}\NewEntry{2010--2011}{\parbox[t]{\linewidth-\datebox-1.5em-2em-\spacewidth\relax}{Summer Intern, \textsc{Initech Inc}  --- Chicago and much much much more text to be shown here}}

That is of course kinda messy, since LaTeX adjusts the amount of space between words.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

igor_sarman
Posts: 1
Joined: Thu Aug 04, 2016 11:50 am
Hello

I have the same problem of Lambert and tried the Johannes_B solution but it does not work (I mean, I tried it in the same identical code line used by Johannes_B in his example but it does not return the solution I was looking for).
Does anyone know another way to fix this problem?
Thank you,

I

Johannes_B
Site Moderator
Posts: 3906
Joined: Thu Nov 01, 2012 4:08 pm
Would you mind opening a new topic? It keeps the place tidy and keeps me from confusing myself. Don't forget to mention which template you are using.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.