Search found 11 matches

by daantje
Tue Nov 03, 2009 12:15 am
Forum: General
Topic: How to put code in the preamble instead of in a .sty?
Replies: 4
Views: 2909

Re: How to put code in the preamble instead of in a .sty?

\makeatletter before and \makeatother after.

That makes more sense. Thanks.
by daantje
Mon Nov 02, 2009 8:22 pm
Forum: General
Topic: How to put code in the preamble instead of in a .sty?
Replies: 4
Views: 2909

Re: How to put code in the preamble instead of in a .sty?

Thank you for your quick reply, Joseph!

/makeatother doesn't work, but after a bit of Googling, I gave /makeatletter a try, and it solves my problem!

Thanks a million!
by daantje
Mon Nov 02, 2009 8:11 pm
Forum: General
Topic: How to put code in the preamble instead of in a .sty?
Replies: 4
Views: 2909

How to put code in the preamble instead of in a .sty?

Hi,

I want to put some code from a .sty in the main .tex file, but I don't know how to do this. I have copy-pasted the code from the .sty file into the preamble of my .tex file, but I get errors, while everything was fine when I just used the .sty file.

Here's the relevant part of my .tex ...
by daantje
Fri Oct 16, 2009 1:35 am
Forum: General
Topic: lineno doesn't number lines in captions
Replies: 0
Views: 4903

lineno doesn't number lines in captions

I am using the lineno package to number lines, but it doesn't number lines in captions of figures. lineno was giving me trouble before in combination with amsmath, and I got a bit of code off the net that fixed it:

\newcommand*\patchAmsMathEnvironmentForLineno[1]{%
\expandafter\let\csname old#1 ...
by daantje
Fri Oct 16, 2009 1:26 am
Forum: General
Topic: Minor nuisance: first line of abstract is indented
Replies: 3
Views: 6212

Re: Minor nuisance: first line of abstract is indented

Thanks! That was easy.
by daantje
Thu Oct 15, 2009 5:28 pm
Forum: General
Topic: Minor nuisance: first line of abstract is indented
Replies: 3
Views: 6212

Minor nuisance: first line of abstract is indented

Hi,

In documents of class article, the first line of the abstract is indented (at least on my computer). I don't think this is right and it is inconsistent with the first lines of other sections, which are not indented.

Do you have that problem? Do you know a fix?

Thanks!
by daantje
Wed Oct 07, 2009 10:30 am
Forum: BibTeX, biblatex and biber
Topic: umlaut
Replies: 3
Views: 5259

Re: umlaut

Hi Stefan,

Thanks for your reply. In the process of making a minimal working example I discovered that if I copy the entire .tex (and .bst) file to a different directory, compiling gives no errors and the umlaut appears just fine. So my problem is solved, although we will probably never find out ...
by daantje
Tue Oct 06, 2009 6:33 pm
Forum: BibTeX, biblatex and biber
Topic: umlaut
Replies: 3
Views: 5259

umlaut

I have a reference with an umlaut in its title, and I can't get it to work.

Here's the Bibtex entry:

@ARTICLE{Callieri2005,
author = {Callieri, C and Moro, S and Caravati, E and Crosbie, N D and Weisse,
T},
title = {Strain-specific photosynthetic response of freshwater picocyanobacteria ...
by daantje
Wed Sep 09, 2009 11:42 am
Forum: BibTeX, biblatex and biber
Topic: How to lowercase capitals automatically?
Replies: 5
Views: 7965

How to lowercase capitals automatically?

Thanks kaiserkarl13 and Joseph. Changing the entries in the .bib database file seems like quite a bit of work either way, and I would prefer it if I can be done by the ecology.bst style file I am using (downloaded from bst.maururu.net). I am now using JabRef to manage my BiBTeX database (before I ...
by daantje
Mon Sep 07, 2009 1:22 pm
Forum: BibTeX, biblatex and biber
Topic: How to lowercase capitals automatically?
Replies: 5
Views: 7965

Re: How to lowercase capitals automatically?

Thanks for your advice, Jospeh.

How do I get JabRef to change the case?