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 want to create a macro that typesets the text "julia" with two slanted dots above the "ia" at the end, so it looks like this:

   _       _ _(_)_     
  (_)     | (_) (_)    
   _ _   _| |_  __ _   
  | | | | | | |/ _` |  
  | | |_| | | | (_| |  
 _/ |\__'_|_|_|\__'_|  

Since \.a gives me a dotted a, I thought maybe I could use \.{i\.a} to produce the third dot, but it didn't work - jul\.{i\.a} just outputs "juli".

Actually, I'm looking to recreate the logo at julialang.org.

Is there a way to get all the dots there?

share|improve this question
I know the tag "fonts" isn't the best, but I had no idea what to tag this and it was suggested by the site. Please feel free to retag. – Tomas Lycken May 9 '13 at 12:39
Your reference below to the julia language icon suggests that you'd be better off asking for an equilateral triangle of dots over the ia rather than a mark over the a. @barbarabeeton 's answer seems to come closest. – Ethan Bolker May 9 '13 at 13:51
By the way, you might consider changing the title of this question to something along the lines of "Making a LaTeX version of a textual logo", since it has turned out that diacritics and umlauts are not really what this question is about. – John Wickerson May 11 '13 at 15:31
up vote 17 down vote accepted

Here is my attempt.

A julia logo

I tried to emulate the original julia logo from julialang.org. Some features:

  • The positioning of the dots is relative to the x-height of the current font, which means that they should stay in the right position if the font size changes.
  • The word "julia" is set in the cmss (Computer Modern sans serif) font, which means the logo won't change if you change your default sans serif font to Helvetica or something.
  • The \julia command is declared as a 'robust' command, which means that it can safely be used inside section headings and so on. See the picture below:

A julia logo, shown at various text sizes

Here is my code:




  juliadot/.style args={#1,#2}{shape=circle,line width=0.03ex,minimum width=0.4ex,fill=#1,draw=#2}


\begin{tikzpicture}[baseline=0mm, every node/.style={inner sep=0mm, outer sep=0mm}]
\node[anchor=base]        (j) at (0,0) {\julialetter{\j}};
\node[anchor=base, right=0ex of j] (u) {\julialetter{u}};
\node[anchor=base, right=0ex of u] (l) {\julialetter{l}};
\node[anchor=base, right=0ex of l] (i) {\julialetter{\i}};
\node[anchor=base, right=0ex of i] (a) {\julialetter{a}};
\path let \p1 = (j) in node[juliadot={mylightblue,mydarkblue}] (bluedot) at (\x1+0.02ex,1.4ex) {};
\path let \p1 = (i) in node[juliadot={mylightred,mydarkred}] (reddot) at (\x1,1.4ex) {};
\path let \p1 = (reddot) in node[juliadot={mylightpurple,mydarkpurple}] (purpledot) at (\x1+0.5ex,\y1) {};
\path let \p1 = (reddot) in node[juliadot={mylightgreen,mydarkgreen}] (greendot) at (\x1+0.25ex,\y1+0.42ex) {};


\section{The \julia\ logo}

\tiny Here is a {\julia} logo.
\small The {\julia} logo is made using TikZ.
\normalsize The dimensions in {\julia}'s logo are relative,
\large so {\julia} scales quite nicely,
\LARGE when {\julia} is big, and even
\Huge when {\julia} is huge.}

share|improve this answer
This looks fantastic! Great! Is it possible to make it work also in section headers, titles etc? (Try adding \section{\julia} to your document for error output...) – Tomas Lycken May 10 '13 at 9:23
Yes, I have edited my answer to make \julia a robust command, so it should now work in section headings and titles. – John Wickerson May 11 '13 at 13:27
Again, this is brilliant - thanks a lot! Do you mind if I put together a small LaTeX package with this code and publish on e.g. github and/or CTAN? I'll of course make sure that you get the credit for this code. – Tomas Lycken May 11 '13 at 13:36
Not at all, glad to help :). – John Wickerson May 11 '13 at 13:38

here is an absolute kludge. the amounts of kern may need to be adjusted depending on the size used for setting it.


output from sample code

(from the verbal description, it sounded like you were describing the "hungarian umlaut", but that's not what your graphic shows. i've tried to match the graphic.)

here's another try, with three dots in a triangle, and an unadorned "julia" for comparison. again, full code, and caveat that the amount of kerning really is size-dependent.




enter image description here

share|improve this answer
jul\.\i\raisebox{.5ex}{\kern-.07em\.{}\kern-.2em}\.a seems a tad better. – Jubobs May 9 '13 at 13:15
Actually, I'm looking to recreate the logo at julialang.org, so this is quite close. I've been experimenting with the kerning a little, trying to get the two rightmost dots to move a little left without bringing the a with them, but since I don't really understand what's going on, I'm not doing so well... – Tomas Lycken May 9 '13 at 13:19
@Jubobs -- thanks for enlarging the image, but i fear that the kerning between the "i" and the "a" got a bit tighter than it was originally. (that's the reason i included the entire code, which i usually don't do. the kerning should ideally be the same as if there were no diacritics at all.) – barbara beeton May 9 '13 at 13:45
@barbarabeeton Sorry, I had good intentions. Feel free to revert to your original post. – Jubobs May 9 '13 at 13:57
@barbarabeeton: I'm glad I've been able to nerd-snipe you ;) I'm very grateful for all attempts at this - it is really beyond my LaTeX skills, but I would be very excited to have a working macro. Thanks a lot just for trying! – Tomas Lycken May 9 '13 at 16:38

Maybe simply:





enter image description here

share|improve this answer
Yes, this is quite good actually =) – Tomas Lycken May 9 '13 at 13:45
\i gets a complaint about being invalid in math mode. you can use \textrm instead to get rid of the complaint. – barbara beeton May 9 '13 at 13:54
@barbarabeeton Corrected.Thank you. – Przemysław Scherwentke May 9 '13 at 14:11
why not simply place the \i outside of the $...$? – waldyrious May 12 '13 at 12:59


{\kern-.2em \tiny\ensuremath{\therefore}}\kern-.3em a

One more:

enter image description here

Julia, Juli\kern-.85em\raisebox{-.01em}{
\r{ }\kern-.6em\raisebox{.2em}{\r{ }}\kern-.6em\r{ }
}\kern-.9em \ae 
share|improve this answer

I tried a combination of \makebox and \raisebox:


This is quite similar to barbara beeton's answer but uses a zero-width \makebox instead of \kerning.

EDIT: However, having looked at the OP's source I've decided it's a bit ugly; the dot above the a is too close far from dot between the i and the a. \kerning seems to be a better solution, IMHO.

I also looked into using the \therefore command from amssymb but it was broadly unworkable - the symbol has too much space in normalsize but the dots are weirdly small in tiny or scriptsize.

share|improve this answer

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.