Updates to «ccicons» section
This commit is contained in:
		
							parent
							
								
									729af21c0a
								
							
						
					
					
						commit
						49b1af4e99
					
				| @ -272,20 +272,32 @@ Considering that my entire job exists to help keep the drug supply safe (well, t | ||||
| 
 | ||||
| \subsection{the \texttt{ccicons} package}I release this zine under a Creative Commons license (which you can read about on page 2). Prior to this, I had already included a small image that summarizes that license, which I had downloaded from the Creative Commons website. As it turns out, the \texttt{ccicons} package will do this for you—no need to add that image. | ||||
| 
 | ||||
| You can add icons individually, but it also has commands to typeset each license and its icons. For example, these two lines | ||||
| (I actually learned about this while working on issue \#4, but it was very close to the end and I came across it accidentally—it wasn't something I was looking for. But serendipity is somethings a thing, so here we are.) | ||||
| 
 | ||||
| You can add icons individually, but it also has commands to typeset each license and its icons. Because it's basically just a font, you can do with it whatever you would normally do with other text. For example, these lines | ||||
| 
 | ||||
| \begin{Verbatim}[frame=lines, numbers=left, xleftmargin=5mm, framesep=3mm] | ||||
| \ccCopy\ccAttribution\ccNonCommercial\ccNoDerivatives | ||||
| \ccbyncnd | ||||
| {\footnotesize \ccbyncnd} | ||||
| {\huge \ccbyncnd} | ||||
| \fbox{\ccbyncnd}  | ||||
| \end{Verbatim} | ||||
| 
 | ||||
| will produce | ||||
| \newpage % This is temporary | ||||
| will produce these examples: | ||||
| \medskip | ||||
| 
 | ||||
| \ccCopy\ccAttribution\ccNonCommercial\ccNoDerivatives | ||||
| 
 | ||||
| \ccbyncnd | ||||
| 
 | ||||
| {\footnotesize \ccbyncnd} | ||||
| 
 | ||||
| {\huge \ccbyncnd} | ||||
| 
 | ||||
| \fbox{\ccbyncnd}  | ||||
| 
 | ||||
| \medskip | ||||
| 
 | ||||
| Notice that the built-in command includes a little bit of space between the icons, which is nice. | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user