use url in latex
http://www.kronto.org/thesis/tips/url-formatting.html
@misc{
c.elmohamed,
%author = "Saleh Elmohamed",
%title = "Examples in {H}igh {P}erformance {F}ortran",
%howpublished = "Website",
%year = {1996},
note = {\url{http://www.npac.syr.edu/projects/
cpsedu/summer98summary/ examples/hpf/hpf.html}}
}
Example usage
In the preamble:
\usepackage{url}
%% Define a new 'leo' style for the package that will use a smaller font.
\makeatletter
\def\url@leostyle{%
\@ifundefined{selectfont}{\def\UrlFont{\sf}}{\def\UrlFont{\small\ttfamily}}}
\makeatother
%% Now actually use the newly defined style.
\urlstyle{leo}
In a BibTEX entry:
@misc{
c.elmohamed,
author = "Saleh Elmohamed",
title = "Examples in {H}igh {P}erformance {F}ortran",
howpublished = "Website",
year = {1996},
note = {\url{http://www.npac.syr.edu/projects/
cpsedu/summer98summary/ examples/hpf/hpf.html}}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
please note there is no any comments inside the entry, e.g., the following example will not work
For science magazine, there are two cases:
(1) if there are more than 1 entry besides url, the entry name should use "note".
@misc{c.elmohamed,
author = "Saleh Elmohamed",
note = {\url{http://www.npac.syr.edu/projects/
cpsedu/summer98summary/ examples/hpf/hpf.html}}
}
(2) if there is only url entry, the entry name howpublished will work as well.
@misc{exam1,
howpublished = {\url{http://www.npac.syr.edu/projects/
cpsedu/summer98summary/ examples/hpf/hpf.html}}
}
No comments:
Post a Comment