12.1. How LilyPond Works
When you use LilyPond, think of musical objects in two ways: what it is or means, and how it looks. You should focus on which objects to use and what they mean, then adjust how they look as you need. The LilyPond developers spend a lot of effort to ensure most musical scores are visually appealling with little adjustment.
After you prepare a specially-formatted text file for LilyPond, the program uses many different components to decide how the score will look. For every type of musical object, LilyPond has a specific rendering component. When a component creates a musical object in a score, the component considers several alternative appearances, then chooses only one.
Once LilyPond decides how a score will look, the program uses a “back end” component to output the score into a PDF, SVG, or PNG file so you can use the score.