TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A quick follow-up to question to Customize citation style, basically.

Right now I am defining a custom command like this


How should I modify it to produce an output like "[1.]"? It should also work with multiple arguments and then output "[1, 2, 3.]". Or if not modifying the command presented, would an easier way exist?

share|improve this question
You don't want to modify the cite command: you want to modify the bibliography style... Are you using bibtex or biblatex? – Seamus Jun 29 '11 at 20:27
@Seamus bibtex, I believe. However, is it a problem that I need the styles I described in my post in addition to the usual citing styles. This meaning that sometimes I'd want to have "[1]" and sometimes "[1.]" – Jay Jun 29 '11 at 20:38
Patching into the cite command like that couldn't even be done by makebst. I think a biblatex solution might be forthcoming, but otherwise it might be tricky. If you can find a cite command that is without parentheses, it would be easy, actually... – Seamus Jun 29 '11 at 21:47
up vote 1 down vote accepted

Without some clue about what bibliography style you're using I'm not sure how much can be usefully said about your question.

If I understand the question correctly, you want to have \cite that produces [1] and \mycite that produces [1.]. I don't think you can do this straightforwardly by patching \cite in this way.

If you switched to a bibliography style where \cite just produced 1, then you could easily define:

share|improve this answer
Actually I pretty much did what you suggested. By using natbib, I defined the citations to look like "1" and added a few commands. Works atleast and I'm able to get my work done, thanks! – Jay Jun 30 '11 at 17:27
@Jay good glad it helped. I actually had a look for styles that just print 1 but I couldn't find any. I didn't look at natbib though. I always associate it with authoy (year) styles... – Seamus Jul 1 '11 at 10:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.