我有以下文件:
\documentclass[a4paper,10pt]{article}
% -------- Packages
\usepackage{marvosym}
\usepackage{enumitem}
% \usepackage{fontspec}
\usepackage{xunicode,xltxtra,url,parskip}
\RequirePackage{color,graphicx}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage[big]{layaureo} % \usepackage{fullpage} **
\usepackage{supertabular}
\usepackage{titlesec}
\usepackage{tabularx}
\usepackage{hyperref}
\usepackage{helvet}
\definecolor{linkcolour}{rgb}{0,0.2,0.6}
\hypersetup{colorlinks,breaklinks,urlcolor=linkcolour, linkcolor=linkcolour}
\titleformat{\section}{\Large\scshape\raggedright}{}{0em}{}[\titlerule]
\titlespacing{\section}{0pt}{1pt}{1pt}
% -------------- margins
\addtolength{\oddsidemargin}{-.75in}
\addtolength{\evensidemargin}{-.75in}
\addtolength{\textwidth}{1.25in}
\addtolength{\topmargin}{-.575in}
\addtolength{\textheight}{1.75in}
%-----------WATERMARK TEST
\usepackage[absolute]{textpos}
\setlength{\TPHorizModule}{30mm}
\setlength{\TPVertModule}{\TPHorizModule}
\textblockorigin{2mm}{0.65\paperheight}
\setlength{\parindent}{0pt}
%--------------------------------------------------------
%--------------------BEGIN DOCUMENT----------------------
\begin{document}
\newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}}
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}}
\newcolumntype{R}[1]{>{\raggedleft\arraybackslash}p{#1}}
\pagestyle{empty} % non-numbered pages
\font\fb=''[cmr10]'' %for use with \LaTeX command
%--------------------TITLE-------------
\par{\centering
{\LARGE Eduardo Flores Lomas
}\par}
% ------------ Work Experience
\section{Work Experience}
\begin{tabular}{L{14cm}R{2.7cm}}
\noindent\textbf{
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{
\multicolumn{2}{p{16.7cm}}{
Responsible for finding and implementing data science methods to solve a wide range of business problems.
}
但是当我将其加粗时,我想避免在“Farmacias del Ahorro”处出现难看的缩进......
当我删除\textbf
“Farmacias del Ahorro”开头的时,它完美地对齐了:
正如所见,我已经尝试过了\noindent
......我错过了什么?
答案1
错误是
\noindent\textbf{
Farmacias del Ahorro
}
导致多余的空格,因此可以%
在行尾添加
\noindent\textbf{%
Farmacias del Ahorro
}
或者将所有内容放在两行上:
\noindent\textbf{Farmacias del Ahorro
}
现在,根据实际用途,%
之后Ahorro
可能比较合适!