Re: [XeTeX] Automate table creation

2012-03-01 Thread Bruno Le Floch
> I tried runing your code, but I get the following message: > > ! Missing number, treated as zero. > >* > l.20 \maketable{c,0}{1,2} I knew I should've tested that code. \documentclass{article} \usepackage{xparse} \usepackage{array} \ExplSyntaxOn \DeclareDocumentCommand{\make

Re: [XeTeX] Automate table creation

2012-03-01 Thread Susan Dittmar
Here another basis on which you might be able to auto-generate your tables, once you adopt it to your needs. Strategy: First create a command that contains the whole table, then afterwards call that command to actually output the table. \documentclass{article} \usepackage{pgffor} \usepackage{etool

Re: [XeTeX] Automate table creation

2012-03-01 Thread Aleksandr Andreev
Bruno Le Floch writes: >> [code snippet] I tried runing your code, but I get the following message: ! Missing number, treated as zero. * l.20 \maketable{c,0}{1,2} Aleksandr -- Subscriptions, Archive, and List information, etc

Re: [XeTeX] Automate table creation

2012-03-01 Thread Zdenek Wagner
2012/3/1 Bruno Le Floch : > As Tobias mentions, use a package for loops. I think the code below > should work, but I don't know how to build diacritics on a letter: > isn't the point of combining marks that just putting the two > characters next to each other should do the trick? I didn't test. > I

Re: [XeTeX] Automate table creation

2012-03-01 Thread Bruno Le Floch
As Tobias mentions, use a package for loops. I think the code below should work, but I don't know how to build diacritics on a letter: isn't the point of combining marks that just putting the two characters next to each other should do the trick? I didn't test. \documentclass{article} \usepackage{

Re: [XeTeX] Automate table creation

2012-03-01 Thread Tobias Schoel
Look for looping packages, e.g. multido and pgffor. pgffor's foreach command seems to be quite suitable, except I haven't yet made it work inside tabulars. On 01.03.2012 04:27, Aleksandr Andreev wrote: Hello everybody, I am wondering if someone could guide me as to how to create a macro in Xe

Re: [XeTeX] selecting font variants

2012-03-01 Thread Juan Acevedo
Don, The following works for me using a Mac, not sure if you can access the font glyphs this way in other systems: - \itshape testing the \XeTeXglyph3\ and the \XeTeXglyph4 -- What you want is \XeTeXglyph4, present in the italic font, but apparently there is no Unicode poi