### LaTeX users online

In total there are 7 users online :: 2 registered, 0 hidden and 5 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: Google [Bot], Yahoo [Bot] and 5 guests

### LaTeX Friends

Sponsored by DANTE e.V.: The German speaking TeX Users Group

## How to insert page number in a citation ?

### LaTeX Forum: LyX

Add tags Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Hi, I'm a LyX beginner, very impressed by LateX/Lyx I 'm currently wrinting a document with Bibtext citations, everything is working fine, but I can't find a solution to include page numbers in the citations (exemple [5, page 435] instead of just [5] ). Is-it possible ?
Thanks!
jromang

Posts: 3
Joined: Fri Sep 26th, 2008

I'm not familiar with LyX, but there should be a way to edit the \cite command and add an optional argument.
Code: Select all  •  Open in online LaTeX editor
`\cite[p. 435]{refkey}`

Best regards and welcome to the board
Thorsten¹
LaTeX Community Moderator

¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses

localghost
Site Moderator

Posts: 9218
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany

Thanks for the fast answer ! Another question then : how to insert this optional argument in LyX ?
I can display the Latex source in Lyx, but cannot edit it directly
jromang

Posts: 3
Joined: Fri Sep 26th, 2008

Ok I found it finally No need to edit directly the latex code, just right clik on the citation and type some text in the 'text after' area. Thanks a lot for your help !
jromang

Posts: 3
Joined: Fri Sep 26th, 2008