GithubHelp home page GithubHelp logo

cgnieder / guitarchordschemes Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 0.0 1.52 MB

guitar chord and scale tablatures

TeX 100.00%
latex latex-package music guitar guitar-chords guitar-tabs guitar-tablature

guitarchordschemes's Introduction

--------------------------------------------------------------------------
the GUITARCHORDSCHEMES package v0.7

  Guitar Chord and Scale Tablatures with TikZ

2016/08/16
--------------------------------------------------------------------------
Clemens Niederberger
Web:    https://bitbucket.org/cgnieder/guitarchordschemes/
E-Mail: [email protected]
--------------------------------------------------------------------------
Copyright 2013-2016 Clemens Niederberger

This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
of this license or (at your option) any later version.
The latest version of this license is in
  http://www.latex-project.org/lppl.txt
and version 1.3 or later is part of all distributions of LaTeX
version 2005/12/01 or later.

This work has the LPPL maintenance status `maintained'.

The Current Maintainer of this work is Clemens Niederberger.
--------------------------------------------------------------------------
The guitarchordschemes package consists of the files
 - guitarchordschemes.sty,
 - guitarchordschemes_en.tex, guitarchordschemes_en.pdf
 - README
--------------------------------------------------------------------------
If you have any ideas, questions, suggestions or bugs to report, please
feel free to contact me.
--------------------------------------------------------------------------

guitarchordschemes's People

Contributors

cgnieder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

guitarchordschemes's Issues

Big line for the nut

First thanks for this package! Is that possible to have a thicker line for the nut ?

Ukulele chord schemes combined with the leadsheets package

I am trying to combine a leadsheet songbook with some ukulele chords based on this guitarchordschemes package.

I am trying to add some chords to each leadsheet song (\begin{song}...\end{song}).
Inside there I add:

\chord{
    \chordscheme[
        name = Em,
        finger = {4/3,3/2,2/1}
    ]
} % with or without \chord{} the effect is the same

Also before the \begin{document} I've set:

\usepackage{guitarchordschemes}
% ...
\setchordscheme{
  strings = 4 ,
  chord-frets = 5 ,
  tuning = {,,,} ,
  rotate = -90 ,
  x-unit = 1.333mm , y-unit = 2mm ,
  finger-radius = .25 ,
  line-width = .6pt ,
  restrict-bounding-box
}

However this is rendered with some noise as:

image

How can I make this work the expected way? Just 4 strings, the finger dots and the chord name on top?

For reference, I started from: https://tex.stackexchange.com/questions/318670/generating-ukulele-chord-diagrams

String overlaps scale/fingering icon

image

I don't have much experience with tikz so I may be doing something wrong here. But I'd like to have the roots have a solid background, rather than being overlapped by the string. I also can't seem to change the finger-style text colour to white.

image

Any advice would be very welcome!


Edit: I've managed to move the strings to a background layer, they aren't as thick a line as before, but at least they're not overlapping the text. See the image below, and the changes I made.

image

Line 51

\pgfdeclarelayer{bg}    % declare background layer
\pgfsetlayers{bg,main}  % set the order of the layers (main is the standard layer)

Line 535

\begin{pgfonlayer}{bg} % Draw strings on BG layer
\draw
 (0,{.8*(\gcs@string@number-\gcs@string)})
 node[transform shape,
 label={[text height=1.5ex,text depth=.2ex]left:%
   \gcs@string@name@format\csuse{guitar@string@\gcs@string}}] {}
 --++(1.5*\gcs@chordscheme@fret@number,0) ;
\end{pgfonlayer} % End draw strings on BG layer

Line 580

\begin{pgfonlayer}{bg} % Draw strings on BG layer
\draw
 (0,{.8*(\gcs@string@number-\gcs@string)})
 node[transform shape,
 label={[text height=1.5ex,text depth=.2ex]%
   left:\gcs@string@name@format\csuse{guitar@string@\gcs@string}}] {}
 --++(1.5*\gcs@scales@fret@number,0) ;
\end{pgfonlayer} % End draw strings on BG layer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.