I have the following document:


% -------- Packages
% \usepackage{fontspec}             
\usepackage[big]{layaureo}               % \usepackage{fullpage} **
\hypersetup{colorlinks,breaklinks,urlcolor=linkcolour, linkcolor=linkcolour}

% -------------- margins


%-----------WATERMARK TEST 

%--------------------BEGIN DOCUMENT----------------------


\pagestyle{empty} % non-numbered pages

\font\fb=''[cmr10]'' %for use with \LaTeX command

        {\LARGE Eduardo Flores Lomas

% ------------ Work Experience

\section{Work Experience}


 Farmacias del Ahorro
 - \scriptsize{Largest retail pharmacy chain in Mexico (1,300+ stores)} & \scriptsize{Jan 15' - Current}
 Data Science Coordinator
 - \scriptsize{Technology and Projects Department} 
 % \footnotesize{ 
 Responsible for finding and implementing data science methods to solve a wide range of business problems.

But I want to avoid that ugly indentation at "Farmacias del Ahorro" when I bold it...

enter image description here

When I remove the \textbf at the beginning of "Farmacias del Ahorro" it aligns perfectly:

enter image description here

As can be seen, I've tried \noindent ... what am I missing?

  • 1
    I am pretty sure you have trailing whitespace somewhere (or missing a %). Change \noindent\textbf{ to \noindent\textbf{%... – user31729 Aug 10 '16 at 15:07
  • @ChristianHupfer wow! that did it! Thanks!! – eflores89 Aug 10 '16 at 15:09
  • size changes do not take an argument so \scriptsize{...} should be {\scriptsize ....\par} otherwise the rest of teh document from that point is affected. – David Carlisle Aug 10 '16 at 16:31

The error was

 Farmacias del Ahorro

causing a superfluous whitespace, so either add a % at the end of the line

Farmacias del Ahorro

or put everything on two lines only:

\noindent\textbf{Farmacias del Ahorro 

Now, depending on the real usage, a % after Ahorro might be appropiate!

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.