[FE training-materials-updates] More padding within cells
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Aug 2 15:46:23 CEST 2013
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=72e80e6cfca6b94032d3a5591ce576c6dfec728d
>---------------------------------------------------------------
commit 72e80e6cfca6b94032d3a5591ce576c6dfec728d
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date: Fri Aug 2 15:46:01 2013 +0200
More padding within cells
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
>---------------------------------------------------------------
72e80e6cfca6b94032d3a5591ce576c6dfec728d
common/agenda.sty | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/common/agenda.sty b/common/agenda.sty
index 65c4dd0..3d2b5c5 100644
--- a/common/agenda.sty
+++ b/common/agenda.sty
@@ -64,7 +64,10 @@
\newcommand{\code}[1]
{\path{#1}}
-\renewcommand{\tabularxcolumn}[1]{m{#1}}
+\newcommand{\cellstart}{\rule{0pt}{\heightof{A}+1ex}}
+\newcommand{\cellfinish}{\rule[-1ex]{0pt}{1ex}}
+
+\renewcommand{\tabularxcolumn}[1]{>{\cellstart}m{#1}<{\cellfinish}}
%% Define a one column array. Two arguments are needed:
%% first argument: the title of the section
More information about the training-materials-updates
mailing list