Search found 14 matches

by juliendutant
Fri Feb 05, 2021 3:21 pm
Forum: Document Classes
Topic: "Character table corrupted error" when compiling the dtxtut skeleton package code
Replies: 2
Views: 8529

"Character table corrupted error" when compiling the dtxtut skeleton package code

Brillant, thanks! The < and > get doubled when copying/pasting the code and I hadn't noticed it.

I saw somewhere that even if there's no risk of file transfer corruption keeping the Char table might help catch some bugs - but I can't find the link anymore.
by juliendutant
Thu Feb 04, 2021 10:30 pm
Forum: Document Classes
Topic: "Character table corrupted error" when compiling the dtxtut skeleton package code
Replies: 2
Views: 8529

"Character table corrupted error" when compiling the dtxtut skeleton package code

Hi all,

I'm trying to write a package from .dtx and .ins, following the dtx tutorial . However even when I merely try to compile the skeleton provided, I get a "! Package doc Error: Character table corrupted." I wonder why. My .dtx and .ins are saved in UTF-8; I have tried latin1 and get the same ...
by juliendutant
Sat Jan 23, 2021 3:47 pm
Forum: Text Formatting
Topic: Fit and vertically align larger text in a tabular
Replies: 4
Views: 8737

Fit and vertically align larger text in a tabular

I've tried this calculation:

raiseby ( height of title - baselineskip)

but no luck: in smaller font sizes it doesn't raise the text enough, in larger ones it raises it too much. See below. I can do manually in the meanwhile, but I'm sure there's a way to compute the right raising value ...
by juliendutant
Sat Jan 23, 2021 3:10 pm
Forum: Text Formatting
Topic: Fit and vertically align larger text in a tabular
Replies: 4
Views: 8737

Fit an vertically align larger text in a tabular

Can we put a value in raisebox that matches the desired size of the font? e.g. \baselineskip is ok for \Huge but not enough for \Large. I think that would have to be something that calculates (desired size of font - baselineskip), with a negative sign to lower the box.
by juliendutant
Sat Jan 23, 2021 3:04 pm
Forum: Text Formatting
Topic: Fit and vertically align larger text in a tabular
Replies: 4
Views: 8737

Fit an vertically align larger text in a tabular

Oh nice, thanks Stefan!
by juliendutant
Sat Jan 23, 2021 2:21 pm
Forum: Text Formatting
Topic: Fit and vertically align larger text in a tabular
Replies: 4
Views: 8737

Fit and vertically align larger text in a tabular

Hi all,

I'm trying to design a cover head with a large journal title on the left and smaller volume and issue numbers opposite on the right. I've tried to design that with a tabular, but it doesn't seem to handle font size changes well: the larger text is still placed on the same baseline as it ...
by juliendutant
Sun Feb 03, 2019 5:11 pm
Forum: LyX
Topic: How to prevent LyX from using natbib commands - Tufte Handout layout bug
Replies: 4
Views: 14785

How to prevent LyX from using natbib commands - Tufte Handout layout bug

Thanks for having a look and thanks for your suggestion.

As it happens the tufte class hasn't be updated to interact with biblatex. There is a way to make them work together, namely tell biblatex to put all citations in footnote ( https://tex.stackexchange.com/questions/45934/can-i-use-biblatex ...
by juliendutant
Sat Jan 26, 2019 9:33 pm
Forum: LyX
Topic: How to prevent LyX from using natbib commands - Tufte Handout layout bug
Replies: 4
Views: 14785

How to prevent LyX from using natbib commands - Tufte Handout layout bug

Another quick but temporary fix

Here's another fix. Create a new document, put it in the Tufte class, save it. If you have a look at Document > Settings > Biblio you'll see that the only choice of citation style is "author year" or "author numerical".

Open the .lyx file in a text editor and ...
by juliendutant
Sat Jan 26, 2019 9:15 pm
Forum: LyX
Topic: How to prevent LyX from using natbib commands - Tufte Handout layout bug
Replies: 4
Views: 14785

How to prevent LyX from using natbib commands - Tufte Handout layout bug

A quick fix..

Update: this is solved by adding the following line in Document > Settings > Local Layout:

Input ../citeengines/basic.citeengine

( note This is in MacOS. In Windows you may have to use forward slashes.)

Here's my understanding of why this works. Because the Tufte layout ...
by juliendutant
Sun Jan 13, 2019 10:13 pm
Forum: LyX
Topic: How to prevent LyX from using natbib commands - Tufte Handout layout bug
Replies: 4
Views: 14785

How to prevent LyX from using natbib commands - Tufte Handout layout bug

LyX's new bibliography management is great, but it seems to have broken down the Tufte Handout layout. I think the solution would be to update the layout to tell LyX to use \cite instead of \citep and \citet commands, or at least to make available "Basic Numerical" variant in the Settings, or "[#ID ...