Comments (3)
用一个简单的实现吧:
\documentclass{article}
\usepackage{ctex}
\usepackage[backend=biber,style=gb7714-2015]{biblatex}
\makeatletter
\DeclareCiteCommand{\citenosup}
{\mkbibleftborder\usebibmacro{cite:init}%
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite:comp}}
{}
{\usebibmacro{cite:dump}\mkbibrightborder}
\newcommand{\citeudf}[2][\@empty]{\leavevmode\gbleftparen\citenosup{#2}{,\space}%
\citeauthor{#2}{,\space}%
\citeyear{#2}\ifx#1\@empty\else{:\space}p.#1\fi\gbrightparen}
\makeatother
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@inproceedings{邱泽奇rawtype,
author = {邱泽奇},
title = {建构与分化:当代**社会结构的过程},
editor = {潘乃谷 and 马戎},
booktitle = {社区研究与社会发展.**社会学纪念费孝通教授学术活动 60 周年学术讨论会},
location = {天津},
year = {1998},
publisher = {天津农业科技术出版社},
pages = {1-10}
}
\end{filecontents}
\addbibresource[location=local]{\jobname.bib}
\begin{document}
\citeudf{邱泽奇rawtype}
\citeudf[49]{邱泽奇rawtype}
\printbibliography
\end{document}
结果为:
from biblatex-gb7714-2015.
命令名,你可以自己定义。
from biblatex-gb7714-2015.
\gbleftparen 和 \gbrightparen 似乎找不到命令,可能是版本问题,我改成英文括号了
其他就没问题了,谢谢!
from biblatex-gb7714-2015.
Related Issues (20)
- arxiv中的[J]想改成[J/OL] HOT 2
- 著者-出版年制下引用多个著者的文献时正文标注顺序按时间排列 HOT 3
- 如何给 参考文献中的会议年份数字加粗? HOT 2
- 如何保留原始杂志名字? HOT 8
- 一处手册笔误 HOT 3
- 用法:特殊字符映射问题--\textquotesingle 似乎被转为了别的字符 HOT 5
- 关于 `CCNUthesis.bbx` 的后续格式调整 HOT 19
- 每篇参考文献不用标点做结束符 HOT 3
- 连续出版物条目在缺失 journal 字段时,没有省略其后的标点。 HOT 1
- 关于gb7714-NWAFU.bbx中gbnamefmt调整的问题 HOT 4
- 老的ctex套装使用biblatex-gb7714-2015 报错问题 HOT 7
- 引用多篇参考文献取消压缩的问题 HOT 1
- 用法:中英文参考文献分开显示,且手动设置文献序号 HOT 3
- 用法:修改斜杠字符的字体族和调整括号的垂直位置 HOT 10
- 会议论文这种格式:“篇名[A]. // 论文集名称[C]”怎么实现? HOT 3
- 请求拆分 `gbfootbib` 选项 HOT 5
- 如何去除参考文献后的"."如xxx.[J]. xxx HOT 3
- 用法:中英文混排时标注标签根据文献语言显示显示“等”与“et al.”和中英文标点 HOT 23
- 用法:移除\citeauthor*等引用命令引用中文文献时的标注标签中的作者姓名和等之间的空隙 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biblatex-gb7714-2015.