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

Anyone can help me write a latex for this? enter image description here

Except there should be no space between the letters because they are one word (ex. no space between d,e,and f).

Thank you for your help!

share|improve this question
Although there is already an answer: Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – Christian Hupfer Jun 21 '14 at 6:25
up vote 4 down vote accepted

Looks rather strange, but if you wish...



Here are some examples: \begin{minipage}[t]{52mm}
a\hfill = \hfill b\hfill ${}=1$ 

c\hfill= \hfill def\hfill =\hfill g \hfill ${}=2$

h\hfill = \hfill ijkl \hfill = \hfill mn \hfill ${}=3$

o \hfill = \hfill p \hfill = \hfill  qr \hfill = \hfill stuv \hfill = \hfill wxy \hfill ${}=4$

I can assume from your example, that there should be equal spacing around equal signs in a line, with an exception of the final one.

enter image description here

share|improve this answer
Thanks! But how do I make 'Here are some examples:' to be on the first line, not on the middle? – user55882 Jun 21 '14 at 6:01
@user55882 Oh, it is also important? Please see the corrected version (the option t as top in minipage). I hope that changing the picture is not necessary. – Przemysław Scherwentke Jun 21 '14 at 6:06
dziękuję! I appreciate your help – user55882 Jun 21 '14 at 6:09
@user55882 O! Czyżby Polak? (I have asked OP, if (s)he is a Pole). – Przemysław Scherwentke Jun 21 '14 at 6:12
No, just a beginner in Polish lol. – user55882 Jun 21 '14 at 6:15

The equals signs make me suspect this is math; in this case here's a solution with a simple syntax:


\newcolumntype{s}{>{\thickmuskip=1\thickmuskip plus 1fill\relax}c}

a = b &=1 \\
c = def = g &=2 \\
h = ijkl = mn &=3 \\
o = p = qr = stuv = wxy &=4

enter image description here

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.