PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Problem bei Zitat mittels \cite -- nach Jahreszahl soll noch text in selbe klammer.



Steineklopfer
20-08-2009, 16:42
Hallo,

ich habe folgendes problem wenn ich \cite benutze: Ich möchte nach der Jahreszahl des zitates noch etwas text in der klammer hinzufügen, sprich es soll folgendermaßen aussehen:



Leake et al. (1997, IMA Recommodation)


in den dokumentationen und den anleitung im internet hab ich bis jetzt keine mir nützliche möglichkeit gefunden damit es mir das so setzt.
ich könnte mir vorstellen das es so irgendwie funktioniert:



\cite[IMA Recommodation]{Leakeetal1997}


Hab verschiedene anordnungen der [] und {} probiert, nur leider ohne erfolg.


Was mache ich da verkehrt bzw was muss ich latex sagen damit es so aussieht wie ich es will????

Glück Auf!

Thomas

Festus
20-08-2009, 17:29
Wenn du 'Autor (Jahr)' Zitate benutzt solltest du am besten das natbib-Paket benutzen. Und dann funktioniert es fast so wie du dachtest:
\citet[IMA Recommodation]{Leakeetal1997}

Gruß, Festus

Steineklopfer
20-08-2009, 17:42
und wie mache ich es ohne das natbib???

Ich nutze folgende vorlage --> http://tu-freiberg.de/presse/latex/download.html

Glück Auf

Festus
20-08-2009, 17:57
Wie machst du denn überhaupt Autor (Jahr) Zitate? Ganz ohne Zusatzpaket kann Latex das doch, soweit ich weiß, nich!

rais
20-08-2009, 18:06
Moin moin,

und wie mache ich es ohne das natbib???

Ich nutze folgende vorlage --> http://tu-freiberg.de/presse/latex/download.html

also ohne ``URZ-Login''


Für den Download der TUBAF-LaTeX Packete ist eine Authentifizierung mit dem URZ-Login nötig.

werd ich da wohl nix. Wie dem auch sei, die


Dokumentation zur LaTeX-Klasse »TUBAFbib« für Literaturverzeichnisse

kann ich abrufen und demnach basiert Dein Stil auf BibLaTeX, schau Dir also die etwas umfangreichere Doku zu BibLaTeX an, wenn Dir der `tubafbibfuehrer' nicht genügt.

MfG

Steineklopfer
20-08-2009, 19:07
Moin moin,

also ohne ``URZ-Login''



sorry stimmt, geht ja nicht

hier die mal die styledatei
Teil 1


% TUBAFbib Bibliography für das Latex Corporate Design Projekt der TU Bergakademie Freiberg
% Copyright 2008 by Christian Degenkolb
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%
% Dieses Werk ist unter einem Creative Commons
% Namensnennung - Keine Bearbeitung 3.0 Deutschland Lizenzvertrag lizenziert.
% Um die Lizenz anzusehen, gehen Sie bitte zu http://creativecommons.org/licenses/by-nd/3.0/de/
% oder schicken Sie einen Brief an
% Creative Commons, 171 Second Street, Suite 300, San Francisco, California 94105, USA.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%
%
\newcommand{\TUBAFbib@name}{TUBAFbib}
\newcommand{\TUBAFbib@date}{2009/04/15}
\newcommand{\TUBAFbib@version}{v.1.3.0}

\ProvidesPackage{\TUBAFbib@name}[\TUBAFbib@date\ \TUBAFbib@version\ Christian Degenkolb]
\typeout{\space\space\space\space\space\space Biblography Styles fuer das TUBAF-CD (\TUBAFbib@date \TUBAFbib@version)}

\RequirePackage{xkeyval}
\RequirePackage{ifthen}
%csquotes wird nach Optionen geladen % TB neu

\newcommand{\TUBAFbibstyle}{}
\newcommand{\TUBAFauthorstil}{}
\newcommand{\TUBAFreihenfolge}{}
\newboolean{nat}\setboolean{nat}{false}
\newcommand{\TUBAFbib@csquotes}{} % TB neu

\def\UrlBreaks{\do\.\do\@\do\\\do\/\do\!\do\_\do\|\do\;\do\>\do\]\do\)\do\,\do\?\do\'\do\+\do\=\do\#\do\-}

\DeclareOptionX{csquotes}{\renewcommand\TUBAFbib@c squotes{#1}} % TB

\DeclareOptionX{zitatstil}[unsorted]{%
\XKV@cc*+[\val\nr]{#1}{chron,num,alph,nat,eco}{%
\ifcase\nr\relax
\renewcommand{\TUBAFbibstyle}{chron}
\or
\renewcommand{\TUBAFbibstyle}{num}
\or
\renewcommand{\TUBAFbibstyle}{alph}
\or
\renewcommand{\TUBAFbibstyle}{nat}
\or
\renewcommand{\TUBAFbibstyle}{eco}
\fi
}{\PackageWarning{\TUBAFbib@name}{the input '\val' was incorrect and was ignored.}}%
}

\DeclareOptionX{autor}[normal]{%
\XKV@cc*+[\val\nr]{#1}{normal,textsc}{%
\ifcase\nr\relax
\renewcommand{\TUBAFauthorstil}{normal}
\or
\renewcommand{\TUBAFauthorstil}{textsc}
\fi
}{\PackageWarning{\TUBAFbib@name}{the input '\val' was incorrect and was ignored.}}%
}

\DeclareOptionX{reihenfolge}[normal]{%
\XKV@cc*+[\val\nr]{#1}{normal,ajt}{%
\ifcase\nr\relax
\renewcommand{\TUBAFreihenfolge}{normal}
\or
\renewcommand{\TUBAFreihenfolge}{ajt}
\fi
}{\PackageWarning{\TUBAFbib@name}{the input '\val' was incorrect and was ignored.}}%
}

\DeclareOptionX*{\PackageWarning{\TUBAFbib@name}{U nknown option ignored: \CurrentOption}}
%
%\ExecuteOptionsX{style=numeric}
\ProcessOptionsX\relax

\RequirePackage[\TUBAFbib@csquotes]{csquotes}[2008/11/23] % TB

\ifthenelse{\equal{\TUBAFbibstyle}{chron}}{%
\RequirePackage[style=numeric,sorting=none]{biblatex}
}{%
\ifthenelse{\equal{\TUBAFbibstyle}{num}}{%
\RequirePackage[style=numeric,sorting=nty]{biblatex}%
}{%
\ifthenelse{\equal{\TUBAFbibstyle}{alph}}{%
\RequirePackage[style=alphabetic,sorting=nty]{biblatex}%
}{%
\ifthenelse{\equal{\TUBAFbibstyle}{nat}}{%
\setboolean{nat}{true}
\RequirePackage[style=authoryear,sorting=nty]{biblatex}%

\renewbibmacro*{year+labelyear}{%
\iffieldundef{year}
{}
{\printtext[parens]{%
\printfield{year}}:}}%

\renewbibmacro*{cite:year+labelyear}{%
\iffieldundef{year}
{}
{\printtext[bibhyperref]{%
\printfield{year}%
\printfield{labelyear}%
}}}%

\newbibmacro*{cite:year+labelyear+brackets}{%
\iffieldundef{year}
{}
{\printtext[bibhyperref]{%
(\printfield{year})%
\printfield{labelyear}%
}}}%

\renewbibmacro*{textcite}{%
\ifnameundef{labelname}{%
\iffieldundef{shorthand}{%
\usebibmacro{cite:label}%
\setunit{\addspace%
%\global\booltrue{cbx:parens}%
%\addspace\bibleftparen
}%
\usebibmacro{cite:year+labelyear+brackets}}%
{%
\usebibmacro{cite:shorthand}%
}%
}%
{%
\printnames{labelname}%
\setunit{\addspace%
%\global\booltrue{cbx:parens}%
%\addspace\bibleftparen
}%
\iffieldundef{shorthand}{%
\iffieldundef{year}%
{\usebibmacro{cite:label}}%
{\usebibmacro{cite:year+labelyear+brackets}}}%
{%
\usebibmacro{cite:shorthand}%
}%
}%
}%

\renewbibmacro{cite}{%
\iffieldundef{shorthand}
{\ifthenelse{\ifnameundef{labelname}\OR\iffieldund ef{year}}
{\usebibmacro{cite:label}%
\setunit{\addspace}}
{\printnames{labelname}%
\setunit{\nameyeardelim}}%
\usebibmacro{cite:year+labelyear+brackets}}
{\usebibmacro{cite:shorthand}}}

\newbibmacro{cite-wobrackets}{%
\iffieldundef{shorthand}
{\ifthenelse{\ifnameundef{labelname}\OR\iffieldund ef{year}}
{\usebibmacro{cite:label}%
\setunit{\addspace}}
{\printnames{labelname}%
\setunit{\nameyeardelim}}%
\usebibmacro{cite:year+labelyear}}
{\usebibmacro{cite:shorthand}}}

\renewbibmacro*{citeyear}{%
\iffieldundef{shorthand}
{\iffieldundef{year}
{\usebibmacro{cite:label}}
{\usebibmacro{cite:year+labelyear}}}
{\usebibmacro{cite:shorthand}}}

\DeclareCiteCommand{\cite}
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
{\multicitedelim}
{\usebibmacro{postnote}}

\DeclareCiteCommand*{\cite}
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{citeyear}}
{\multicitedelim}
{\usebibmacro{postnote}}


\DeclareCiteCommand{\textcite}
{\boolfalse{cbx:parens}%
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{textcite}}
{\ifbool{cbx:parens}
{\bibrightparen\global\boolfalse{cbx:parens}}
{}%
\multicitedelim}
{\iffieldundef{postnote}
{\ifbool{cbx:parens}
{\bibrightparen}
{}}
{\ifbool{cbx:parens}
{\postnotedelim}
{\addspace\bibleftparen}%
\printfield{postnote}\bibrightparen}}

\DeclareCiteCommand{\parencite}[\mkbibparens]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite-wobrackets}}
{\multicitedelim}
{\usebibmacro{postnote}}

\DeclareCiteCommand*{\parencite}[\mkbibparens]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{citeyear}}
{\multicitedelim}
{\usebibmacro{postnote}}


\ifthenelse{\equal{\TUBAFauthorstil}{textsc}}{%
\renewbibmacro*{author}{%
\ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{autho r}}
{\ifthenelse{\iffieldequals{namehash}{\bbx@lasthas h}\AND
\NOT\iffirstonpage}
{\bibnamedash}
{\savefield{namehash}{\bbx@lasthash}%
\textsc{\printnames{author}}%
\iffieldundef{authortype}
{\setunit{\addspace}}
{\setunit{\addcomma\space}}}%
\iffieldundef{authortype}
{}
{\usebibmacro{authorstrg}%
\setunit{\addspace}}}%
{\global\undef\bbx@lasthash
\usebibmacro{labeltitle}%
\setunit*{\addspace}}%
\usebibmacro{year+labelyear}%
}%
\renewbibmacro*{cite}{%
\iffieldundef{shorthand}
{\ifthenelse{\ifnameundef{labelname}\OR\iffieldund ef{year}}
{\usebibmacro{cite:label}%
\setunit{\addspace}}
{\textsc{\printnames{labelname}}%
\setunit{\nameyeardelim}}%
\usebibmacro{cite:year+labelyear+brackets}}
{\usebibmacro{cite:shorthand}}
}%

\renewbibmacro*{textcite}{%
\ifnameundef{labelname}{%
\iffieldundef{shorthand}{%
\usebibmacro{cite:label}%
\setunit{\addspace%
%\global\booltrue{cbx:parens}%
%\addspace\bibleftparen
}%
\usebibmacro{cite:year+labelyear+brackets}}%
{%
\usebibmacro{cite:shorthand}%
}%
}%
{%
\textsc{\printnames{labelname}}%
\setunit{\addspace%
%\global\booltrue{cbx:parens}%
%\addspace\bibleftparen
}%
\iffieldundef{shorthand}{%
\iffieldundef{year}%
{\usebibmacro{cite:label}}%
{\usebibmacro{cite:year+labelyear+brackets}}}%
{%
\usebibmacro{cite:shorthand}%
}%
}%
}%



}%

}{%
\ifthenelse{\equal{\TUBAFbibstyle}{eco}}{%
\RequirePackage[style=authortitle,sorting=nty]{biblatex}%

\ifthenelse{\equal{\TUBAFauthorstil}{textsc}}{%
\renewbibmacro*{author}{%
\ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{autho r}}
{\ifthenelse{\iffieldequals{namehash}{\bbx@lasthas h}\AND
\NOT\iffirstonpage}
{\bibnamedash}
{\textsc{\printnames{author}}%
\setunit{\addcomma\space}%
\savefield{namehash}{\bbx@lasthash}}%
\usebibmacro{authorstrg}}
{\global\undef\bbx@lasthash}%
}%
\renewbibmacro*{cite}{%
\global\let\cbx@tempa=\empty
\iffieldundef{shorthand}
{\ifnameundef{labelname}
{}
{\textsc{\printnames{labelname}}%
\gdef\cbx@tempa{\addcomma\space}}%
\usebibmacro{cite:title}}%
{\usebibmacro{cite:shorthand}}%
}%
\renewbibmacro*{textcite}{%
\ifnameundef{labelname}
{\global\let\cbx@tempa=\empty}
{\textsc{\printnames{labelname}}%
\gdef\cbx@tempa{%
\global\booltrue{cbx:parens}%
\addspace\bibleftparen}}%
\iffieldundef{shorthand}
{\usebibmacro{cite:title}}%
{\usebibmacro{cite:shorthand}}%
}%
}%
}%
}%
}%
}%
}%


\ifthenelse{\equal{\TUBAFreihenfolge}{ajt}}{%
\ifthenelse{\boolean{nat}}{}{%

\DeclareBibliographyDriver{book}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{maintitle+title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\printfield{edition}%
\newunit
\iffieldundef{maintitle}
{\printfield{volume}%
\printfield{part}}
{}%
\newunit
\printfield{volumes}%
\newunit\newblock
\usebibmacro{series+number}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{publisher+location+year}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit
\printfield{pagetotal}%
\newunit\newblock
\printfield{isbn}%
\newunit\newblock
\printfield{doi}%
\newunit\newblock
\usebibmacro{eprint}
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}%
}%
\DeclareBibliographyDriver{article}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\printfield{version}%
\newunit\newblock
\usebibmacro{in:}%
\usebibmacro{journal+issuetitle}%
\newunit\newblock
\printfield{note}%
\setunit{\bibpagespunct}%
\printfield{pages}
\newunit\newblock
\printfield{issn}%
\newunit\newblock
\printfield{doi}%
\newunit\newblock
\usebibmacro{eprint}
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}
}%


\DeclareBibliographyDriver{booklet}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\printfield{howpublished}%
\newunit\newblock
\printfield{type}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{location+year}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit
\printfield{pagetotal}%
\newunit\newblock
\printfield{doi}%
\newunit\newblock
\usebibmacro{eprint}
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}
}%

\DeclareBibliographyDriver{collection}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{editor}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{maintitle+title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\printfield{edition}%
\newunit
\iffieldundef{maintitle}
{\printfield{volume}%
\printfield{part}}
{}%
\newunit
\printfield{volumes}%
\newunit\newblock
\usebibmacro{series+number}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{publisher+location+year}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit
\printfield{pagetotal}%
\newunit\newblock
\printfield{isbn}%
\newunit\newblock
\printfield{doi}%
\newunit\newblock
\usebibmacro{eprint}
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}
}%

Teil 2 in post darunter

Moin moin,
kann ich abrufen und demnach basiert Dein Stil auf BibLaTeX, schau Dir also die etwas umfangreichere Doku zu BibLaTeX an, wenn Dir der `tubafbibfuehrer' nicht genügt.



und aus der dokumentation zu biblatex werde ich leider nicht schlau...

Steineklopfer
20-08-2009, 19:08
so und nun teil 2 des style files





\DeclareBibliographyDriver{inbook}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{in:}%
\usebibmacro{bybookauthor}%
\newunit\newblock
\usebibmacro{maintitle+booktitle}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\printfield{edition}%
\newunit
\iffieldundef{maintitle}
{\printfield{volume}%
\printfield{part}}
{}%
\newunit
\printfield{volumes}%
\newunit\newblock
\usebibmacro{series+number}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{publisher+location+year}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit\newblock
\printfield{isbn}%
\newunit\newblock
\printfield{doi}%
\newunit\newblock
\usebibmacro{eprint}
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}
}%

\DeclareBibliographyDriver{incollection}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{in:}%
\usebibmacro{maintitle+booktitle}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\printfield{edition}%
\newunit
\iffieldundef{maintitle}
{\printfield{volume}%
\printfield{part}}
{}%
\newunit
\printfield{volumes}%
\newunit\newblock
\usebibmacro{series+number}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{publisher+location+year}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit\newblock
\printfield{isbn}%
\newunit\newblock
\printfield{doi}%
\newunit\newblock
\usebibmacro{eprint}
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}
}%

\DeclareBibliographyDriver{inproceedings}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{in:}%
\usebibmacro{maintitle+booktitle}%
\newunit
\printfield{venue}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\iffieldundef{maintitle}
{\printfield{volume}%
\printfield{part}}
{}%
\newunit
\printfield{volumes}%
\newunit\newblock
\usebibmacro{series+number}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\printlist{organization}%
\newunit
\usebibmacro{publisher+location+year}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit\newblock
\printfield{isbn}%
\newunit\newblock
\printfield{doi}%
\newunit\newblock
\usebibmacro{eprint}
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}
}%

\DeclareBibliographyDriver{manual}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor}%
\newunit\newblock
\printfield{edition}%
\newunit\newblock
\usebibmacro{series+number}%
\newunit\newblock
\printfield{type}%
\newunit
\printfield{version}%
\newunit
\printfield{note}%
\newunit\newblock
\printlist{organization}%
\newunit
\usebibmacro{publisher+location+year}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit
\printfield{pagetotal}%
\newunit\newblock
\printfield{isbn}%
\newunit\newblock
\printfield{doi}%
\newunit\newblock
\usebibmacro{eprint}
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}
}

\DeclareBibliographyDriver{misc}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor}%
\newunit\newblock
\printfield{howpublished}%
\newunit\newblock
\printfield{type}%
\newunit
\printfield{version}%
\newunit
\printfield{note}%
\newunit\newblock
\printlist{organization}%
\newunit\newblock
\printlist{location}%
\newunit\newblock
\usebibmacro{date}%
\newunit\newblock
\printfield{doi}%
\newunit\newblock
\usebibmacro{eprint}
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}
}%

\DeclareBibliographyDriver{online}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor}%
\newunit\newblock
\printfield{version}%
\newunit
\printfield{note}%
\newunit\newblock
\printlist{organization}%
\newunit\newblock
\usebibmacro{date}%
\newunit\newblock
\usebibmacro{eprint}
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}
}%

\DeclareBibliographyDriver{patent}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\printfield{type}%
\setunit*{\addspace}%
\printfield{number}%
\iflistundef{location}
{}
{\setunit*{\addspace}%
\printtext[parens]{%
\printlist[][-\value{listtotal}]{location}}}%
\newunit\newblock
\usebibmacro{byholder}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{date}%
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}
}

\DeclareBibliographyDriver{periodical}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{editor}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{title+issuetitle}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byeditor}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\printfield{issn}%
\newunit\newblock
\printfield{doi}%
\newunit\newblock
\usebibmacro{eprint}
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}
}

\DeclareBibliographyDriver{proceedings}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{editor}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{maintitle+title}%
\newunit
\printlist{language}%
\newunit\newblock
\printfield{venue}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\iffieldundef{maintitle}
{\printfield{volume}%
\printfield{part}}
{}%
\newunit
\printfield{volumes}%
\newunit\newblock
\usebibmacro{series+number}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\printlist{organization}%
\newunit
\usebibmacro{publisher+location+year}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit
\printfield{pagetotal}%
\newunit\newblock
\printfield{isbn}%
\newunit\newblock
\printfield{doi}%
\newunit\newblock
\usebibmacro{eprint}
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}
}%

\DeclareBibliographyDriver{report}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\printfield{type}%
\setunit*{\addspace}%
\printfield{number}%
\newunit\newblock
\printfield{version}%
\newunit
\printfield{note}%
\newunit\newblock
\usebibmacro{institution+location+year}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit
\printfield{pagetotal}%
\newunit\newblock
\printfield{isrn}%
\newunit\newblock
\printfield{doi}%
\newunit\newblock
\usebibmacro{eprint}
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}
}%

\DeclareBibliographyDriver{thesis}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\printfield{type}%
\newunit
\usebibmacro{institution+location+year}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit
\printfield{pagetotal}%
\newunit\newblock
\printfield{doi}%
\newunit\newblock
\usebibmacro{eprint}
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}
}

\DeclareBibliographyDriver{unpublished}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
\newunit\newblock
\setunit*{}
(\printfield{year})%
\setunit{:}\newblock
\usebibmacro{title}%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\printfield{howpublished}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{date}%
\newunit\newblock
\usebibmacro{url+urldate}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}
}%

\renewbibmacro*{issue+date}{%
\printtext[parens]{%
\iffieldundef{issue}
{\iffieldundef{month}
{\printfield{year}}
{\iffieldundef{day}
{\printfield{month}%
\setunit{\addspace}%
\printfield{year}}
{\printtext{\bibdate}}}}
{\printfield{issue}%
\setunit{\addspace}%
\printfield{year}}}%
\newunit
}%

\renewbibmacro*{publisher+location+year}{%
\printlist{location}%
\iflistundef{publisher}
{\setunit*{\addspace}}
{\setunit*{\addcolon\space}}%
\printlist{publisher}%
\setunit*{\addcomma\space}%
%\printfield{year}%
\newunit
}%

\renewbibmacro*{institution+location+year}{%
\printlist{location}%
\iflistundef{institution}
{\setunit*{\addspace}}
{\setunit*{\addcolon\space}}%
\printlist{institution}%
\setunit*{\addcomma\space}%
%\printfield{year}%
\newunit
}%


\renewbibmacro*{location+year}{%
\printlist{location}%
\setunit*{\addspace}%
%\printfield{year}%
\newunit
}%
}%
}%

\setlength{\bibhang}{1em}

% Optionen:
% unsorted (vorn Zahl, LV: Zahl, LV chronologisch),
% numeric (vorn Zahl, LV Zahl, LV alphabetisch),
% alph (vorn drei Buchstaben+Jahreszahl [WER98], LV ebenso + alphabetisch sort.),
% author-year (vorn Werner (1998), LV alphabetisch sort.),
% eco (vorn Autor, Jahr + Kurztitel, LV alphabetisch)

\endinput




vlt ist es ja auch möglich das man den befehl citet so wie von festus beschrieben in das style-file mit einbinden kann...


Wenn du 'Autor (Jahr)' Zitate benutzt solltest du am besten das natbib-Paket benutzen. Und dann funktioniert es fast so wie du dachtest:
\citet[IMA Recommodation]{Leakeetal1997}



nur wie das geht, keine ahnung, da reichen mein programierkünste beiweiten nicht aus...

rais
20-08-2009, 23:14
Moin moin,


vlt ist es ja auch möglich das man den befehl citet so wie von festus beschrieben in das style-file mit einbinden kann...

siehe `texdoc biblatex' --> ``Compatibility commands for natbib''. Da diese natbib-Option zu den sog. `load time options' zählt -- also bereits beim Laden des biblatex-Pakets angegeben sein muss, wenn's verwendet werden soll -- das Laden des biblatex-Pakets aber bereits von dieser TUBAFbib.sty erledigt wird, an der Du laut Lizenz nicht drehen darfst (Creative Commons by-nd), könntest Du versuchen, biblatex mit den nötigen Optionen vor dieser TUBAFbib zu laden. Welche Optionen bei Dir genau nötig wären, hängt davon ab, was Du zuvor an TUBAFbib übergeben hast ... öffne die TUBAFbib.sty, suche nach `biblatex', schau in die Zeile darüber, ob dort der von Dir verwendete Stil (chron/num/alph/nat) angegeben ist.
Wenn nicht, nächsten Treffer suchen, sonst die links von biblatex stehende eckige Klammer samt Inhalt + ``natbib=true'' (o.ä.) an den eigenen biblatex-Aufruf übergeben und ausprobieren,ob `\citet' damit läuft. Wenn nicht, kannst Du immer noch bei Christian nachfragen, wie Du Dein Vorhaben mit seinem Paket realisieren kannst.

MfG