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.

migrated from stackoverflow.com Feb 17 '14 at 20:36

This question came from our site for professional and enthusiast programmers.

  • Please give a minimal working example – user31729 Feb 17 '14 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' Feb 17 '14 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 Feb 17 '14 at 21:16
  • I'm using apalike – thomasvdbossche Feb 21 '14 at 19:10

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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