54

I need to include some licensing information on the back cover of a free CC-licensed book. Instead of frankly mentioning the license ("This work is licensed under CC-by-nc-sa, Google knows more"), I'd like to have complete information about the rights it gives, i.e. comparable to what the license description says on their site, both images and text. I imagined the following to be in the code for that:

\usepackage{creativecommons}
...
\license[2.5]{by-nc-sa}
...
% images only
\shortlicense[3.0]{by-nc-sa}

Does anyone know of a package that makes such licensing notices easier?

4 Answers 4

18

For typesetting the Creative Commons licence logos you could use the cclicenses package.

3
  • I wonder how I missed that one... :-/ Thanks for the hint, too bad it's a bit outdated... Aug 15, 2010 at 0:09
  • Most of the icons by this package look good enough, with the exception of the \ccnc (non-commercial) icon. Apparently that thing is rendered by putting a rotated backslash over an encircled '$'. When using only the default Computer Modern font however, that backslash is too short to cover the entire circle.
    – Giel
    Aug 15, 2010 at 11:14
  • 1
    @Giel @rassie the ccicons package looks a lot better than these icons do. See my answer.
    – Seamus
    Jan 11, 2011 at 22:59
51

The ccicons package contains much prettier icons than those provided by cclicenses.

I don't think there is a package that defines macros for inserting CC license text into TeX documents, but it would be easy enough to make one.

See also this post on the creative commons website.

2
  • Just curious (and lazy): are these as good as grabbing the PDF from the creative commons website, as suggested by Lennart? Jan 12, 2011 at 1:01
  • 1
    They look pretty darn close to the real deal. I expect they are just the SVGs turned into a font...
    – Seamus
    Jan 12, 2011 at 11:26
34

I wrote a package for this :) See also Creative Commons Licence on SX.

The package is called doclicense. Check out the following mini example:

\documentclass{article}
\usepackage[
    type={CC},
    modifier={by-nc-sa},
    version={3.0},
]{doclicense}
\begin{document}
\doclicenseThis
\end{document}

enter image description here

6
  • Unfortunately this mini example does not compile under MiKTeX 2.9 on windows7 64bits (doclicense packaged 2015-08-04). It complains that doclicense.sty is not found. Also the miktex automatic detection of missing packages fails to notice this package is not installed. I installed it from the Miktex package manager, but nothing changes. Aug 16, 2015 at 13:21
  • @SiliconValley: There was a problem with this package in TeX Live/MacTeX but it should be fixed now. Please open an issue if not.
    – ypid
    Sep 11, 2015 at 11:09
  • @ypid I'm making a print-only document and don't need the hyperlinking, and I don't see an easy way to remove it. How can I do that? Dec 24, 2015 at 2:18
  • 1
    @Azor-Ahai I have never tried that and I don’t really think that it makes sense to support this. The hyperrefs will not be visible when printing. If you really want to do it you can easily achieve this by redefining the \href macro (in a way that it just expands to the link text). You could also pdf-print the document (using CUPS for example) which will also remove the hyperlinks.
    – ypid
    Dec 24, 2015 at 14:31
  • Would it possible for the command doclicense to respect the twocolumn option of a document ?
    – jowe_19
    Apr 7, 2020 at 20:46
8

Personally I thought that looked pretty bad. I solved it by downloading the relevant button from http://creativecommons.org/about/downloads as svg, converting it to pdf with Inkscape and including it as an image.

I did have to rename it, it seems that the two dots in the file name, by-nc-sa.eu.pdf confuses something, so you get an error, but by renaming it to by-nc-sa.pdf it worked fine.

Importing the eps file also worked, except that I got cutmarks around the button!

You must log in to answer this question.

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