GeneralStyling reference superscript like

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
MeineKekse
Posts: 6
Joined: Sat Mar 03, 2012 12:55 pm

Styling reference superscript like

Post by MeineKekse »

Hello,

I want the referencenumbers 1,2,3 etc to appear superscript like. This can be done by the following code.

Code: Select all

\documentclass[12pt]{article}

%zitieren
\newenvironment{myquote}{ \begin{quote}\setstretch{1} }{\end{quote}}
\usepackage{url}
\urlstyle{rm}
\bibliographystyle{unsrtdin}
\usepackage[colorlinks=false, pdfborder={0 0 0}]{hyperref}
\usepackage{breakurl}
\usepackage[super]{cite}


\begin{document}
 sind.\cite{deset}  
\end{document}
but how can I manage that there is always a bracket arround the numbers. I want the style to appear in the same way wikipedia does it on it's pages.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Styling reference superscript like

Post by localghost »

For an adequate problem description it is necessary that you prepare a proper minimal example that is compilable out of the box for everybody. Unless you are not interested in detailed answers.

Since I can't make your example compilable due to missing information like a working bibliography database, I can only give you a hint.

In the sources of the cite package (after the actual package code) there is a suggestion that exactly covers this issue. So you should try these lines in the preamble of your document.

Code: Select all

\makeatletter
\def\@citess#1{\textsuperscript{[#1]}}
\makeatother


Thorsten
MeineKekse
Posts: 6
Joined: Sat Mar 03, 2012 12:55 pm

Re: Styling reference superscript like

Post by MeineKekse »

thanks very much its working perfectly for me
Post Reply