Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Citing in text #94

Open
drfurtado opened this issue Mar 7, 2022 · 1 comment
Open

Citing in text #94

drfurtado opened this issue Mar 7, 2022 · 1 comment

Comments

@drfurtado
Copy link

I have a quick question about citing a bibentry in markdown text.

What should be typed in the text?
For instance,

According to ???

Below is what I have after yaml:

library(RefManageR)
BibOptions(check.entries = FALSE, 
           bib.style = "authoryear", 
           cite.style = 'pandoc', 
           style = "to bib",
           hyperlink = FALSE, 
           dashed = FALSE)
myBib <- ReadBib("assets/myBib.bib", check = FALSE)
top_icon = function(x) {
  icons::icon_style(
    icons::fontawesome(x),
    position = "fixed", top = 10, right = 10
  )
}

This the entry

@article{banerjee2007statistics,
  title={Statistics without tears-inputs for sample size calculations},
  author={Banerjee, A and Chaudhury, S and Singh, DK and Banerjee, I and Mahato, AK and Haldar, S},
  journal={Indian Psychiatr Jr},
  volume={16},
  pages={150--2},
  year={2007}
}

@mwmclean
Copy link
Collaborator

mwmclean commented Mar 8, 2022

There are some simple Rmd examples listed by/located in system.file("Rmd", package = "RefManageR"). For example, try

file.show(system.file("Rmd", "TestAlphabetic.Rmd", package = "RefManageR"))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants