lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting a directory for .ly documents, when using LaTEX


From: Urs Liska
Subject: Re: Setting a directory for .ly documents, when using LaTEX
Date: Wed, 20 Jan 2016 13:53:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0



Am 20.01.2016 um 13:48 schrieb hbezemer:

 

 

Dear Members,

I'm using LaTEX to create a chord and scale book and have a lot of .ly files, which starts to clutter the directory where the main TEXt-file is.


Ehm, what is it you want to include in your book?
If it's PDF files they *are* images for LaTeX.

What I usually do is define a macro pointing to the media directory:

\newcommand{\mediadir}../path/to/mediadir}

and then use

\includegraphics{\mediadir/image}

Of course you can use a shorter name than \mediadir ...

HTH
Urs

Is it possible to set a directory in the preample of the document, like is done with pictures?

<code>

\documentclass[12pt]{article}

\usepackage{graphicx}

\graphicspath{D:/LATEX/address@hidden/figures}

\begin{document}
\includegraphics[width=4.5cm,height=4cm,angle=0]{logo.jpg}

\end{document}</code>

Thanks in advance.

Hans Bezemer


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

[Prev in Thread] Current Thread [Next in Thread]