答案1
要将“round”选项添加为 Natbib 的选项,请在“文档”>“设置”>“参考书目”中的“引用样式”的“选项”文本中输入“round”。以下是屏幕截图:
请注意,上面的截图适用于最新版本的 LyX。如果您没有 LyX 2.3.0 或更高版本,也许只需在“文档”>“设置”>“类选项”>“自定义”中添加“圆形”作为类选项。
要更改引文颜色,请转到“文档”>“设置”>“PDF 属性”,确保选中“使用 Hyperref 支持”。然后,在“附加选项”下,输入“colorlinks=true,citecolor=red”。以下是屏幕截图:
有关您可能感兴趣的其他与颜色相关的 hyperref 选项,请参见例如这里。
答案2
@scottkosty 这是最简化的例子,就像你建议的那样。我尽力让它尽可能简短 thesis .lyx :是主要论文,你可以在其中找到论文的部分。你必须执行此文件
rapport0.lyx :是第一章,您可以在其中找到参考资料
collection.bib: bibio
1/theis.lyx
#LyX 2.2 created this file. For more info see http://www.lyx.org/
\lyxformat 508
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass scrbook
\options intoc,bibliography=totoc,index=totoc,BCOR10mm,captions=tableheading,titlepage,fleqn,round
\use_default_options true
\begin_modules
customHeadersFooters
\end_modules
\maintain_unincluded_children false
\language french
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "lmodern" "default"
\font_sans "lmss" "default"
\font_typewriter "lmtt" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command bibtex
\index_command default
\float_placement h
\paperfontsize 12
\spacing onehalf
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered true
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder true
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\pdf_quoted_options "pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false,colorlinks=true,citecolor=red,"
\papersize a4paper
\use_geometry false
\use_package amsmath 2
\use_package amssymb 2
\use_package cancel 0
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 0
\use_package mhchem 1
\use_package stackrel 0
\use_package stmaryrd 0
\use_package undertilde 0
\cite_engine natbib
\cite_engine_type authoryear
\biblio_style plainnat
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date true
\justification true
\use_refstyle 0
\branch chapter-1
\selected 1
\filename_suffix 0
\color #ffaa00
\end_branch
\branch chapter-2
\selected 1
\filename_suffix 0
\color #55aaff
\end_branch
\branch Summary
\selected 1
\filename_suffix 0
\color #7f7f7f
\end_branch
\branch Acknowledgments
\selected 1
\filename_suffix 0
\color #ffff00
\end_branch
\branch Appendix
\selected 1
\filename_suffix 0
\color #faf0e6
\end_branch
\branch chapter-3
\selected 0
\filename_suffix 0
\color #faf0e6
\end_branch
\branch intro
\selected 1
\filename_suffix 0
\color #faf0e6
\end_branch
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 2
\paragraph_separation skip
\defskip medskip
\quotes_language french
\papercolumns 1
\papersides 2
\paperpagestyle fancy
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header
\begin_body
\begin_layout Title
these exmple lyx references
\end_layout
\begin_layout Standard
\begin_inset Newpage cleardoublepage
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Newpage cleardoublepage
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Branch chapter-1
status open
\begin_layout Standard
\begin_inset CommandInset include
LatexCommand include
filename "rapport0.lyx"
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Newpage cleardoublepage
\end_inset
\end_layout
\begin_layout Standard
\begin_inset CommandInset bibtex
LatexCommand bibtex
bibfiles "My Collection"
options "plainnat"
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Newpage cleardoublepage
\end_inset
\end_layout
\begin_layout Standard
\begin_inset CommandInset nomencl_print
LatexCommand printnomenclature
set_width "custom"
width "2.5cm"
\end_inset
\end_layout
\end_body
\end_document
2/rapport0.lyx
#LyX 2.2 created this file. For more info see http://www.lyx.org/
\lyxformat 508
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass scrbook
\use_default_options true
\maintain_unincluded_children false
\language french
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize 12
\spacing onehalf
\use_hyperref false
\papersize a4paper
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\topmargin 4cm
\bottommargin 4cm
\headheight 4cm
\headsep 4cm
\secnumdepth 2
\tocdepth 2
\paragraph_separation indent
\paragraph_indentation default
\quotes_language french
\papercolumns 1
\papersides 1
\paperpagestyle plain
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header
\begin_body
\begin_layout Chapter
Contexte de travail
\end_layout
\begin_layout Standard
A minimal example is a file that is as
\begin_inset CommandInset citation
LatexCommand cite
key "Beyer2011"
\end_inset
small as possible while still showing the behavior that you are asking
about.
It should include as few dependencies as possible -- remove any unnecessary
pictures and external files.
It should be possible for someone to download your .lyx file and without
modification see the same r
\begin_inset CommandInset citation
LatexCommand cite
key "Beyer2011,Vanderhoek2012"
\end_inset
behavior that you are seeing.A minimal
\begin_inset CommandInset citation
LatexCommand cite
key "Huang2000,Laffon2008"
\end_inset
example is a .lyx file that is as small as possible while still showing
the behavior that you are asking about.
It should include as few dependencies as possible -- remove any unnecesA
minimal example is a .
\end_layout
\end_body
\end_document
3/我的收藏.bib
@book{Cyon1905,
address = {Paris},
author = {Cyon, Elie},
keywords = {cyon1905},
mendeley-tags = {cyon1905},
publisher = {Alcan},
title = {{Les nerfs du coeur, anatomie et physiologie avec une preface sur les rapports de la medecine avec la physiologie et la bacteriologie.}},
url = {http://www.worldcat.org/title/nerfs-du-coeur-anatomie-et-physiologie-avec-une-preface-sur-les-rapports-de-la-medecine-avec-la-physiologie-et-la-bacteriologie/oclc/11322947},
year = {1905}
}
@article{Beyer2011,
author = {Beyer, T. and Czernin, J. and Freudenberg, L. S.},
doi = {10.2967/jnumed.110.079624},
journal = {Journal of Nuclear Medicine},
keywords = {Beyer2011},
mendeley-tags = {Beyer2011},
month = {feb},
number = {2},
pages = {303--310},
pmid = {21233186},
title = {{Variations in Clinical PET/CT Operations: Results of an International Survey of Active PET/CT Users}},
url = {http://www.ncbi.nlm.nih.gov/pubmed/21233186},
volume = {52},
year = {2011}
}
@article{Vanderhoek2012,
author = {Vanderhoek, M. and Perlman, S. B. and Jeraj, R.},
doi = {10.2967/jnumed.111.093443},
journal = {Journal of Nuclear Medicine},
keywords = {Vanderhoek2012},
mendeley-tags = {Vanderhoek2012},
month = {jan},
number = {1},
pages = {4--11},
pmid = {22213818},
title = {{Impact of the Definition of Peak Standardized Uptake Value on Quantification of Treatment Response}},
url = {http://www.ncbi.nlm.nih.gov/pubmed/22213818},
volume = {53},
year = {2012}
}
@article{Huang2000,
author = {Huang, S C},
journal = {Nuclear medicine and biology},
keywords = {Huang2000},
mendeley-tags = {Huang2000},
month = {oct},
number = {7},
pages = {643--6},
pmid = {11091106},
title = {{Anatomy of SUV. Standardized uptake value.}},
url = {http://www.ncbi.nlm.nih.gov/pubmed/11091106},
volume = {27},
year = {2000}
}
@article{Laffon2008,
author = {Laffon, Eric and Cazeau, Anne-Laure and Monet, Antoine and {De Clermont}, Henri and Fernandez, Philippe and Marthan, Roger and Ducassou, Dominique},
doi = {10.2967/jnmt.107.049627},
journal = {J Nucl Med Technol},
keywords = {Laffon2008},
mendeley-tags = {Laffon2008},
pages = {200--202},
title = {{The Effect of Renal Failure on 18 F-FDG Uptake: A Theoretic Assessment}},
url = {http://tech.snmjournals.org/content/36/4/200.full.pdf},
volume = {36},
year = {2008}
}