Debian Codegraph @

texmf-dist/doc/latex/panda/README.md

raw
1 ![](https://raw.githubusercontent.com/samcarter/panda/main/ICON.png)
2
3 # panda
4
5 [![License](https://img.shields.io/github/license/samcarter/panda.svg?color=blue)](https://www.latex-project.org/lppl.txt)
6 [![GitHub tag](https://img.shields.io/github/tag/samcarter/panda.svg?label=current%20version&color=blue)](https://github.com/samcarter/panda/releases/latest)
7 [![CTAN](https://img.shields.io/ctan/v/panda.svg?color=blue)](https://ctan.org/pkg/panda)
8
9 A package to estimate the blackness of fonts
10
11 One challenge when drawing icons or symbols can be to make them blend in with the surrounding text. If their line widths look good with one font, they can stand out like a sore thumb with another font. The panda package provides tools to automatically adjust line widths etc. to fit in with the surrounding font.
12
13 This project is licensed under the LaTeX Project Public License v1.3c or later, see https://www.latex-project.org/lppl.txt .
14
15 The project repository, including a bug tracker, can be found at https://github.com/samcarter/panda .
16
17 ### Usage CleverPanda
18 ```latex
19 \documentclass[varwidth,border=1pt]{standalone}
20
21 \usepackage{CleverPanda}
22
23 \newcommand{\bamboo}{%
24 \rule{\CleverPanda{}}{\fontcharht\font`I}
25 }
26
27 \begin{document}
28
29 normal cmr: \bamboo
30
31 \bfseries
32 bold cmr: \bamboo
33
34 \normalfont
35 \fontfamily{cmbr}\selectfont
36 normal cmbr: \bamboo
37
38 \bfseries
39 bold cmbr: \bamboo
40
41 \end{document}
42 ```
43
44 ### Usage BusyPanda
45
46 ```latex
47 \documentclass[varwidth,border=1pt]{standalone}
48
49 \usepackage{BusyPanda}
50
51 \newcommand{\bamboo}{%
52 \rule{\BusyPanda{0.125}\fontcharht\font`I}{\fontcharht\font`I}
53 }
54
55 \begin{document}
56
57 normal cmr: \bamboo
58
59 \bfseries
60 bold cmr: \bamboo
61
62 \normalfont
63 \fontfamily{cmbr}\selectfont
64 normal cmbr: \bamboo
65
66 \bfseries
67 bold cmbr: \bamboo
68
69 \end{document}
70 ```
71
72 For more details, please consult the [package documentation](https://github.com/samcarter/panda/blob/main/DOCUMENTATION.pdf).