LaTeX forum ⇒ LyXHow to insert page number in a citation ?

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
jromang
Posts: 3
Joined: Fri Sep 26, 2008 4:41 pm

How to insert page number in a citation ?

Postby jromang » Fri Sep 26, 2008 4:46 pm

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!

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Fri Sep 26, 2008 5:32 pm

I'm not familiar with LyX, but there should be a way to edit the \cite command and add an optional argument.
  1. \cite[p. 435]{refkey}



Best regards and welcome to the board
Thorsten¹
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


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

Link:
BBcode:
HTML:
Hide post links
Show post links

jromang
Posts: 3
Joined: Fri Sep 26, 2008 4:41 pm

Postby jromang » Fri Sep 26, 2008 6:39 pm

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

Link:
BBcode:
HTML:
Hide post links
Show post links

jromang
Posts: 3
Joined: Fri Sep 26, 2008 4:41 pm

Postby jromang » Fri Sep 26, 2008 6:43 pm

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 !

Link:
BBcode:
HTML:
Hide post links
Show post links


Return to “LyX”

Who is online

Users browsing this forum: No registered users and 6 guests