I'm trying to compose a non-Unicode character by arranging Unicode characters one above the other or one next to the other close-up, but I'd need a negative space which in text mode isn't available. Is there a way to get something similar?

  • 1
    Why should you not be able to use a \hspace{-1pt} in text mode? – Ulrike Fischer Jan 7 '14 at 8:45
  • Because by "negative space" I meant \!, and I didnt know the argument of \hspace could be negative. :) – MickG Jan 7 '14 at 9:45
  • 1
    @UlrikeFischer -- if that character string happens to fall exactly at the right margin, an \hspace can break, unless it's explicitly told not to. \kern won't break. – barbara beeton Jan 7 '14 at 14:44
  • Can you tell what characters you want to superimpose to each other? – egreg Jan 7 '14 at 15:30
  • @MickG The question is too generic to receive an answer. – egreg Jan 7 '14 at 18:16

I answer as per David Carlisle's request. The point is that I tend not to invent too much, and I had no idea \hspace could accept a negative argument, so I tried \! which isn't allowed in text mode since it's defined in terms of \thinmuskip. The character I wanted to compose was the Biang in Biangbiang noodles. I ended up doing it like this:

%Comandi comuni
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode

Oh yeah! Fatto!

Btw yes, \Cht is a TeX-style syntax font switch, so \Cht{…} should be {\Cht …}. I only learnt that long after this was done.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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