TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

I would like to be able to add the symbol "lambda-bar" (see below) into an equation. How can I do this?

enter image description here

share|improve this question
tipa provides \textcrlambda. Found via How to look up a symbol?. – Werner Feb 2 '13 at 16:11
up vote 20 down vote accepted

As far as I know (confirmed by the Comprehensive list of LaTeX symbols), the only package that provides \lambdabar is txfonts (and the derived newtxmath). Of course changing all document fonts to get that symbol is out of the question (and the lambda is quite different from other fonts, so it's also impossible to import only it).

One can build the symbol similarly to \hbar:

\newcommand{\lambdabar}{{\mkern0.75mu\mathchar '26\mkern -9.75mu\lambda}}


This exploits the fact that the bar character used is exactly 9mu wide. In the standard definition of \hbar there is just \mkern-9mu, but we need to push the bar slightly to the right. (The second line is just to compare the results.)

enter image description here

A different implementation, where the bar is lower.






I've left the four parameters to \smash@bar so that one can fine tune them for different fonts. The variable parameters are the third (amount of shifting down as a fraction of 1ex in the correct font size) and the fourth (amount of shifting right of the bar, in mu units).

enter image description here

share|improve this answer
that bar looks too high. it would look better closer to the middle of the ascender, and maybe even a little bit lower. this symbol is in the stix fonts, but i'm not exactly sure where, since it's identified as a variant of U+0198, not the basic unicode. – barbara beeton Feb 2 '13 at 17:27
@barbarabeeton Maybe it's a bit high, but in this way it matches the height if the bar in \hbar. – egreg Feb 2 '13 at 17:54
@barbarabeeton I've added a version with a lowered bar – egreg Feb 2 '13 at 18:28
This is splendid. – User 17670 Feb 2 '13 at 18:53

In this case I use the stackengine package to set a \rule atop a \lambda. But the key to success in making it work with all the math styles is the \ThisStyle{...\SavedStyle...} syntax of the scalerel package, which both allows the glyph components to be set in the proper math style. Additionally, the values \LMpt and \LMex are lengths with respective values of 1pt and 1ex, which do scale with the mathstyle (to 0.7 size in \scriptstyle and 0.5 size in \scriptscriptstyle).

Thus, in text and display styles, the rule is moved down 2.4pt for the overlap; in script style, it is moved down .7(2.4pt) and in scriptscript style, it is moved down .5(2.4pt). And while the rule length is always a scalable 1\LMex in length, the kerning and the rule thickness are composites of scalable and unscalable lengths, chosen to give the most aesthetically pleasing look.

Obviously, the stacking gaps, etc. can be modified to suit your taste.

$\lambdabar \scriptstyle\lambdabar \scriptscriptstyle\lambdabar$

enter image description here

share|improve this answer

This symbol has a unicode with the number U+019B. You may choose some font which supports this symbol and use it as shown below:

% arara: lualatex 

\newcommand{\lambdabar}{{\setmainfont{Linux Libertine O}\text{\symbol{"019B}}}}

%In text \lambdabar, in inline math $\lambdabar$ or in display:

enter image description here

share|improve this answer

I tried all of the above, and this worked the best, for me.

You need to install the tipa package, and since your \lambdabar will be in math mode, you must use \mbox{} to take it back to text mode.

It works with two lines of code, as shown below:


here is the character, in a math string:

... $\lambdabar$


share|improve this answer
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – Sean Allred Sep 28 '14 at 19:11

Your Answer


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.