TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

we all know \TeX produces the TeX logo and \LaTeX produces the LaTeX logo. But there seems no command like \BibTeX for producing the BibTeX logo, while Wikipedia adopts a complicated workaround: \mathrm{B{\scriptstyle{IB}} \! T\!_{\displaystyle E} \! X}. So is there no simple command? (I think Bib\TeX is no good because the case does not conform to the official one)

share|improve this question
1  
Possible duplicate? See Herbert's answer to How to write (La)TeX (with braces) – Gonzalo Medina May 12 '11 at 22:51
    
Yes, you are right. That helps :) – ziyuang May 13 '11 at 1:40
up vote 10 down vote accepted

It used to be the case that the dtklogos package provided commands such as `\BibTeX'.

\documentclass{article}
\usepackage{dtklogos}
\begin{document}
\BibTeX  % Doesn't work in TeXLive 2015
\end{document}

However, dtklogos is still under development, and subject to change. A safer option is to use the hologo package.

\documentclass{article}
\usepackage{hologo}
\begin{document}
\hologo{BibTeX}
\end{document}

In fact, the current version of dtklogos loads hologo, but I think it's probably best to load hologo directly, until development of dtklogos is complete.

share|improve this answer
    
More complicated than I thought: {B\kern-.05em%\hbox{$\m@th$\csname S@\f@size\endcsname\fontsize\sf@size\z@\math@fontsfalse\selectfont I\kern-.025emB}\kern-.08em\-\TeX} – ziyuang May 13 '11 at 1:40
    
@Ian Thompson: the current versions of dtklogos no longer support this, you may want to update your answer. See mine below. – akim Mar 1 at 6:53
    
@akim --- Thanks for pointing this out. I knew about the change, but had long since forgotten about this question. I've updated the answer. – Ian Thompson Mar 1 at 10:25

I don't think there's an official BibTeX logo. Usually I adopt \textsc{Bib}\TeX, but also \textsc{Bib}\negthinspace\TeX might be used. The $\mathrm{B\scriptstyle IB}\!$\TeX trick might be used if the font doesn't have small caps.

share|improve this answer

FWIW, Oren Patashnik's original BibTeX documentation defines a \BibTeX command in the preamble of the corresponding .tex file:

\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
    T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}

The larger title version is hand-crafted like this:

\title{B\kern-.05em{\large I}\kern-.025em{\large B}\kern-.08em\TeX ing}
share|improve this answer

The version of dtklogos that I have (2014/11/15 v2.2) no longer defines \BibTeX, rather it loads the hologo package. The latter does not define \BibTeX, but \hologo{BibTeX}. Unfortunately, dtklogos did not install a backward compatible command for it.

\documentclass{standalone}
\usepackage{hologo}
\begin{document}
\hologo{BibTeX}
\end{document}
share|improve this answer
    
I think this is better suited as an edit of the accepted answer. – Johannes_B Feb 29 at 14:28
    
Really? At first I made this a comment of the accepted answer, but it seemed too hidden so I made it another answer. But editing the accepted answer felt uneasy/unethical... Is this really the preferred way? – akim Feb 29 at 16:57
    
You can ask Ian to include it in his answer, according to his profile, he was online three hours ago. If you are sure he has seen it but ignored it, a new nswer is ok. Though editing would be ok as well. Many will have your answer at the very bottom and never scroll down to read it. – Johannes_B Feb 29 at 17:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.