### Complete Document Example Source: https://context7.com/zepinglee/gbt7714-bibtex-style/llms.txt A complete working example demonstrating typical usage with multiple entry types and citation commands. It includes sections for introduction and methods, with citations to various references. ```latex \documentclass{ctexart} \usepackage[sort&compress]{gbt7714} \bibliographystyle{gbt7714-numerical} \begin{document} \section{引言} 根据国家标准\cite{gbt7714}的规定,参考文献的著录应当规范化。 多位学者\cite{wang2010,zhang2012,li2015}对此进行了深入研究。 关于这一问题的详细讨论,请参阅文献\cite[第3章]{textbook}。 \section{方法} 本研究采用的方法参考了\citet{method2018}的工作。 \bibliography{refs} \end{document} ``` -------------------------------- ### BibTeX Entry - Journal Article (期刊文章) Source: https://context7.com/zepinglee/gbt7714-bibtex-style/llms.txt Example BibTeX entry for a journal article, specifying author, title, journal, year, volume, number, and pages. Includes an example with a DOI. ```bibtex @article{yuan2012, author = {袁训来 and 陈哲 and 肖书海 and others}, title = {蓝田生物群: 一个认识多细胞生物起源和早期演化的新窗口}, journal = {科学通报}, year = {2012}, volume = {57}, number = {34}, pages = {3219--3227}, } @article{kanamori1998, author = {Kanamori, H}, title = {Shaking without Quaking}, journal = {Science}, year = {1998}, volume = {279}, number = {5359}, pages = {2063}, doi = {10.1126/science.279.5359.2063}, } ``` -------------------------------- ### BibTeX Entry - Book (专著) Source: https://context7.com/zepinglee/gbt7714-bibtex-style/llms.txt Example BibTeX entry for a book, including author, title, address, publisher, and year. Supports multiple authors and optional page ranges. ```bibtex @book{wang2010, author = {徐光宪 and 王祥云}, title = {物质结构}, address = {北京}, publisher = {科学出版社}, year = {2010}, pages = {100--120}, } @book{peebles2001, author = {Peebles, Jr, Peyton Z.}, title = {Probability, Random Variables, and Random Signal Principles}, edition = {4}, address = {New York}, publisher = {McGraw-Hill}, year = {2001}, } ``` -------------------------------- ### Using GB/T 7714-2005 Style Source: https://context7.com/zepinglee/gbt7714-bibtex-style/llms.txt For backward compatibility with the older 2005 standard, use the corresponding style files. This example demonstrates setting the bibliography style to `gbt7714-2005-numerical` or `gbt7714-2005-author-year`. ```latex \documentclass{ctexart} \usepackage{gbt7714} \bibliographystyle{gbt7714-2005-numerical} % or gbt7714-2005-author-year \begin{document} 文献引用\cite{ref1}。 \bibliography{refs} \end{document} ``` -------------------------------- ### Basic Usage - Numeric Citation Style Source: https://context7.com/zepinglee/gbt7714-bibtex-style/llms.txt Use this setup for sequential numeric citations with superscript references. Load the gbt7714 package and set the bibliography style to gbt7714-numerical. ```latex \documentclass{ctexart} \usepackage{gbt7714} \bibliographystyle{gbt7714-numerical} \begin{document} 这是一个引用示例\cite{knuth1984}。多篇文献可以一起引用\cite{lamport1994,mittelbach2004}。 引用时可以标注页码\cite[42]{knuth1984}。 \bibliography{refs} % refs.bib is your bibliography database \end{document} ``` -------------------------------- ### Basic LaTeX Document Structure with gbt7714 Source: https://github.com/zepinglee/gbt7714-bibtex-style/blob/master/README.md This example demonstrates the basic structure of a LaTeX document using the gbt7714 package. Ensure your bib database is UTF-8 encoded. For author-date style, Chinese author keys must be in Pinyin for correct sorting. ```latex \documentclass{ctexart} \usepackage{gbt7714} \bibliographystyle{gbt7714-numerical} \begin{document} \cite{...} ... \bibliography{bibfile} \end{document} ``` -------------------------------- ### Chinese Pinyin Sorting for Author-Year Style Source: https://context7.com/zepinglee/gbt7714-bibtex-style/llms.txt For author-year style with Chinese entries, add pinyin in the `key` field for proper alphabetical sorting. This example shows pinyin with tones and without. ```bibtex @book{capital, author = {马克思 and 恩格斯}, key = {ma3 ke4 si1 & en1 ge2 si1}, % Pinyin with tones title = {资本论}, address = {北京}, publisher = {人民出版社}, year = {2018}, } @article{wang2010, author = {王临惠 and 支建刚 and 王忠一}, key = {wang2 lin2 hui4}, % Pinyin for sorting title = {天津方言的源流关系刍议}, journal = {山西师范大学学报(社会科学版)}, year = {2010}, volume = {37}, number = {4}, pages = {147}, } ``` -------------------------------- ### BibTeX Entry for Standard Source: https://context7.com/zepinglee/gbt7714-bibtex-style/llms.txt Format national and international standards using the @standard entry type. Include number and publisher. ```bibtex @standard{gbt25100, author = {全国信息与文献标准化技术委员会}, title = {信息与文献 都柏林核心元数据元素集}, number = {GB/T 25100—2010}, address = {北京}, publisher = {中国标准出版社}, year = {2010}, pages = {2--3}, } ``` ```bibtex @standard{iso15836, title = {Information and Documentation--- the {Dublin} Cord Metadata Element Set}, number = {ISO 15836: 2009}, year = {2009}, urldate = {2013-03-24}, url = {http://www.iso.org/iso/home/store/catalogue_tc/catalogue_detail.htm?csnumber=52142}, } ``` -------------------------------- ### BibTeX Entry for Patent Source: https://context7.com/zepinglee/gbt7714-bibtex-style/llms.txt Use the @patent entry type for patent documents. Include patent number and date. ```bibtex @patent{deng2006, author = {邓一刚}, title = {全智能节电器}, number = {200610171314.3}, year = {2006}, date = {2006-12-13}, } ``` ```bibtex @patent{tachibana2005, author = {Tachibana, Ryuki and Shimizu, Shuhichi and Kobayshi, Seiji and Nakamura, Taiga}, title = {Electronic Watermarking Method and System}, number = {US6915001}, year = {2005}, date = {2005-07-05}, urldate = {2013-11-11}, url = {http://www.google.co.in/patents/US6915001}, } ``` -------------------------------- ### BibTeX Entry for Online Resource Source: https://context7.com/zepinglee/gbt7714-bibtex-style/llms.txt Use the @online entry type for electronic resources. Include URL and access date (urldate). ```bibtex @online{bawden2008, author = {Bawden, D}, title = {Origins and Concepts of Digital Literacy}, year = {2008}, date = {2008-05-04}, urldate = {2013-03-08}, url = {http://www.soi.city.ac.uk/~dbawden/digital%20literacy%20chapter.pdf}, } ``` ```bibtex @online{oclc, author = {{Online Computer Library Center, Inc}}, title = {About {OCLC}: History of Cooperation}, urldate = {2012-03-27}, url = {http://www.oclc.org/about/cooperation.en.html}, } ``` -------------------------------- ### Citation Sorting and Compression Option Source: https://context7.com/zepinglee/gbt7714-bibtex-style/llms.txt Enable automatic sorting and compression of consecutive citation numbers by including the 'sort&compress' option when loading the gbt7714 package. This consolidates citations like [3,1,2,5,4] into [1-5]. ```latex \documentclass{ctexart} \usepackage[sort&compress]{gbt7714} \bibliographystyle{gbt7714-numerical} \begin{document} % Without sort&compress: [3,1,2,5,4] % With sort&compress: [1-5] 多篇连续文献引用\cite{ref3,ref1,ref2,ref5,ref4}会自动排序并压缩。 \bibliography{refs} \end{document} ``` -------------------------------- ### BibTeX Entry for Thesis Source: https://context7.com/zepinglee/gbt7714-bibtex-style/llms.txt Format master's theses and doctoral dissertations using @phdthesis or @mastersthesis. Include school and address. ```bibtex @phdthesis{liu2000, author = {刘乃安}, title = {生物质材料热解失重动力学及其分析方法研究}, address = {合肥}, school = {中国科学技术大学}, year = {2000}, pages = {17--18}, doi = {10.7666/d.y351065}, } ``` ```bibtex @mastersthesis{calms1965, author = {Calms, R B}, title = {Infrared Spectroscopic Studies on Solid Oxygen}, address = {Berkeley}, school = {Univ. of California}, year = {1965}, } ``` -------------------------------- ### BibTeX Entry for Technical Report Source: https://context7.com/zepinglee/gbt7714-bibtex-style/llms.txt Format technical and research reports using the @techreport entry type. Include report number if available. ```bibtex @techreport{cnnic2012, author = {中国互联网络信息中心}, title = {第 29 次中国互联网络发展现状统计报告}, year = {2012}, date = {2012-01-16}, urldate = {2013-03-26}, url = {http://www.cnnic.net.cn/hlwfzyj/hlwxzbg/201201/P020120709345264469680}, } ``` ```bibtex @techreport{calkin2011, author = {Calkin, D and Ager, A and Thompson, M}, title = {A Comparative Risk Assessment Framework for Wildland Fire Management: the 2010 Cohesive Strategy Science Report}, number = {RMRS-GTR-262}, year = {2011}, pages = {8--9}, } ``` -------------------------------- ### BibTeX Entry with Manual Language and Medium Identification Source: https://github.com/zepinglee/gbt7714-bibtex-style/blob/master/README.md In some cases, you may need to manually specify the language and medium for a bibliography entry. Supported languages include english, chinese, japanese, and russian. Medium codes like 'DK' can also be specified. ```bibtex @misc{citekey, langid = {japanese}, mark = {Z}, medium = {DK}, ... } ``` -------------------------------- ### BibTeX Language Detection and Override Source: https://context7.com/zepinglee/gbt7714-bibtex-style/llms.txt The package auto-detects Chinese and English. Use the 'langid' field to manually specify languages like Japanese for special cases. ```bibtex % Automatic detection works for most entries @book{auto_chinese, author = {王五}, title = {中文书籍标题}, publisher = {科学出版社}, year = {2020}, } ``` ```bibtex % Manual language override for special cases @misc{japanese_entry, author = {山田太郎}, title = {日本語のタイトル}, langid = {japanese}, % Options: english, chinese, japanese, russian mark = {Z}, % Manual document type marker medium = {DK}, % Manual medium type year = {2020}, } ``` -------------------------------- ### Basic Usage - Author-Year Citation Style Source: https://context7.com/zepinglee/gbt7714-bibtex-style/llms.txt Employ this configuration for author-year citation formats, common in social sciences and humanities. Load the gbt7714 package and set the bibliography style to gbt7714-author-year. ```latex \documentclass{ctexart} \usepackage{gbt7714} \bibliographystyle{gbt7714-author-year} \begin{document} 根据张三的研究\cite{zhang2020},这一结论得到验证。 \citep{zhang2020} % Parenthetical citation: (张三, 2020) \citet{zhang2020} % Textual citation: 张三 (2020) \bibliography{refs} \end{document} ``` -------------------------------- ### BibTeX Entry for Newspaper Article Source: https://context7.com/zepinglee/gbt7714-bibtex-style/llms.txt Use @article with entrysubtype = {newspaper} for newspaper articles. Include journal, date, and URL if available. ```bibtex @article{yu2013, author = {余建斌}, title = {我们的科技一直在追赶: 访中国工程院院长周济}, journal = {人民日报}, entrysubtype = {newspaper}, year = {2013}, date = {2013-01-12}, number = {2}, urldate = {2013-03-20}, url = {http://paper.people.com.cn/rmrb/html/2013-01/12/nw.D110000renmrb_20130112_5-02.htm}, } ``` -------------------------------- ### BibTeX Entry for Book Chapter Source: https://context7.com/zepinglee/gbt7714-bibtex-style/llms.txt Use @incollection for chapters or sections from books. Ensure all relevant fields like author, title, booktitle, publisher, and year are included. ```bibtex @incollection{cheng1999, author = {程根伟}, title = {1998 年长江洪水的成因与减灾对策}, editor = {许厚泽 and 赵其国}, booktitle = {长江流域洪涝灾害与科技对策}, address = {北京}, publisher = {科学出版社}, year = {1999}, pages = {32--36}, } ``` ```bibtex @inproceedings{weinstein1974, author = {Weinstein, L and Swertz, M N}, title = {Pathogenic Properties of Invading Microorganism}, editor = {Sodeman, Jr, William A and Sodeman, William A}, booktitle = {Pathologic physiology: mechanisms of disease}, address = {Philadelphia}, publisher = {Saunders}, year = {1974}, pages = {745--772}, } ``` -------------------------------- ### Page Locator Position Option Source: https://context7.com/zepinglee/gbt7714-bibtex-style/llms.txt Control the placement of page locators relative to citation brackets using the 'locator-inside-brackets' option. Set to 'true' to place locators inside, e.g., '[1, p.42]'. The default is 'false', resulting in '[1]^{42}'. ```latex \documentclass{ctexart} \usepackage[locator-inside-brackets=true]{gbt7714} \bibliographystyle{gbt7714-numerical} \begin{document} % With locator-inside-brackets=true: [1, p.42] % Default (false): [1]^{42} 引用并标注页码\cite[42]{ref1}。 \bibliography{refs} \end{document} ``` -------------------------------- ### BibTeX Entry with Key for Chinese Author Sorting Source: https://github.com/zepinglee/gbt7714-bibtex-style/blob/master/README.md When using the author-date style, Chinese author names in the 'key' field must be in Pinyin to ensure correct alphabetical sorting. ```bibtex @book{capital, author = {马克思 and 恩格斯}, key = {ma3 ke4 si1 & en1 ge2 si1}, ... } ``` -------------------------------- ### Switching Citation Modes in Numeric Style Source: https://context7.com/zepinglee/gbt7714-bibtex-style/llms.txt Within the numeric citation style, use \citestyle to toggle between superscript and inline numeric citations. The default is superscript. ```latex \documentclass{ctexart} \usepackage{gbt7714} \bibliographystyle{gbt7714-numerical} \begin{document} % Default: superscript style "张三[2]提出" 这是默认上标引用\cite{ref1}。 \citestyle{numbers} % Switch to inline numbers % Now produces: "文献 [3] 中说明" 文献\cite{ref2}中说明这一问题。 \citestyle{super} % Switch back to superscript 再次使用上标\cite{ref3}。 \bibliography{refs} \end{document} ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.