citeL(text.loc = NULL, copy2clip = interactive(), citation = TRUE) parenciteL(text.loc = NULL, copy2clip = interactive(), citation = TRUE) textciteL(text.loc = NULL, copy2clip = interactive(), citation = TRUE) possciteL(text.loc = NULL, copy2clip = interactive(), citation = TRUE) posciteL(text.loc = NULL, copy2clip = interactive(), citation = TRUE) parenciteM(text.loc = NULL, width = 70, force.block = TRUE, copy2clip = interactive(), citation = TRUE, bib.name = "bib") textciteM(text.loc = NULL, width = 70, force.block = TRUE, copy2clip = interactive(), citation = TRUE, bib.name = "bib")
NULL
the
interactive use allows the user to view the
notes.xlsx/notes.csv and chose a row number.TRUE
attempts to
copy the output to the clipboard.TRUE
will include the
formatted citation + the quote.TRUE
forces a
block less than 40 words to be a block quote.Returns a character vector with LaTeX/markdown formatted text.
Citation tools to grab a quote and format the text taken from the notes.xlsx/notes.csv for LaTeX/Rmd with optional citation included. Functions attempt to copy the output to the clipboard for easy paste inclusion.
Each of the functions in the cite family follow a pattern of (cite, parencite, textcite, posscite, poscite) prefix and (L or M) suffix (note that currently only parencite and textcite functions exist for markdown). The cite and textcite are in the form of LaTeX commands by the same name. posscite and poscite are user defined LaTeX function styles that are extensions of the textcite command to fit possessive and -s- ending possessives. They can be defined as:
\newcommand\posscite[1]{\citeauthor{#1}'s
(\citeyear{#1})}
\newcommand\poscite[1]{\citeauthor{#1}'
(\citeyear{#1})}
The L and M correspond to LaTeX or markdown outputs;
markdown relies on the knitcitations
package.
It is expected that the user maintains notes.xlsx/notes.csv with markdown notation (e.g., ** for bold type and * for italics).
The cite family of functions are not designed to be used
in text (i.e., using `r FUN()`
) as are HTML
related functions. It is intended that the user will
paste the output into the .Rmd/.tex file manually and
make adjustments as necessary.