User Tools

Site Tools


projects:workgroups:notes_on_writing_text_for_the_book

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
projects:workgroups:notes_on_writing_text_for_the_book [2019/05/29 13:15]
schuemie [Adding ATLAS screenshots]
projects:workgroups:notes_on_writing_text_for_the_book [2019/06/26 09:08]
schuemie [Keep in mind]
Line 1: Line 1:
 ====== Notes on writing text for the Book of OHDSI ====== ====== Notes on writing text for the Book of OHDSI ======
  
 +Most of the information on this page can be found in [[https://​raw.githubusercontent.com/​OHDSI/​TheBookOfOhdsi/​master/​extras/​CheatSheet.pdf|The Book of OHDSI Cheat Sheet]].
  
 ===== General layout of a chapter ===== ===== General layout of a chapter =====
Line 14: Line 15:
 ===== Keep in mind ===== ===== Keep in mind =====
  
-  * Hyperlinks should show the actual URL, so that a printed copy would still have a readable link.+  ​* Abbreviations should be re-defined in each chapter. So yes, the first time you mention CDM in your chapter it should be CDM (Common Data Model). 
 + 
 +  * Table names should be all-caps, so OBSERVATION_PERIOD. Field names should be lower case, so observation_period_id.  
 + 
 +  * When quoting, use "​double quotes"​. 
 + 
 +  ​* Hyperlinks should show the actual URL, so that a printed copy would still have a readable link. To avoid formatting issues, it might be best to add the URL as a footnote. Use URLs sparingly.
  
   * Tables and figures should be designed with small screens in mind.   * Tables and figures should be designed with small screens in mind.
 +
 +  * The maximum section depth is 3, so for example section 2.3.4. You can finagle a 4th level by using bold headers (not numbered).
  
   * Keep filename extensions in lower case, so '​figure.png',​ not '​figure.PNG'​.   * Keep filename extensions in lower case, so '​figure.png',​ not '​figure.PNG'​.
Line 56: Line 65:
   ​   ​
 Important! The number of hyphens in the second row determines how wide the table is. The relationship between number of hyphens and table width is not documented, but 10 hyphens translates into approximately 10-20% width. Important! The number of hyphens in the second row determines how wide the table is. The relationship between number of hyphens and table width is not documented, but 10 hyphens translates into approximately 10-20% width.
 +
 +You can add a table caption like this:
 +
 +  Table: (\#​tab:​conceptTable) A table with two concepts.
   ​   ​
 +  | Concept ID | Name |
 +  | ---------- | ---- |
 +  | 8532 | FEMALE|
 +  | 8507 | MALE|
 +    ​
 Footnotes: Footnotes:
  
Line 115: Line 133:
 ==== Referencing in text ==== ==== Referencing in text ====
  
-The first field in the BibTeX ​in its label, and this label can be used to reference the citation. This can be done with and without square brackets. For example, ''​As proposed by @reps2018''​ will render to //`As proposed by Reps et al. (2018)`//, while ''​As proposed elsewhere [@reps2018]''​ will render to //`As proposed elsewhere (Reps et al. 2018)`//+The first field in the BibTeX ​is its label, and this label can be used to reference the citation. This can be done with and without square brackets. For example, ''​As proposed by @reps2018''​ will render to //`As proposed by Reps et al. (2018)`//, while ''​As proposed elsewhere [@reps2018]''​ will render to //`As proposed elsewhere (Reps et al. 2018)`// 
 + 
 +A convenient way of inserting citatiosn is to use the citation add-in that comes with the bookdown package: 
 + 
 +{{:​projects:​workgroups:​screenshot.png?​400|}}
  
 ===== Referencing OHDSI tools ===== ===== Referencing OHDSI tools =====
projects/workgroups/notes_on_writing_text_for_the_book.txt · Last modified: 2019/08/07 14:02 by schuemie