Search found 6 matches

by davidonlaptop
Mon Oct 11, 2010 10:42 pm
Forum: Fonts & Character Sets
Topic: datatool + custom separator + french
Replies: 7
Views: 7632

Re: datatool + custom separator + french

OK thanks, I'll check that out.
by davidonlaptop
Mon Oct 11, 2010 10:23 pm
Forum: Fonts & Character Sets
Topic: datatool + custom separator + french
Replies: 7
Views: 7632

Re: datatool + custom separator + french

Is there a way to deactivate these shorthands?
Or is it not recommanded?
by davidonlaptop
Mon Oct 11, 2010 9:56 pm
Forum: Fonts & Character Sets
Topic: datatool + custom separator + french
Replies: 7
Views: 7632

datatool + custom separator + french

The final code reads like this:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{datatool}
\usepackage[utf8]{inputenc} % utf8x causes problem with accents in header columns
\usepackage[frenchb]{babel}

% Data loading must occur in the preamble
\DTLsetseparator{;}
\DTLloaddb{data ...
by davidonlaptop
Mon Oct 11, 2010 9:53 pm
Forum: Fonts & Character Sets
Topic: datatool + custom separator + french
Replies: 7
Views: 7632

datatool + custom separator + french

In French, babel makes various characters active. This can be problematic, so I'd try putting
\DTLsetseparator{;}
\DTLloaddb{data}{datatools3.csv}

before loading babel (in the preamble), and see what happens.

Great! Actually that works if the loading occurs before \begin{document}

Also I ...
by davidonlaptop
Mon Oct 11, 2010 2:21 pm
Forum: Fonts & Character Sets
Topic: datatool + custom separator + french
Replies: 7
Views: 7632

datatool + custom separator + french

Hi!

There is an issue while using the datatool package (to import from CSV) along with the babel (french) package and the command \DTLsetseparator.

If not using the babel package, the problem disappear but all text is in english.

If not using the \DTLsetseparator it works, but we can't use comma ...
by davidonlaptop
Sat Apr 03, 2010 9:57 am
Forum: Graphics, Figures & Tables
Topic: Vertical centering of a cell containing an equation
Replies: 0
Views: 998

Vertical centering of a cell containing an equation

Hi!

How can I use 2 columns so that the content of each column is vertically aligned to the top?

The closest of what I can get is this :


\begin{tabular}{ p{.25\textwidth}@{\extracolsep{5mm}} p{.60\textwidth} }
i love lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ...