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!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

How to insert page number in a citation ?

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.
\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 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

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 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 :(

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

Re: How to insert page number in a citation ?

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 !


Return to “LyX”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 9 guests