\documentclass[10pt,a4paper]{article}
%-------------------------------------------
%-----accent
\usepackage[latin1]{inputenc} %écrire directement les accents et il peut poser des problème
\usepackage[T1]{fontenc}
%-----
\usepackage[en-US]{datetime2} % <=======================================
\DTMlangsetup[en-US]{ord=raise}
\usepackage{etoolbox} % <===============================================
\patchcmd{\DTMenglishordinal}% <cmd> <==================================
{#1 \DTMenglishfmtordsuffix}% <search>
{#1\,\DTMenglishfmtordsuffix}% <replace>
{}{}% <success><failure>
%-------------------------------------------
\usepackage[T1]{fontenc}
\usepackage{geometry}
\geometry{left=2.0cm,right=1.0cm,top=1.0cm,bottom=1.0cm}
\usepackage{pifont}
\usepackage{sectsty}
\usepackage{graphicx}
\usepackage{amsmath,amsfonts,amsthm}
\usepackage{xcolor}
\definecolor{citeblue}{rgb}{0.00,0.00,0.60}
\usepackage[colorlinks=true,pagebackref=true]{hyperref}
\hypersetup{urlcolor=citeblue, citecolor=citeblue, linkcolor=citeblue}
\frenchspacing
\sectionfont{%
\fontfamily{phv}\bfseries
\sectionrule{0pt}{0pt}{-5pt}{1pt}%
}
\pagestyle{empty}
%%%%%%%%%%%%%%%%%%
\usepackage{tabularx}
%---------------------------------------------
\usepackage{array}
\newcolumntype{R}{>{\scshape}r}
%---------------------------------------------
\renewcommand{\refname}{Travaux de Recherche}
%%%%%%%%%%%%%%%%%%
%\setbeamertemplate{itemize items}{\ding{228}}
%%%%%%%%%%%%%%%%%%
\pagestyle{empty}
%------------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{tabularx}{\linewidth}{R|X}
\textsc{Mai} 2016& Participation à la ``2éme Séminaire des étudiants chercheurs en Mathématiques'', Faculté des Sciences de .......\\
&{\color{citeblue}{\ding{43}}} \underline{Communication intitulée}: Kolmogorov .....\\
\multicolumn{2}{c}{} \\
\textsc{Avr.} 2017& Participation à la
\end{tabularx}
\end{document}
我想减少以下空间。另外,如果我想增加字符的大小,我可以用 替换
\documentclass[10pt,a4paper]{article}
吗\documentclass[11pt,a4paper]{article}
?
答案1
错误在于使用\color
。
\noindent
请注意代码中缺少的内容。我使用了utf8
because,因此我的系统已设置好。
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc} %écrire directement les accents et il peut poser des problème
\usepackage[T1]{fontenc}
\usepackage{geometry}
\usepackage{pifont}
\usepackage{sectsty}
\usepackage{graphicx}
\usepackage{amsmath,amsfonts,amsthm}
\usepackage{xcolor}
\usepackage{etoolbox}
\usepackage[en-US]{datetime2}
\usepackage{tabularx}
\usepackage{array}
\usepackage[colorlinks=true,pagebackref=true]{hyperref}
\geometry{left=2.0cm,right=1.0cm,top=1.0cm,bottom=1.0cm}
\DTMlangsetup[en-US]{ord=raise}
\patchcmd{\DTMenglishordinal}% <cmd>
{#1 \DTMenglishfmtordsuffix}% <search>
{#1\,\DTMenglishfmtordsuffix}% <replace>
{}{}% <success><failure>
\definecolor{citeblue}{rgb}{0.00,0.00,0.60}
\hypersetup{urlcolor=citeblue, citecolor=citeblue, linkcolor=citeblue}
\sectionfont{%
\fontfamily{phv}\bfseries
\sectionrule{0pt}{0pt}{-5pt}{1pt}%
}
\newcolumntype{R}{>{\scshape}r}
\renewcommand{\refname}{Travaux de Recherche}
\frenchspacing
\pagestyle{empty}
\begin{document}
\noindent\begin{tabularx}{\linewidth}{R|X}
\textsc{Mai} 2016& Participation à la ``2éme Séminaire des étudiants chercheurs en
Mathématiques'', Faculté des Sciences de .......\\
&\textcolor{citeblue}{\ding{43}} \underline{Communication intitulée}: Kolmogorov ..... \\
\multicolumn{2}{l}{}\\
\textsc{Avr.} 2017& Participation à la
\end{tabularx}
\end{document}
答案2
只需添加\newline
,而不是添加新行。我借此机会对代码进行了一些改进和简化。请注意,您utf8
现在应该使用输入编码,以获得更好的可移植性。
\documentclass[10pt, a4paper]{article}
%-------------------------------------------
%-----accent
\usepackage[utf8]{inputenc} %écrire directement les accents et il peut poser des problème
\usepackage[T1]{fontenc}
%-----
\usepackage[en-US]{datetime2} % <=======================================
\DTMlangsetup[en-US]{ord=raise}
\usepackage{etoolbox} % <===============================================
\patchcmd{\DTMenglishordinal}% <cmd> <==================================
{#1 \DTMenglishfmtordsuffix}% <search>
{#1\,\DTMenglishfmtordsuffix}% <replace>
{}{}% <success><failure>
%-------------------------------------------
\usepackage[T1]{fontenc}
\usepackage{geometry}
\geometry{margin=1.0cm, left=2.0cm, showframe}
\usepackage{pifont}
\usepackage{sectsty}
\usepackage{graphicx}
\usepackage{amsmath,amsfonts,amsthm}
\usepackage{xcolor}
\definecolor{citeblue}{rgb}{0.00,0.00,0.60}
\usepackage[colorlinks=true,pagebackref=true]{hyperref}
\hypersetup{urlcolor=citeblue, citecolor=citeblue, linkcolor=citeblue}
\frenchspacing
\sectionfont{%
\fontfamily{phv}\bfseries
\sectionrule{0pt}{0pt}{-5pt}{1pt}%
}
\pagestyle{empty}
%%%%%%%%%%%%%%%%%%
\usepackage{tabularx}
%---------------------------------------------
\newcolumntype{R}{>{\scshape}r}
\newcolumntype{L}{>{\scshape}l}
%---------------------------------------------
\renewcommand{\refname}{Travaux de Recherche}
%%%%%%%%%%%%%%%%%%
%\setbeamertemplate{itemize items}{\ding{228}}
%%%%%%%%%%%%%%%%%%
\pagestyle{empty}
%------------------------------------------
\usepackage{xspace}
\newcommand{\ieme}{\textsuperscript{e}\xspace}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\noindent\begin{tabularx}{\linewidth}{@{}L|X}
Mai 2016& Participation au ``\,2\ieme Séminaire des étudiants chercheurs en Mathématiques\,'', Faculté des Sciences de .......bla bla bla\newline
{\color{citeblue}{\ding{43}}} \underline{Communication intitulée}: Kolmogorov .....\\
\multicolumn{2}{c}{} \\
Avr. 2017& Participation à la
\end{tabularx}
\end{document}
答案3
快速破解:放入\mbox
&{\mbox{\color{citeblue}{\ding{43}}}}
\documentclass[10pt,a4paper]{article}
%-------------------------------------------
%-----accent
%\usepackage[latin1]{inputenc} %écrire directement les accents et il peut poser des problème
\usepackage[T1]{fontenc}
%-----
\usepackage[en-US]{datetime2} % <=======================================
\DTMlangsetup[en-US]{ord=raise}
\usepackage{etoolbox} % <===============================================
\patchcmd{\DTMenglishordinal}% <cmd> <==================================
{#1 \DTMenglishfmtordsuffix}% <search>
{#1\,\DTMenglishfmtordsuffix}% <replace>
{}{}% <success><failure>
%-------------------------------------------
\usepackage[T1]{fontenc}
\usepackage{geometry}
\geometry{left=2.0cm,right=1.0cm,top=1.0cm,bottom=1.0cm}
\usepackage{pifont}
\usepackage{sectsty}
\usepackage{graphicx}
\usepackage{amsmath,amsfonts,amsthm}
\usepackage{xcolor}
\definecolor{citeblue}{rgb}{0.00,0.00,0.60}
\usepackage[colorlinks=true,pagebackref=true]{hyperref}
\hypersetup{urlcolor=citeblue, citecolor=citeblue, linkcolor=citeblue}
\frenchspacing
\sectionfont{%
\fontfamily{phv}\bfseries
\sectionrule{0pt}{0pt}{-5pt}{1pt}%
}
\pagestyle{empty}
%%%%%%%%%%%%%%%%%%
\usepackage{tabularx}
%---------------------------------------------
\usepackage{array}
\newcolumntype{R}{>{\scshape}r}
%---------------------------------------------
\renewcommand{\refname}{Travaux de Recherche}
%%%%%%%%%%%%%%%%%%
%\setbeamertemplate{itemize items}{\ding{228}}
%%%%%%%%%%%%%%%%%%
\pagestyle{empty}
%------------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{tabularx}{\linewidth}{R|X}
\textsc{Mai} 2016& Participation à la ``2éme Séminaire des étudiants chercheurs en Mathématiques'', Faculté des Sciences de .......\\
&{\mbox{\color{citeblue}{\ding{43}}}} \underline{Communication intitulée}: Kolmogorov .....\\
\multicolumn{2}{c}{} \\
\textsc{Avr.} 2017& Participation à la
\end{tabularx}
\end{document}