Debian Codegraph @

texmf-dist/doc/latex/biblatex-cv/biblatex-cv.tex

raw
1 % The header to this document is based on the biblatex.tex document. The ordering and style of the documentation also is based on biblatex.tex.
2 \documentclass{ltxdockit}[2011/03/25]
3 \usepackage{btxdockit}
4 \usepackage{fontspec}
5 \usepackage{hyperref}
6 \usepackage{zref-xr}
7
8 \setmonofont{Courier New}
9 \setmainfont[Ligatures=TeX]{Linux Libertine O}
10 \setsansfont[Ligatures=TeX]{Linux Biolinum O}
11 \usepackage[american]{babel}
12 \usepackage[strict]{csquotes}
13 \usepackage{tabularx}
14 \usepackage{longtable}
15 \usepackage{booktabs}
16 \usepackage{shortvrb}
17 \usepackage{pifont}
18 \usepackage{microtype}
19 \usepackage{typearea}
20 \usepackage{mdframed}
21 \areaset[current]{370pt}{700pt}
22 \lstset{
23 basicstyle=\ttfamily,
24 keepspaces=true,
25 upquote=true,
26 frame=single,
27 breaklines=true,
28 postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{red}\hookrightarrow\space}}
29 }
30 \KOMAoptions{numbers=noenddot}
31 \addtokomafont{title}{\sffamily}
32 \addtokomafont{disposition}{\spotcolor}
33 \addtokomafont{descriptionlabel}{\spotcolor}
34 \setkomafont{caption}{\bfseries\sffamily\spotcolor}
35 \setkomafont{captionlabel}{\bfseries\sffamily\spotcolor}
36 \pretocmd{\cmd}{\sloppy}{}{}
37 \pretocmd{\bibfield}{\sloppy}{}{}
38 \pretocmd{\bibtype}{\sloppy}{}{}
39 \makeatletter
40 \RedeclareSectionCommand[%
41 beforeskip=-3.25ex\@plus -1ex \@minus -.2ex,%
42 afterskip=1.5ex \@plus .2ex,%
43 ]{paragraph}
44 \RedeclareSectionCommand[%
45 beforeskip=-3.25ex\@plus -1ex \@minus -.2ex,%
46 indent=\z@,%
47 ]{subparagraph}
48 \makeatother
49
50 \MakeAutoQuote{«}{»}
51 \MakeAutoQuote*{<}{>}
52
53 % DES: Moved turning \| into a shorthand for verbatim material until later since it breaks something in the biblatex package
54
55 \newcommand*{\allowbreakhere}{\discretionary{}{}{}}
56
57 \newcommand*{\biber}{\sty{biber}\xspace}
58 \newcommand*{\biblatex}{\sty{biblatex}\xspace}
59 \newcommand*{\biblatexml}{\sty{biblatexml}\xspace}
60 \newcommand*{\biblatexhome}{http://sourceforge.net/projects/biblatex/}
61 \newcommand*{\biblatexctan}{http://ctan.org/pkg/biblatex/}
62
63 % DES: Moved \titlepage and \hypersetup to the end of the preamble
64
65 % tables
66
67 \newcolumntype{H}{>{\sffamily\bfseries\spotcolor}l}
68 \newcolumntype{L}{>{\raggedright\let\\=\tabularnewline}p}
69 \newcolumntype{R}{>{\raggedleft\let\\=\tabularnewline}p}
70 \newcolumntype{C}{>{\centering\let\\=\tabularnewline}p}
71 \newcolumntype{V}{>{\raggedright\let\\=\tabularnewline\ttfamily}p}
72
73 \newcommand*{\sorttablesetup}{%
74 \tablesetup
75 \ttfamily
76 \def\new{\makebox[1.25em][r]{\ensuremath\rightarrow}\,}%
77 \def\alt{\par\makebox[1.25em][r]{\ensuremath\hookrightarrow}\,}%
78 \def\note##1{\textrm{##1}}}
79
80 \newcommand{\tickmarkyes}{\Pisymbol{psy}{183}}
81 \newcommand{\tickmarkno}{\textendash}
82 \providecommand*{\textln}[1]{#1}
83 \providecommand*{\lnstyle}{}
84
85 % markup and misc
86
87 \setcounter{secnumdepth}{4}
88
89 \makeatletter
90
91 \newenvironment{nameparts}
92 {\trivlist\item
93 \tabular{@{}ll@{}}}
94 {\endtabular\endtrivlist}
95
96 \newenvironment{namedelims}
97 {\trivlist\item
98 \tabularx{\textwidth}{@{}c@{=}l>{\raggedright\let\\=\tabularnewline}X@{}}}
99 {\endtabularx\endtrivlist}
100
101 \newenvironment{namesample}
102 {\def\delim##1##2{\@delim{##1}{\normalfont\tiny\bfseries##2}}%
103 \def\@delim##1##2{{%
104 \setbox\@tempboxa\hbox{##1}%
105 \@tempdima=\wd\@tempboxa
106 \wd\@tempboxa=\z@
107 \box\@tempboxa
108 \begingroup\spotcolor
109 \setbox\@tempboxa\hb@xt@\@tempdima{\hss##2\hss}%
110 \vrule\lower1.25ex\box\@tempboxa
111 \endgroup}}%
112 \ttfamily\trivlist
113 \setlength\itemsep{0.5\baselineskip}}
114 {\endtrivlist}
115
116 \makeatother
117
118 \newrobustcmd*{\Deprecated}{%
119 \textcolor{spot}{\margnotefont Deprecated}}
120 \newrobustcmd*{\DeprecatedMark}{%
121 \leavevmode\marginpar{\Deprecated}}
122 \newrobustcmd*{\LF}{%
123 \textcolor{spot}{\margnotefont Label field}}
124 \newrobustcmd*{\LFMark}{%
125 \leavevmode\marginpar{\LF}}
126 \newrobustcmd*{\CSdelim}{%
127 \textcolor{spot}{\margnotefont Context Sensitive}}
128 \newrobustcmd*{\CSdelimMark}{%
129 \leavevmode\marginpar{\CSdelim}}
130
131
132 \newcommand*{\seestyleexample}[1]{%
133 \leavevmode
134 \marginpar{%
135 \raggedright
136 \footnotesize
137 Style example:\\
138 \href{file:examples/#1.pdf}{local},
139 \href{http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/examples/#1.pdf}
140 {online}.}%
141 \ignorespaces}
142
143 % following snippet is based on code by Michael Ummels (TeX Stack Exchange)
144 % <http://tex.stackexchange.com/a/13073/8305>
145 \makeatletter
146 \newcommand\fnurl@[1]{\footnote{\url@{#1}}}
147 \DeclareRobustCommand{\fnurl}{\hyper@normalise\fnurl@}
148 \makeatother
149
150 \hyphenation{%
151 star-red
152 bib-lio-gra-phy
153 white-space
154 }
155
156 % DES: Begin additions/changes to biblatex.tex preamble
157 \titlepage{%
158 title={Bib\LaTeX\ Style for Creating a Curriculum Vitae},
159 subtitle={Datatypes and Formatting Macros},
160 url={https://github.com/danielshub/biblatex-cv/},
161 author={Daniel E. Shub},
162 email={[email protected]},
163 revision={0.01},
164 date={\today}%
165 }
166
167 \hypersetup{%
168 pdftitle={The biblatex-cv manual},
169 pdfsubject={Bib\LaTeX\ Style for Creating a Curriculum Vitae},
170 pdfauthor={Daniel E. Shub},
171 pdfkeywords={latex, biblatex, cv, style}
172 }
173
174 \usepackage{biblatex-cv}
175 \highlightname{Doe}{Jon}{}{}
176 \addbibresource{biblatex-cv.bib}
177
178 \newcommand{\exampitem}[1]{\begingroup%
179 \par\itemsep0.5\itemsep\item%
180 Default Output: \par%
181 \printbibliography[env = unnumbered, resetnumbers = true, check = #1]%
182 \endgroup}
183
184 \MakeShortVerb{\|}
185
186 \begin{document}
187 \nocite{*}
188 \printtitlepage
189 \tableofcontents
190
191 \section{Introduction}
192 \subsection{About}
193 This package is a \biblatex\ style for creating an academic curriculum vitae (CV) from a \bibtex\ \file{.bib} file using \biber\slash\biblatex. In addition to the standard publication types, an academic CV contains information about funding, teaching, mentoring, and other accomplishments. Depending on the purpose of the CV, the grouping of the items within a category changes. For example, when applying for jobs, it is often desirable to group teaching by whether it is at the undergraduate or graduate level (or maybe by class size), but when applying for promotion, you may need to group teaching depending on if the classes were inside/outside your department. The same goes for mentoring. In some cases it may make sense to group by the program/department the students/post-docs were enrolled and in other cases it may make sense to group undergraduate students separately. The purpose of this package is to harness the power of \biber\slash\biblatex\ to automatically group items on a CV and ensure consistent formatting of those items. The package implements a citation style (\file{biblatex-cv.cbx}), a references section style (\file{biblatex-cv.bbx}), a data model (\file{biblatex-cv.dbx}) that includes enhancements and additional entry types over the standard data model, and a string localization file (\file{american-cv.lbx}). It also includes a standard \latex\ package (\file{biblatex-cv.sty}) which provides useful interfaces for grouping items on the CV. Localization support is provided for CV specific strings in the accompanying \file{american-cv.lbx} file.
194
195 The \sty{biblatex-cv} data model includes a number of additional entry types beyond those provided by the standard \biblatex\ data model. The \sty{biblatex-cv} data model, however, does not include all possible entry types that might appear on a CV. For example, it lacks an entry type related to employment, even though every CV likely includes employment history. The additional data types that are included in the \sty{biblatex-cv} data model were chosen based on the perceived likelihood that an individual might want to tailor the formatting, grouping, and/or ordering of the items of a particular entry type for a particular purpose. Future versions of the \sty{biblatex-cv} data model will likely include additional entry types and hopefully someday it will be possible to fully generate an academic CV directly from a \file{.bib} file.
196
197 \subsection{License}
198 Copyright \textcopyright\ 2020-- Daniel E. Shub. Permission is granted to copy, distribute and\slash or modify this software under the terms of the \lppl, version~1.3.\fnurl{http://www.latex-project.org/lppl.txt}. The current maintainer is Daniel Shub.
199
200 \subsection{Feedback}
201 Bug reports, comments and ideas are welcome. Please use the project page on GitHub to report bugs and submit feature requests.\fnurl{https://github.com/danielshub/biblatex-cv/}.
202
203 \subsection{Acknowledgments}
204 This package was motivated by the amazing improvements \bibtex\slash\biblatex\ provides over \bibtex\ for managing bibliographies. The data model and formatting macros provided by \biblatex\ allows a user with a good working knowledge of \latex\ to design new bibliography and citation styles. The \sty{biblatex-publist}\fnurl{https://github.com/jspitz/biblatex-publist} style provided a lot of inspiration of for this package and shows the flexiblity of \biblatex.
205
206 \section{Use}
207 This package is available at \url{https://github.com/danielshub/biblatex-cv/}. To install manually, you can download it and then put the \file{.cbx}, \file{.bbx}, \file{.lbx}, \file{.dbx}, and \file{.sty} files in your texmf tree (???). An example document is provided at the end of this document, but briefly, you specify the style in the usual way when loading \biblatex. While the style can be loaded just like any other \biblatex\ style, it is best to load it with |\usepackage{biblatex-cv}|. The \sty{biblatex-cv} package loads \biblatex\ with useful options as well as providing macros that are useful for grouping items in a CV. It can be loaded with:
208
209 \begin{ltxcode}
210 \usepackage[american]{babel}
211 \usepackage{biblatex-cv}
212 \end{ltxcode}
213
214 \subsection{Package options}
215 The verbosity of the output can be controlled by passing options to \sty{biblatex-cv}. These options include
216 \begin{ltxcode}
217 verbose-committee
218 verbose-education
219 verbose-teaching
220 verbose-lists
221 \end{ltxcode}
222
223 \noindent The options |verbose-committee|, |verbose-education|, and |verbose-teaching| respectively control how verbose the lists of committees, education, and teaching are. The |verbose-lists| option is the same as passing |verbose-committee|, |verbose-education|, and |verbose-teaching|.
224
225 \subsection{Package and Base Styles}
226 The citation style (\path{biblatex-cv.cbx}) is an unmodified version of the \biblatex\ |authoryear| citation style. The bibliography style (\path{biblatex-cv.bbx}) is based on the corresponding \biblatex\ |authoryear| style, but it patches a couple of the standard macros to provide additional functionality. The bibliography style essentially just adds bibliography drivers for the new entry types and provides a number of |toggles| to control the information that is presented. These |toggles| are in the form |cv@blx@ENTRYTYPE:FIELD|. The package (\path{biblatex-cv.sty}) provides macros for controlling the grouping and format of the items on the CV. The |\highlightname| macro is used to identify a particular name for special treatment. By default the name is made bold face in lists of authors and deleted from lists of presenters. The package also provides |numbered| and |unnumbered| bibliography environments. The numbers decrease in the |numbered| environment.
227
228 \section{Database Guide}
229 This package contains the following files:
230 \begin{description}
231 \item[\path{american-cv.lbx}] The |biblatex-cv| localization files. This file provides language-specific macros for some fixed strings commonly used in academic CVs.
232 \item[\path{biblatex-cv.bbx}] The \sty{biblatex-cv} bibliography style. It is based on the standard \biblatex\ |authoryear| style but provides bibliography drivers for the new entry types and some minor modifications to the standard entry types.
233 \item[\path{biblatex-cv.bib}] The \file{.bib} entries used to provided the examples in this document.
234 \item[\path{biblatex-cv.cbx}] The \sty{biblatex-cv} citations style. It is just the standard \biblatex\ |authoryear| style.
235 \item[\path{biblatex-cv.dbx}] The \sty{biblatex-cv} data model. It is based on the standard \biblatex\ data model but provides enhancements and additional entry types to allow users to utilize more natural entry type and field names for certain entries.
236 \item[\path{biblatex-cv.sty}] A \latex\ package that provides macros for controlling the grouping and format of the items on the CV.
237 \item[\path{biblatex-cv.tex}] This document.
238 \item[\path{cv.tex}] An example CV populated by the entries in \path{biblatex-cv.bib}.
239 \end{description}
240
241 \subsection{New Entry Types}
242 This section gives an overview of the novel entry types supported by the \sty{biblatex-cv} package data model along with the fields supported by each type. The lists below indicate the fields supported by each entry type. Note that the <required> fields are not strictly required in all cases. The fields marked as <optional> are optional in a technical sense. The \sty{biblatex-cv} package data model defines a few constraints for the format of certain fields. These are only validated against the data model with \biber's \opt{--validate-datamodel} option, however, the grouping features provided by the \sty{biblatex-cv} package assume the data model has been validated. Some generic fields like \bibfield{abstract} and \bibfield{annotation} or \bibfield{label} and \bibfield{shorthand} are not included in the lists below because they are independent of the entry type. See the \sty{biblatex-cv} data model specification in the file \file{biblatex-cv.dbx} for a complete specification.
243
244 \begin{typelist}
245 \typeitem{abstract}
246 A published abstract in a journal, proceedings, or other location. While an abstract is often associated with a presentation, only a single entry should be made in the database since there is no way to automatically suppress the duplicate output. This entry type nearly identical to the \bibtype{article} entry type except it has the additional mandatory fields \bibfield{entrysubtype}, \bibfield{presentationtype}, and \bibfield{presenter}. The output format is also similar to that of the \bibtype{article} entry type. To work with the built in bibliography filters, the field \bibfield{entrysubtype} is constrained to be |poster| or |talk|.
247 \reqitem{author, title, journaltitle, year/date, entrysubtype, presentationtype, presenter}
248 \optitem{translator, annotator, commentator, subtitle, titleaddon, editor, editora, editorb, editorc, journalsubtitle, issuetitle, issuesubtitle, language, origlanguage, series, volume, number, eid, issue, month, pages, version, note, issn, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
249 \exampitem{Abstract}
250
251 \typeitem{committee}
252 A committee entry is designed to reflect administrative service committees that have been served on. The field \bibfield{title} is the name of the committee. To work with the built in bibliography filters, the field \bibfield{entrysubtype} is constrained to be |departmental|, |external|, or |institutional|.
253 \reqitem{date, entrysubtype, title, institution}
254 \optitem{location, department, role, semesters}
255 \exampitem{Committee}
256
257 \typeitem{school}
258 A school is place where one studied and possibly earned a \bibtype{degree}. It is closely coupled with the \bibtype{degree} entry type.
259 \reqitem{date, institution, location}
260 \optitem{department, degreelist, gpa, honors}
261
262 \typeitem{degree}
263 A degree is something you earn at a \bibtype{school}. It is closely coupled with the \bibtype{school} entry type.
264 \reqitem{date, institution, location}
265 \optitem{department, degree, gpa, honors, major, minor, concentration, advisor, committee, title}
266 \exampitem{Education}
267
268 \typeitem{funding}
269 An entry type for recording funding and grants. To work with the built in bibliography filters, the field \bibfield{entrysubtype} is constrained to be |individual| or |institutional| and the field \bibfield{status} is constrained to be |completed|, |ongoing|, |pending|, |submitted|, or |unsuccessful|.
270 \reqitem{date, entrysubtype, status, author, funder}
271 \optitem{title, role, amount, currency, number, type}
272 \exampitem{Funding}
273
274 \typeitem{presentation}
275 A typically unpublished presentation from a conference or seminar, or other event. While a presentation is often associated with an abstract, only a single entry should be made in the database since there is no way to automatically suppress the duplicate output. To work with the built in bibliography filters, the field \bibfield{entrysubtype} is constrained to be |poster| or |talk|.
276 \reqitem{date, entrysubtype, author, presentationtype, presenter, title, institution, location}
277 \optitem{department}
278 \exampitem{Presentation}
279
280 \typeitem{student}
281 An entry type for students and other individuals that you hae been a mentor to or examined. To work with the built in bibliography filters, the field \bibfield{entrysubtype} is constrained to be |masters|, |phd|, |postdoc|, or |undergraduate| and the field \bibfield{role} is constrained to be |externalexaminer|, |internalexaminer|, |secondsupervisor|, or |supervisor|.
282 \reqitem{date, entrysubtype, role, name, institution, location}
283 \optitem{department}
284 \exampitem{Student}
285
286 \typeitem{teaching}
287 An entry type for classes that you have taught. To work with the built in bibliography filters, the field \bibfield{entrysubtype} is constrained to be |graduate| or |undergraduate|. The optional field \bibfield{classes} can be used in conjunction with the field \bibfield{crossref} when you have taught multiple sections of a particular class or have taught it over multiple years.
288 \reqitem{date, entrysubtype, title, department, institution, location}
289 \optitem{number, numlectures, numstudents, role, classes}
290 \exampitem{Teaching}
291
292 \end{typelist}
293
294 \subsection{Modified Entry Types}
295 This section gives an overview of the modifications made to the standard entry types. Changes have been made to both the underlying data model and its constraints as well as the bibliography drivers and the underlying macros that format the output. The bibliography drivers for all entry types except the \bibtype{shorthand} and \bibtype{set} entry types, have been modified to not print the field \bibfield{note} in the standard location, but rather before the page reference and related type information. The field \bibfield{note} is now provided along with bibliometric information. The bibliometrics information is currently limited to the field \bibfield{numcites}.
296
297 \begin{typelist}
298 \typeitem{article}
299 This is the standard \bibtype{article} entry type modified to have an additional mandatory field \bibfield{numcites}.
300 \typeitem{unpublished}
301 This is the standard \bibtype{unpublished} entry type modified to have an additional optional field \bibfield{journaltitle}.
302 \typeitem{unpublished}
303 This is the standard \bibtype{thesis} entry type but modified to work with the built in bibliography filters by constraining the field \bibfield{type} to be |doctoralthesis|, |mastersthesis|, or |undergradthesis|.
304 \end{typelist}
305
306 \subsection{New Entry Fields}
307 \begin{fieldlist}
308 \listitem{advisor}{name} The advisor(s) for the entry type \bibtype{degree}.
309
310 \listitem{committee}{name} The committee member(s) for the entry type \bibtype{degree}.
311
312 \listitem{name}{name} The name of the student for the entry type \bibtype{student}. While technically a list, it is probably not advisable to use it as such and each \bibtype{student} entry should be for a single student.
313
314 \listitem{presenter}{name} The presenter(s) of a piece of work for the entry types \bibtype{abstract} and \bibtype{presentation}.
315
316 \listitem{concentration}{literal} A list of concentration areas for the entry type \bibtype{degree}.
317
318 \listitem{honors}{literal} A list of honors associated with the entry type \bibtype{degree}.
319
320 \listitem{minor}{literal} A list of minors associated with the entry type \bibtype{degree}.
321
322 \fielditem{amount}{integer} The amount of money for the entry type \bibtype{funding}.
323
324 \fielditem{numcites}{integer} The number of citations for a particular item.
325
326 \fielditem{numlectures}{integer} The number of lectures/classes for the entry type \bibtype{teaching}.
327
328 \fielditem{numstudents}{integer} The number of students in a class for the entry type \bibtype{teaching}.
329
330 \fielditem{currency}{literal} The currency of the field \bibfield{amount}.
331
332 \fielditem{degree}{literal} The degree earned for the entry type \bibtype{degree}.
333
334 \fielditem{department}{literal} An additional field that allows finer grain control of the \bibfield{institution} and \bibfield{location}. Unlike \bibfield{institution} and \bibfield{location}, \bibfield{department} is a field and not a list.
335
336 \fielditem{funder}{literal} The name of the funding institute for the entry type \bibtype{funding}.
337
338 \fielditem{gpa}{literal} The grade point average for the entry types \bibtype{degree} and \bibtype{school}.
339
340 \fielditem{major}{literal} The major for the entry type \bibtype{degree}.
341
342
343 \fielditem{presentationtype}{literal} The type of presentation for the entry types \bibtype{abstract} and \bibtype{presentation}. To work with the built in bibliography filters, the field should be constrained to be |contributed|, |internal|, |invited|, |job|, or |keynote|.
344
345 \fielditem{role}{key} The role (e.g., chair or secretary) that was served for entry type \bibtype{committee}.
346
347 \fielditem{status}{key} The status of the entry type \bibtype{funding}.
348
349 \fielditem{classes}{separated list of entrykeys} A comma separated list of keys to other \bibtype{teaching} entries. This can be useful if you taught a class multiple semesters and/or multiple sections of a class.
350
351 \fielditem{degreelist}{separated list of entrykeys} A comma separated list of \bibtype{degree} entries earned at the corresponding \bibtype{school}.
352
353 \fielditem{semesters}{separated list of entrykeys} a comma separated list of keys to other committee entries. This can be useful if you served on a committee for multiple years serving different roles.
354
355 \end{fieldlist}
356
357 \section{Example}
358 The following example will create a boring looking CV. There is no reason you cannot make the formatting nicer. The purpose of this package is to control the sorting, grouping, and formatting of the items on the CV and not the CV itself.
359
360 \begin{ltxcode}
361 \documentclass{article}
362 \usepackage[american]{babel}
363 \usepackage{biblatex-cv}
364
365 \highlightname{Doe}{Jon}{}{}
366 \addbibresource{biblatex-cv.bib}
367
368 \begin{document}
369 \nocite{*}
370 \section*{Education}
371 \printbibliography[env = unnumbered, resetnumbers = true, check = Education]
372
373 \section*{Funding}
374 \printbibliography[env = numbered, resetnumbers = true, check = Funding]
375
376 \section*{Abstracts}
377 \printbibliography[env = numbered, resetnumbers = true, check = Abstract]
378
379 \section*{Research Presentations}
380 \printbibliography[env = numbered, resetnumbers = true, check = Presentation]
381
382 \section*{Teaching}
383 \printbibliography[env = unnumbered, resetnumbers = true, check = Teaching]
384
385 \section*{Service}
386 \printbibliography[env = unnumbered, resetnumbers = true, check = Committee]
387
388 \section*{Mentoring}
389 \printbibliography[env = unnumbered, resetnumbers = true, check = Student]
390 \end{document}
391 \end{ltxcode}
392
393 If instead of showing all your teaching together, you want to group by graduate and undergraduate teaching, that is as simply as changing |check = Teaching| to |check = Teaching:Graduate| and |check = Teaching:Undergraduate|. Grouping by the institute where the teaching was done is a little harder, since we do not know where you have taught. First you have to define the checks:
394 \begin{ltxcode}
395 \defbibcheck{Teaching:Oxford}{%
396 \ifentrytype{teaching}{}{\skipentry}%
397 \iffieldequalstr{institution}{Oxford}{}{\skipentry}%
398 }
399 \defbibcheck{Teaching:Cambridge}{%
400 \ifentrytype{teaching}{}{\skipentry}%
401 \iffieldequalstr{institution}{Cambridge}{}{\skipentry}%
402 }
403 \end{ltxcode}
404
405 \noindent and then you can use |check = Teaching:Oxford| and |check = Teaching:Cambridge|. Of course if you group by university, you may not want to include the university in the reference. That can be controlled with |\togglefalse{cv@blx:teaching:institution}| and if you want to get rid of the department and location, there are toggles for that too. There are lots of checks and toggles predefined in \sty{biblatex-cv}. just look through the \file{biblatex-cv.sty} to see if what you need exists. If not, there is hopefully an example that will get you close.
406 \end{document}
407
408 % arara: clean: { extensions: [ aux, bbl, bcf, blg, out, run.xml, toc ] }
409 % arara: clean: { extensions: [ log, pdf ] }
410 % arara: xelatex: { options: [ '-halt-on-error' ], interaction: batchmode }
411 % arara: biber: { options: [ '--validate_datamodel' ] }
412 % arara: xelatex: { options: [ '-halt-on-error' ], interaction: batchmode }
413 % arara: --> until !found('log', 'Rerun to get cross-references right.')
414 % arara: --> && !found('log', 'There were undefined references.')
415 % arara: clean: { extensions: [ aux, bbl, bcf, blg, out, run.xml, toc ] }
416 % arara: clean: { extensions: [ log ] }