Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

currently I am using alpha as bibliography style. In my case it would make much more sense to generate the short form from the title. At the moment for some autors (which are companies, because I refere to websites), it is counting to k an above.

Is there an style existing for my needs?

share|improve this question
    
Welcome to TeX.SE! Please post a minimum working example (MWE) that shows what you've done so far. How are you treating the author field in entries with corporate authors? –  Mico Aug 27 '13 at 21:30
1  
I am not sure if automatic abbreviations of the title are really more helpful for the reader than a numeric style. If you want to stick to alpha I would suggest to leave the author field empty in your website entries and manually specify a label to use with label= or shorthand=in the bib file. Both are supported by biblatex, for bibtex one has to check the actual styles. –  Daniel Sep 27 '13 at 11:00

1 Answer 1

Using biblatex you could use \DeclareLabelalphaTemplate for this. By default the alphabetic style uses the labelname element, I changed this to title. My MWE for this looks like that:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[
    style=alphabetic,
    backend=biber,
]{biblatex}
\addbibresource{test.bib}

\begin{filecontents}{test.bib}
@BOOK{Author2001,
  author = {Alastname, Afirstname},
  title = {Title},
  year = {2001},
}
\end{filecontents}

% Declare new label format
\DeclareLabelalphaTemplate{
    \labelelement{
        \field[final]{shorthand}
        \field{label}
        \field[strwidth=3,strside=left,ifnames=1]{title}
        \field[strwidth=1,strside=left]{title}
    }
    \labelelement{
        \field[strwidth=2,strside=right]{year}
    }
}

\begin{document}
Filler text \cite{Author2001}.

\printbibliography
\end{document}

MWE

share|improve this answer
1  
Just a suggestion. I don't think the OP is using biblatex. Why don't you add in the answer something like "This can be done if you use biblatex, ..."? –  karlkoeller Aug 28 '13 at 8:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.