I use a custom cite command cite which puts the citation on first use in the footer. The problem is that there is no possibility to reference a page or section with this cite command.
example: \cite[p. 12]{somebibref} ignores the optional parameter.
The citation should be in brackets like this: ...Lorem explains [1, p.12]...
This is the code snipped i got but i dont know how to modify it for my purpose.
What do I need to modify to add the additional parameter only in the citation in the text not in the footer?
\makeatletter
\newtoggle{cbx@togcite}
% remove doi, eprint and url from footnote
%\renewbibmacro*{doi+eprint+url}{}%
% Citation number superscript in brackets
\renewcommand\@makefntext[1]{%
\iftoggle{cbx@togcite}
{\@textsuperscript{\normalfont[\@thefnmark]}\enspace #1}
{\@textsuperscript{\normalfont\@thefnmark}\enspace #1}%
\global\togglefalse{cbx@togcite}}
\renewcommand\@makefntext[1]{%
\iftoggle{cbx@togcite}
{\normalfont[\@thefnmark]\enspace #1}
{\normalfont\@thefnmark\enspace #1}%
\global\togglefalse{cbx@togcite}}
\DeclareCiteCommand{\cite}[\cbx@superscript]%
{\usebibmacro{cite:init}%
\let\multicitedelim=\supercitedelim
\iffieldundef{prenote}
{}
{\BibliographyWarning{Ignoring prenote argument}}%
\iffieldundef{postnote}
{}
{\BibliographyWarning{Ignoring postnote argument}}}
{\usebibmacro{citeindex}%
\usebibmacro{sfcite}%
\usebibmacro{cite:comp}}
{}
{\usebibmacro{cite:dump}}
\newbibmacro*{sfcite}{%
\ifciteseen
{}
{\xappto\cbx@citehook{%
\global\toggletrue{cbx@togcite}%
\noexpand\footnotetextA[\thefield{labelnumber}]{%
\fullcite{\thefield{entrykey}}\addperiod}}}}
\newrobustcmd{\cbx@superscript}[1]{%
%\mkbibsuperscript{\mkbibbrackets{#1}}%
\mkbibbrackets{#1}%
\cbx@citehook%
\global\let\cbx@citehook=\empty}
\let\cbx@citehook=\empty
\endinput

\textcite[][p]{foo}where p is the page? – Romain Picot Oct 20 '15 at 20:08\textcitedoes not put it on first use in the footer and writes all authors out. should beet al.for multiple authors – baam Oct 20 '15 at 20:22\renewcommand\@makefntextis useless, the first block can be dropped. I also believe that one could achieve what you want much easier. – moewe Oct 21 '15 at 11:12