I noticed that lastchecked and URL are non-standard attributes for a bibTeX files, which is kind of strange nowadays, but that's a different matter.

I tried to use @misc{...} with itmalpha style, but my document doesn't show the two attributes. Which style can I use for it to display, which doesn't mess up my other references, which are articles and incollections (for now).

  • 2
    You might consider to switch to biblatex, where you can control which fields are printed.
    – Guido
    Jan 3, 2013 at 12:34
  • @Guido Can you point me to a good documentation (or the exact part in the manual) where I can control which fields are printed?
    – cherrung
    Jan 3, 2013 at 15:59
  • 1
    What you can do in biblatex is to redefine some macros. For example \renewbibmacro{finentry}{\printfield{url}, \printdate{urldate}}. You can look at chapter 4 of the manual, a good intro is at tex.stackexchange.com/questions/12806/….
    – Guido
    Jan 4, 2013 at 7:22
  • Oh. I actually found my problem. I used the lastchecked field instead of the urldate field. urldate would be the correct use in my case. Then the solution would be here: tex.stackexchange.com/questions/56904/…
    – cherrung
    Jan 4, 2013 at 10:03

2 Answers 2


In most bibtex styles the information about url and the date when the web page has been accessed can be stored in the howpublished field (in free format).

A second alternative is to modify the itmalpha style to accommodate the two fields. The styles does not support url and lastchecked. Thus the first step is to insert these two fields in the ENTRY part of the style:

  { address
  { label extra.label sort.label }

Then, we create a function to print the value of the fields. Thus we insert the following code in the file

FUNCTION {format.url.lastchecked}
  url empty$
    { "Available at: \url{" url * "}" * 
      lastchecked empty$
        { "Accessed on: "  lastchecked * }

Finally, we have to use the function at the appropriate position (in the definition of misc). We can replace the definition of misc with

{ output.bibitem
  author empty$                               % added by R.Bless
    { format.editors output.nonnull }          % added by R.Bless
    { format.authors "author" output.check }   % added by R.Bless
  title howpublished new.block.checkb
  format.title output
  howpublished new.block.checka
  howpublished output
  organization output
  institution output
  format.date output
  format.url.lastchecked output
  note output

Instead of editing the itmalpha.sty file, please make a copy, edit it, and rename it (e.g. myitmalpha.sty).

PS I have used \url{} to wrap the value of the bibtex url field, this requires to load an appropriate style, e.g., url or hyperref.

  • Thanks for all the information. I followed your advice and looked at biblatex. Still somewhat complicated, but will look more into it. Changing the styles directly is an option I guess, but too tiresome in my case, because I'm still not quite sure which style to stick with.
    – cherrung
    Jan 3, 2013 at 15:35

all styles here http://archiv.dante.de/~herbert/Bibliography/ know the fields url and urldate

  • The link is broken. Dec 20, 2018 at 23:49
  • it is corrected ...
    – user2478
    Dec 21, 2018 at 6:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .