Intereting Posts

Positioning of numbers in gb4e.sty examples
Glossaries conflict with memoir
Drawing a “spider” web of arrows in tikz-cd
\part and tocloft
What fonts should I specify to render Tufte documents using XeLaTex?
xparse empty arguments
How to understand and write LaTeX code?
Formatting table with siunitx: problem with parentheses and signs
Classes for LaTeX documentation
\tikzset key with multiple arguments
How to get Section without numbers in Title and TOC, but subsections with them
\Latex{} : undefined control sequence
How to set equal size of cells in tabular environment when \multicolumn extend the size of above cell?
Is there a \subsubsubsection command?
How to export svg to tikz

So I know to write `\LaTeX`

to get the symbol, but is there a way to do it letter by letter so as to make the first letter bold?

- How to typeset the house of an algebraic number?
- Which dot character to use in which context?
- What is the use of percent signs (%) at the end of lines?
- How to do the 'curvy L' for Lagrangian or Laplace Transforms?
- A better \pm symbol
- variable-sized “such that” pipe

- Undefined control sequence \coloneqq
- Companion for \ell
- Fancy cross-referencing
- Tex symbols and package for falling factorial power. and other symbols
- Searching a musical quarter note symbol to insert into text
- ISO: cross product
- Dashed left arrow over symbol
- Symbol for skeptical consequence that matches the turnstile package

Note: There’s a similar question and answer here:

Color up each letter of \LaTeX word

You can find the definitions of `\TeX`

, `\LaTeX`

and `\LaTeXe`

in `latex.ltx`

(which is really, really *surprising* 😉 )

Easiest way is to use the definitions and save them as new commands, say `\BLaTeX`

for `Bold \LaTeX`

😉

However, the kerning is wrong initially, so I changed it slightly — please provide own values for the kerning if the given example does not really fit yet regarding personal taste.

```
\documentclass{article}
\usepackage{xcolor}
\makeatletter
\newcommand{\Lletterstyle}[1]{%
\textcolor{red}{\textbf{#1}}%
}
\DeclareRobustCommand{\BLaTeX}{\Lletterstyle{L}\kern-.35em%
{\sbox\z@ T%
\vbox to\ht\z@{\hbox{\check@mathfonts
\fontsize\sf@size\z@
\math@fontsfalse\selectfont
A}%
\vss}%
}%
\kern-.15em%
\TeX%
}
\DeclareRobustCommand{\BLaTeXe}{\mbox{\m@th
\if b\expandafter\@car\f@series\@nil\boldmath\fi
\BLaTeX\kern.15em2$_{\textstyle\varepsilon}$}}
\makeatother
\begin{document}
\BLaTeX\ or \LaTeX
\BLaTeXe\ or \LaTeXe
Huge:\huge
\BLaTeX\ or \LaTeX
\BLaTeXe\ or \LaTeXe
\end{document}
```

You can make a small extension to the `metalogo`

package, which enables you to choose a different initial “L”.

```
\documentclass{article}
\usepackage{metalogo}
\usepackage{xpatch}
\makeatletter
\newcommand{\setLaTeXL}[1]{\def\xl@LaTeXL{#1}}
\xpatchcmd{\LaTeX}{L}{\xl@LaTeXL}{}{}
\makeatother
% initialize
\setLaTeXL{L}
\newcommand{\BLaTeX}{{\setLaTeXL{\textbf{L}}\LaTeX}}
\begin{document}
\LaTeX \BLaTeX \LaTeX
\setLaTeXL{\textbf{L}}
\LaTeX
\setLaTeXL{{\usefont{U}{rsfso}{m}{n}L}}
\setlogokern{La}{-.2em}
\LaTeX
\end{document}
```

As you see, the commands obey the usual scoping rules. If you want a global redefinition, issue `\setLaTeXL{\textbf{L}}`

in the preamble. Otherwise define `\BLaTeX`

as shown and you’ll have available both versions.

- Revtex – using math in footnote
- How to change space around theorem environments?
- Difference between bookmark levels greater than one – what does this mean?
- Biblatex Ibid. citations inside longtabu environment
- 'Not element of' in Latin Modern
- pgfplots: Add/subtract whole columns of data files with one another?
- Modifying alphabetic biblabels with biblatex
- how to text-wrap an image in latex
- Fonts Compatible with Laser Cutting
- Weird tikz/pgfkeys error while trying example from the tikz manual.
- How to split a long formula and make it beautiful?
- How to write a math closure with subscript in LaTeX?
- bibtex with multiple aliases for the same reference
- pst-optexp: draw prism compressor
- How to show a wide bar over a letter?