How to remove brackets around a specific citation in the text:
See [1] and [2], but 3 is what I need, and [4] is ok.
Here, what command would give 3 and not [3] as \cite gives? For the other citations in the same document, brackets like [1] are OK.
This is not a duplicate of "Remove brackets from a single citation" because the command \citenum recommended there needs an additional package (probably natbib).
My motivation is citing two papers, each with page numbers. It seems it is impossible using normal citing commands:
See [1, p 12] and [2, p 23], but [3, p 34; 5, p 45] is what I need, and [4, p 56] is ok
so I expect to simulate it with commands like
See \cite[p 12]{A} and \cite[p 23]{B},
but [\citeNoBrackets[p 34]{C}; \citeNoBrackets[p 45]{E}] is what I need,
and \cite[p 56]{D} is ok.
For this, I need a command like \citeNoBrackets that behaves as \cite but does not add brackets. How do I do it?
Note: \def\@biblabel#1{#1} does just the opposite: it changes the References list, but does not change how citations appear in the text.
MWE:
\documentclass{article}
\begin{document}
See \cite[p 12]{A} and \cite[p 23]{B},
but [\cite[p 34]{C}; \cite[p 45]{E}] is what I need,
and \cite[p 56]{D} is ok.
\bibliographystyle{plain}
\bibliography{test}
\end{document}
test.bib:
@Article{A, author = {A}, title = {A}, journal = {A}, year = {A}}
@Article{B, author = {B}, title = {B}, journal = {B}, year = {B}}
@Article{C, author = {C}, title = {C}, journal = {C}, year = {C}}
@Article{D, author = {D}, title = {D}, journal = {D}, year = {D}}
@Article{E, author = {E}, title = {E}, journal = {E}, year = {E}}
which produces
See [1, p 12] and [2, p 23], but [[3, p 34]; [5, p 45]] is what I need, and [4, p 56] is ok.
with unwanted double brackets.

natbib? It is very widely used and accepted by publishers. – Michael Palmer Aug 04 '17 at 12:34svjour3.cls. – Alexander Gelbukh Aug 04 '17 at 12:42svjour3.clshas anatbiboption, so it's definitely compatible withnatbib. You're asking people to reinvent the wheel. – Alan Munn Aug 04 '17 at 13:00\DeclareOption{natbib}{\AtEndOfClass{\RequirePackage{natbib}- so you just start your document with\documentclass[natbib]{svjour3}. This loads the natbib package, and you should be all set. – Michael Palmer Aug 04 '17 at 13:08Bibliography not compatible with author-year citations.I do not see how to give it an option[numbers]. (How to debug this would be another question.) But in any case, I thought there should be a trivial way to get rid of the brackets without more packages. – Alexander Gelbukh Aug 04 '17 at 13:12\documentclass{article}for\documentclass[natbib]{svjour3}here produces this error. Maybe it's a problem of configuration of my computer, not sure. – Alexander Gelbukh Aug 04 '17 at 13:21\usepackage{natbib}and copy all its parameters from the class, but this is hacking, not an intended use of the class. – Alexander Gelbukh Aug 04 '17 at 13:26svjour3class with thenatbiboption, add\setcitestyle{numbers,square}and\bibliographystyle{plainnat}to your preamble. Then use regularnatbibcommands. If that doesn't work, edit your question with a minimal example showing this and then perhaps we can solve the problem. – Alan Munn Aug 04 '17 at 13:42\setcitestyle{numbers}solved thesvjour3problem, thank you! But even with this, I would be interested (for the future, or for other readers) to know the answer to the original question, if somebody wants to provide it. – Alexander Gelbukh Aug 04 '17 at 13:51