3

As a joke in a songbook I'm editing I want to make a phrase "fall of the line", letter by letter. I do remember a long time ago to have seen something like this in WikiBooks but can't find it again.

I recognize there are different ways to do this and some alternatives would be nice to learn about.

Example of what I wan't to be done, however it should be much more incremental and not fall of one letter per line. But rather a couple of pixels per letter.

He
  l
   l
    oooo

The letters should "float of the line"

1

1 Answer 1

6

Just not to leave the question unanswered...

The page you're looking for is the Wikibook one about LaTeX/Boxes.

The command you need is \raisebox.

Since you're writing a songbook, maybe you can add some music notes:

\documentclass{article}
\usepackage{textcomp}
\newcommand{\musicnotes}{\raisebox{-2pt}{\raisebox{4pt}{\textmusicalnote}%
    \textmusicalnote\hspace{2pt}%
    \raisebox{4pt}{\textmusicalnote}}}
\begin{document}
\raisebox{-22pt}{\musicnotes}\hspace{-24pt}
\raisebox{-2pt}{H}
\raisebox{-4pt}{e}
\raisebox{-6pt}{l}
\raisebox{-8pt}{l}
\raisebox{-10pt}{o}
\raisebox{-12pt}{o}
\raisebox{-14pt}{o}
\raisebox{-16pt}{o}
\raisebox{-18pt}{!}\hspace{-26pt}
\raisebox{2pt}{\musicnotes}
\end{document}

enter image description here

1
  • Great stuff, and good thinking :) Commented Nov 5, 2018 at 9:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .