Debian Codegraph @

texmf-dist/doc/fonts/academicons/academicons.tex

raw
1 % This work may be distributed and/or modified under the
2 % conditions of the LaTeX Project Public License version 1.3c,
3 % available at http://www.latex-project.org/lppl/.
4
5 \documentclass{ltxdoc}
6
7 \usepackage[numbered]{hypdoc}
8 \usepackage{hologo}
9 \usepackage{hyperref,xcolor}
10 \usepackage{longtable,booktabs}
11 %\usepackage{\jobname}
12 \usepackage{academicons}
13
14 \definecolor{blue}{rgb}{0.19,0.31,0.54}
15 \hypersetup{colorlinks=true, linkcolor=blue, urlcolor=blue}
16
17 \usepackage{totcount}
18 \newtotcounter{IconsCounter}
19 \setcounter{IconsCounter}{0}
20
21 % \EnableCrossrefs
22 % \CodelineIndex
23 % \RecordChanges
24
25 % \changes{v1.9.6}{2025/09/17}{pdfTeX support.}
26 % \changes{v1.9.4}{2023/10/29}{Release of v1.9.4.}
27 % \changes{v1.9.1-2}{2022/03/10}{Fix release: included some missing icons.}
28 % \changes{v1.9.1}{2021/11/26}{Release of v1.9.1.}
29 % \changes{v1.9.0}{2020/08/14}{Release of v1.9.0.}
30 % \changes{v1.8.6-2}{2018/06/27}{Fixed bugs in a few icon macros.}
31 % \changes{v1.8.6-1}{2018/06/25}{Removed \texttt{fontspec} dependency.}
32 % \changes{v1.8.6}{2018/04/03}{Release of v1.8.6.}
33 % \changes{v1.8.3}{2018/04/03}{Release of v1.8.3.}
34 % \changes{v1.8.0-1}{2018/03/27}{Enhancement release: adjusted \texttt{\textbackslash{}newfontfamily} to account for the font installed via \texttt{tlmgr}.}
35 % \changes{v1.8.0}{2017/05/15}{Major release of v1.8.0.}
36 % \changes{v1.7.2}{2016/06/12}{Fix release: corrected a bug in the style file.}
37 % \changes{v1.7.1}{2016/06/12}{Fix release: corrected a bug in the style file.}
38 % \changes{v1.7.0}{2016/05/16}{Major release of v1.7.0.}
39 % \changes{v1.6.0-1}{2016/03/02}{Better documentation.}
40 % \changes{v1.6.0}{2016/01/30}{Major release of v1.6.0.}
41 % \changes{v1.4.0-1}{2015/05/30}{Fix release: corrected a few typos and errors in the manual.}
42 % \changes{v1.4.0}{2015/05/28}{First public release (version number set to match the included \texttt{academicons.ttf} font version).}
43
44 \begin{document}
45 \title{The \textsf{\jobname} package\\
46 High quality icons of online academic profiles}
47 \author{%
48 Diogo Fernandes\thanks{Email: \href{mailto:[email protected]}{\tt [email protected]}}~(\hologo{LaTeX} code)\\%
49 James Walsh (font and icons design)}
50 \date{v1.9.6-2, released on the 20th of September, 2025}
51 \maketitle
52
53 \begin{abstract}
54 The \textsf{\jobname} package provides specific \hologo{(La)TeX} bindings with the free \emph{Academicons} font, allowing access to \total{IconsCounter} high quality icons of online academic socials.
55 \end{abstract}
56
57 \bigskip
58
59 \section{Description}
60 The \textsf{\jobname} package provides access in \hologo{(La)TeX} to \total{IconsCounter} high quality icons of online academic socials included in the free \emph{Academicons} font. This package works with both \hologo{Xe}\hologo{(La)TeX} or Lua\hologo{(La)TeX} by using \textsf{fontspec} to load the included font, as well as with pdf\hologo{(La)TeX} by loading a Type 1 converted format of the original font.
61
62 The \emph{Academicons} font was designed by James Walsh and released\footnote{See \url{http://jpswalsh.github.io/academicons/}.} under the open SIL Open Font License\footnote{Available at \url{http://scripts.sil.org/OFL}.}. This package is a redistribution of the free \emph{Academicons} font with specific bindings for \hologo{(La)TeX}. It is inspired and based on the \textsf{fontawesome}\footnote{Available at \url{http://www.ctan.org/pkg/fontawesome}.} package.
63
64 \section{Usage}
65 \DescribeMacro{\aiicon}
66 The generic \cs{aiicon} macro takes as mandatory argument the lowercase \meta{name} of the desired icon. Icons can also be accessed directly by their respective macro in CamelCase. For example, \cs{aiicon\{googlescholar\}} yields the same result as \cs{aiGoogleScholar}.
67 %
68 The full list of icons with their respective names and direct macros can be found in the next pages.
69
70 \newenvironment{showcase}{%
71 \begin{longtable}{cp{3.75cm}p{4.5cm}}%
72 \cmidrule[\heavyrulewidth]{1-3}% \toprule
73 % \bfseries \#&\bfseries Icon&{\bfseries Name} (\meta{name})&\bfseries Direct Macro\\
74 \bfseries Icon&{\bfseries Name} (\meta{name})&\bfseries Direct Macro\\%
75 \cmidrule{1-3}\endhead%
76 }{%
77 \cmidrule[\heavyrulewidth]{1-3}% \bottomrule
78 \end{longtable}%
79 }
80
81 \newcommand{\icon}[2]{%
82 \stepcounter{IconsCounter}%
83 % \arabic{IconsCounter}&%
84 % \csname #2\endcsname%
85 \aiicon{#1}&%
86 \itshape #1&%
87 \ttfamily\textbackslash #2\index{\ttfamily\textbackslash #2}\\%
88 \stepcounter{IconsCounter}%
89 % \arabic{IconsCounter}&%
90 % \csname #2Square\endcsname%
91 \aiicon{#1-square}&%
92 \itshape #1-square&%
93 \ttfamily\textbackslash #2Square\index{\ttfamily\textbackslash #2Square}\\%
94 }
95
96 \newpage
97 \subsection{Academicons Icons}
98
99 \begin{showcase}
100 \icon{academia}{aiAcademia}
101 \icon{acclaim}{aiAcclaim}
102 \icon{acm}{aiACM}
103 \icon{acmdl}{aiACMDL}
104 \icon{ads}{aiADS}
105 \icon{africarxiv}{aiAfricArXiv}
106 \icon{archive}{aiArchive}
107 \icon{arxiv}{aiarXiv}
108 \icon{biorxiv}{aibioRxiv}
109 \icon{ceur}{aiCEUR}
110 \icon{ciencia-vitae}{aiCIENCIAVITAE}
111 \icon{clarivate}{aiClarivate}
112 \icon{closed-access}{aiClosedAccess}
113 \icon{conversation}{aiConversation}
114 \icon{coursera}{aiCoursera}
115 \icon{crossref}{aiCrossref}
116 \icon{cv}{aiCV}
117 \icon{datacite}{aiDataCite}
118 \icon{dataverse}{aiDataverse}
119 \icon{dblp}{aidblp}
120 \icon{depsy}{aiDepsy}
121 \icon{doi}{aiDoi}
122 \icon{dryad}{aiDryad}
123 \icon{elsevier}{aiElsevier}
124 \icon{figshare}{aiFigshare}
125 \icon{googlescholar}{aiGoogleScholar}
126 \icon{hal}{aiHAL}
127 \icon{hypothesis}{aiHypothesis}
128 \icon{ideas-repec}{aiIDEASRePEc}
129 \icon{ieee}{aiIEEE}
130 \icon{impactstory}{aiImpactstory}
131 \icon{inaturalist}{aiiNaturalist}
132 \icon{inpn}{aiINPN}
133 \icon{inspire}{aiInspire}
134 \icon{isidore}{aiISIDORE}
135 \icon{isni}{aiIsni}
136 \icon{jstor}{aiJSTOR}
137 \icon{lattes}{aiLattes}
138 \icon{mathoverflow}{aiMathOverflow}
139 \icon{mendeley}{aiMendeley}
140 \icon{moodle}{aiMoodle}
141 \icon{mtmt}{aiMTMT}
142 \icon{nakala}{aiNAKALA}
143 \icon{obp}{aiOBP}
144 \icon{open-access}{aiOpenAccess}
145 \icon{open-data}{aiOpenData}
146 \icon{open-materials}{aiOpenMaterials}
147 \icon{openedition}{aiOpenEdition}
148 \icon{orcid}{aiOrcid}
149 \icon{osf}{aiOSF}
150 \icon{overleaf}{aiOverleaf}
151 \icon{philpapers}{aiPhilPapers}
152 \icon{piazza}{aiPiazza}
153 \icon{preregistered}{aiPreregistered}
154 \icon{protocols}{aiProtocols}
155 \icon{psyarxiv}{aiPsyArXiv}
156 \icon{publons}{aiPublons}
157 \icon{pubmed}{aiPubMed}
158 \icon{pubpeer}{aiPubPeer}
159 \icon{researcherid}{aiResearcherID}
160 \icon{researchgate}{aiResearchGate}
161 \icon{ror}{aiROR}
162 \icon{sci-hub}{aiSciHub}
163 \icon{scirate}{aiSciRate}
164 \icon{scopus}{aiScopus}
165 \icon{semantic-scholar}{aiSemanticScholar}
166 \icon{springer}{aiSpringer}
167 \icon{ssrn}{aiSSRN}
168 \icon{stackoverflow}{aiStackOverflow}
169 \icon{viaf}{aiViaf}
170 \icon{wiley}{aiWiley}
171 \icon{zenodo}{aiZenodo}
172 \icon{zotero}{aiZotero}
173 \end{showcase}
174
175 % \PrintChanges
176 % \PrintIndex
177 \end{document}