When citing a website in Latex, not the full name is displayed. I already tried to change to @MISC, but with no result.

My bibtex reference:

   title        = {SiteMesh Home},
   url          = {http://wiki.sitemesh.org/wiki/display/sitemesh/Home}, 
   year         = {WWW}

When I use the \citep command, only a part of the website title is visible.

(Sit, WWW)

I also wonder is this is the correct way to cite websites for use in a thesis. Thanks

edit: I'm using a template provided by my highschool which makes use of following bibliography-options:


With the natbib package:


The preamble of the .bib file looks like this:

@preamble{ "\newcommand{\noopsort}[1]{} "
        # "\newcommand{\printfirst}[2]{#1} "
        # "\newcommand{\singleletter}[1]{#1} "
        # "\newcommand{\switchargs}[2]{#2#1} " }

Also, the attempt to use @misc in combination with the \cite{SiteMesh} command did not resolve the issue.

  • Please give a minimal working example
    – user31729
    Commented Feb 17, 2014 at 20:52
  • @Christian Without the proper link to the page explaining what is a Minimal Working Example, new users usually have no idea what should they do. See also [1].
    – yo'
    Commented Feb 17, 2014 at 21:08
  • Which bibliography style do you use? (The argument of the command \bibliographystyle.) @online is not an entry type recognized by the most common bibliography styles; that's why I'm asking which bibliography style you're using.
    – Mico
    Commented Feb 17, 2014 at 21:16
  • I'm using apalike Commented Feb 21, 2014 at 19:10

1 Answer 1


Use the following instead:

    title = "SiteMesh Home",
    howpublished = "\url{http://wiki.sitemesh.org/wiki/display/sitemesh/Home}"
    year = WWW,

And just use \cite{SiteMesh} to cite it in text.

You must log in to answer this question.

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