![参考书目中的 bibitem 符号更改](https://linux22.com/image/337042/%E5%8F%82%E8%80%83%E4%B9%A6%E7%9B%AE%E4%B8%AD%E7%9A%84%20bibitem%20%E7%AC%A6%E5%8F%B7%E6%9B%B4%E6%94%B9.png)
使用thebibliography
环境,我想更改 bibitem 符号。因此,
[1] Jon Symbolmaster, The Art of Changing bibitem Symbols
应该有例如
* Jon Symbolmaster, The Art of Changing bibitem Symbols
或带有\blacktriangleright
符号。
我知道,使用beamer
with\setbeamertemplate{bibliography item}[triangle]
命令很容易。但我用的是baposter
,所以我很无助。
编辑:
\documentclass[landscape, a0paper, fontscale=0.285]{baposter}
\definecolor{yellow}{cmyk}{0,0,0.9,0.0}
\definecolor{reddishyellow}{cmyk}{0,0.22,1.0,0.0}
\definecolor{black}{cmyk}{0,0,0.0,1.0}
\definecolor{lightyellow}{cmyk}{0,0,0.3,0.0}
\definecolor{lighteryellow}{cmyk}{0,0,0.1,0.0}
\definecolor{lighteryellow}{cmyk}{0,0,0.1,0.0}
\definecolor{lightestyellow}{cmyk}{0,0,0.05,0.0}
\begin{document}
\begin{poster}{
headerborder=closed, % Adds a border around the header of content boxes
colspacing=0.5em, % Column spacing
bgColorOne=lighteryellow, % Background color for the gradient on the left side of the poster
bgColorTwo=lightestyellow, % Background color for the gradient on the right side of the poster
borderColor=reddishyellow, % Border color
headerColorOne=yellow, % Background color for the header in the content boxes (left side)
headerColorTwo=reddishyellow, % Background color for the header in the content boxes (right side)
headerFontColor=black, % Text color for the header text in the content boxes
boxColorOne=lightyellow, % Background color of the content boxes
boxColorTwo=lighteryellow,
textborder=roundedleft, % Format of the border around content boxes, can be: none, bars, coils, triangles, rectangle, rounded, roundedsmall, roundedright or faded
eyecatcher=true, % Set to false for ignoring the left logo in the title and move the title left
headerheight=0.19\textheight, % Height of the header
headershape=rectangle, % Specify the rounded corner in the content box headers, can be: rectangle, small-rounded, roundedright, roundedleft or rounded
headerfont=\Large\bf\textsc, % Large, bold and sans serif font in the headers of content boxes
%textfont={\setlength{\parindent}{1.5em}}, % Uncomment for paragraph indentation
linewidth=1.5pt % Width of the border lines around content boxes
}
{}
{Bibitem Symbols}
{Jon Symbolmaster}
{}
\headerbox{References}{name=references}{
\renewcommand{\section}[2]{\vskip 0.05em}
\begin{thebibliography}{99}
\bibitem{jon}
Jon Symbolmaster (2016),
\newblock The Art of Changing bibitem Symbols
\end{thebibliography}
}
\end{poster}
\end{document}
答案1
在这种情况下,您需要获取*
,您可以将以下宏添加到您的序言中:
\makeatletter
\def\@bibitem#1{\item[*]\if@filesw \immediate\write\@auxout
{\string\bibcite{#1}{\the\value{\@listctr}}}\fi\ignorespaces}
\makeatother
或者在添加包\blacktriangleright
后使用以下命令获取:amssymb
\makeatletter
\def\@bibitem#1{\item[$\blacktriangleright$]\if@filesw \immediate\write\@auxout
{\string\bibcite{#1}{\the\value{\@listctr}}}\fi\ignorespaces}
\makeatother
因此 MWE 看起来将像这样:
\documentclass[landscape, a0paper, fontscale=0.285]{baposter}
\definecolor{yellow}{cmyk}{0,0,0.9,0.0}
\definecolor{reddishyellow}{cmyk}{0,0.22,1.0,0.0}
\definecolor{black}{cmyk}{0,0,0.0,1.0}
\definecolor{lightyellow}{cmyk}{0,0,0.3,0.0}
\definecolor{lighteryellow}{cmyk}{0,0,0.1,0.0}
\definecolor{lighteryellow}{cmyk}{0,0,0.1,0.0}
\definecolor{lightestyellow}{cmyk}{0,0,0.05,0.0}
\makeatletter
\def\@bibitem#1{\item[*]\if@filesw \immediate\write\@auxout
{\string\bibcite{#1}{\the\value{\@listctr}}}\fi\ignorespaces}
\makeatother
\begin{document}
\begin{poster}{
headerborder=closed, % Adds a border around the header of content boxes
colspacing=0.5em, % Column spacing
bgColorOne=lighteryellow, % Background color for the gradient on the left side of the poster
bgColorTwo=lightestyellow, % Background color for the gradient on the right side of the poster
borderColor=reddishyellow, % Border color
headerColorOne=yellow, % Background color for the header in the content boxes (left side)
headerColorTwo=reddishyellow, % Background color for the header in the content boxes (right side)
headerFontColor=black, % Text color for the header text in the content boxes
boxColorOne=lightyellow, % Background color of the content boxes
boxColorTwo=lighteryellow,
textborder=roundedleft, % Format of the border around content boxes, can be: none, bars, coils, triangles, rectangle, rounded, roundedsmall, roundedright or faded
eyecatcher=true, % Set to false for ignoring the left logo in the title and move the title left
headerheight=0.19\textheight, % Height of the header
headershape=rectangle, % Specify the rounded corner in the content box headers, can be: rectangle, small-rounded, roundedright, roundedleft or rounded
headerfont=\Large\bf\textsc, % Large, bold and sans serif font in the headers of content boxes
%textfont={\setlength{\parindent}{1.5em}}, % Uncomment for paragraph indentation
linewidth=1.5pt % Width of the border lines around content boxes
}
{}
{Bibitem Symbols}
{Jon Symbolmaster}
{}
\headerbox{References}{name=references}{
\renewcommand{\section}[2]{\vskip 0.05em}
\def\theenumiv{*}
\begin{thebibliography}{99}
\bibitem{jon}
Jon Symbolmaster (2016),
\newblock The Art of Changing bibitem Symbols
\end{thebibliography}
}
\end{poster}
\end{document}