I'm starting up with LaTeX today in order to be able to produce better-looking PDFs for university assignments. I'm working through a list of small exercises, handed out by a volunteer professor, and a certain one has stalled me a bit.

This is what I'm supposed to have in my output:

enter image description here

So, to tackle it, here's the code I wrote:

\section{\gt Άσκηση 1η} \gt
\fontsize{14}{16.8} \selectfont Α
\fontsize{16}{19.2} \selectfont Β
\fontsize{20}{24}   \selectfont Γ
\fontsize{24}{28.8} \selectfont Δ
\fontsize{28}{33.6} \selectfont Ε
\fontsize{32}{38.4} \selectfont Ζ
\fontsize{36}{43.2} \selectfont Η
\fontsize{40}{48}   \selectfont Θ 
\fontsize{44}{52.8} \selectfont Ι
\fontsize{40}{48}   \selectfont κ
\fontsize{36}{43.2} \selectfont λ
\fontsize{32}{38.4} \selectfont μ
\fontsize{28}{33.6} \selectfont ν
\fontsize{24}{28.8} \selectfont ξ
\fontsize{20}{24}   \selectfont ο
\fontsize{16}{19.2} \selectfont π

The output is, of course, the following:

enter image description here

Obviously I still have to do something for the letter spacing, condense them together. I've gone through at least 6 similar topics on tex.stackexchange and I haven't been able to solve it using the already proposed solutions.

Any help related to my question or with any problems in my code (maybe I've written redundant lines) would be greatly appreciated.

I'm using TeXStudio and MiKTeX.

  • 1
    You have a 2 word spaces (from end of line, and after \fontsize{}{}) after each letter: also you don't want to change the baselineskip after each letter (it has no effect anyway as the same baseline is used for the whole paragraph – David Carlisle Oct 14 '13 at 16:51
  • @DavidCarlisle I fixed that right now, I keep forgetting this isn't a compiler that ignores whitespaces. Also added {}s at the end of statements. I'm still in need of spacing, though. – Dimitris Sfounis Oct 14 '13 at 17:03

This is homework, so I'll only give a hint: no \fontsize command is used, just standard documented commands.

enter image description here

It's obviously an exercise on the font size changing commands:

\tiny Α%
\scriptsize Β%
\footnotesize Γ%
\small Δ%
\normalsize Ε%
\large Ζ%
\Large Η%
\huge Ι%
\huge κ%
\Large μ%
\large ν%
\normalsize ξ%
\small ο%
\footnotesize π%
\scriptsize ρ%
\tiny ς}
  • Did you play with \tiny, \footscript etc? – Dimitris Sfounis Oct 14 '13 at 18:08
  • 1
    @DimitrisSfounis Exactly. – egreg Oct 14 '13 at 19:35
  • I have noticed something. At the end of your letters you place a single %. Without it, my letters have spacing between them. With it, they stick together. I was curious about that. – Dimitris Sfounis Oct 15 '13 at 10:01

Manually changing the spacing between words is usually not required or recommended. I mention the spacing between words because, as David noted, you are adding unwanted spaces between your letters, and therefore each is treated as a word:

\fontsize{14}{16.8}[*space*]\selectfont Α[*space*]
\fontsize{16}{19.2}[*space*]\selectfont Β[*space*]

Also, as you already figured, a more sensible approach is to use the built-in size commands.


\textit{\scriptsize A\footnotesize B\small G\normalsize D\large E\Large Z\LARGE H\huge J\Huge I\Huge k\huge l\Large m\large n\normalsize x\small o\footnotesize p\scriptsize r\tiny s}

enter image description here


This question inspires me to create the following command, called \wavytext:



The effect of the command is demonstrate as follow:



produces enter image description here

I am not satisfy by the current definition, though, as each character must be separated by ,. One possible solution is to redefine \@forloop and \@iforloop. But I guess that creates more troubles than it solves...

  • 1
    If you were on XeLaTeX or LuaLaTeX the Greek characters would be single tokens; in (pdf)LaTeX they could be two or more tokens (multibyte in UTF-8) so a general solution without separating commas would be much more complicated: Greek letters are two byte long, others can be one, three or four. – egreg Oct 15 '13 at 8:28
  • How nice is that! – Dimitris Sfounis Oct 15 '13 at 9:56

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.