scientific-writer 2.3.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- scientific_writer/.claude/WRITER.md +822 -0
- scientific_writer/.claude/settings.local.json +30 -0
- scientific_writer/.claude/skills/citation-management/SKILL.md +1046 -0
- scientific_writer/.claude/skills/citation-management/assets/bibtex_template.bib +264 -0
- scientific_writer/.claude/skills/citation-management/assets/citation_checklist.md +386 -0
- scientific_writer/.claude/skills/citation-management/references/bibtex_formatting.md +908 -0
- scientific_writer/.claude/skills/citation-management/references/citation_validation.md +794 -0
- scientific_writer/.claude/skills/citation-management/references/google_scholar_search.md +725 -0
- scientific_writer/.claude/skills/citation-management/references/metadata_extraction.md +870 -0
- scientific_writer/.claude/skills/citation-management/references/pubmed_search.md +839 -0
- scientific_writer/.claude/skills/citation-management/scripts/doi_to_bibtex.py +204 -0
- scientific_writer/.claude/skills/citation-management/scripts/extract_metadata.py +569 -0
- scientific_writer/.claude/skills/citation-management/scripts/format_bibtex.py +349 -0
- scientific_writer/.claude/skills/citation-management/scripts/search_google_scholar.py +282 -0
- scientific_writer/.claude/skills/citation-management/scripts/search_pubmed.py +398 -0
- scientific_writer/.claude/skills/citation-management/scripts/validate_citations.py +497 -0
- scientific_writer/.claude/skills/clinical-reports/IMPLEMENTATION_SUMMARY.md +641 -0
- scientific_writer/.claude/skills/clinical-reports/README.md +236 -0
- scientific_writer/.claude/skills/clinical-reports/SKILL.md +1088 -0
- scientific_writer/.claude/skills/clinical-reports/assets/case_report_template.md +352 -0
- scientific_writer/.claude/skills/clinical-reports/assets/clinical_trial_csr_template.md +353 -0
- scientific_writer/.claude/skills/clinical-reports/assets/clinical_trial_sae_template.md +359 -0
- scientific_writer/.claude/skills/clinical-reports/assets/consult_note_template.md +305 -0
- scientific_writer/.claude/skills/clinical-reports/assets/discharge_summary_template.md +453 -0
- scientific_writer/.claude/skills/clinical-reports/assets/hipaa_compliance_checklist.md +395 -0
- scientific_writer/.claude/skills/clinical-reports/assets/history_physical_template.md +305 -0
- scientific_writer/.claude/skills/clinical-reports/assets/lab_report_template.md +309 -0
- scientific_writer/.claude/skills/clinical-reports/assets/pathology_report_template.md +249 -0
- scientific_writer/.claude/skills/clinical-reports/assets/quality_checklist.md +338 -0
- scientific_writer/.claude/skills/clinical-reports/assets/radiology_report_template.md +318 -0
- scientific_writer/.claude/skills/clinical-reports/assets/soap_note_template.md +253 -0
- scientific_writer/.claude/skills/clinical-reports/references/case_report_guidelines.md +570 -0
- scientific_writer/.claude/skills/clinical-reports/references/clinical_trial_reporting.md +693 -0
- scientific_writer/.claude/skills/clinical-reports/references/data_presentation.md +530 -0
- scientific_writer/.claude/skills/clinical-reports/references/diagnostic_reports_standards.md +629 -0
- scientific_writer/.claude/skills/clinical-reports/references/medical_terminology.md +588 -0
- scientific_writer/.claude/skills/clinical-reports/references/patient_documentation.md +744 -0
- scientific_writer/.claude/skills/clinical-reports/references/peer_review_standards.md +585 -0
- scientific_writer/.claude/skills/clinical-reports/references/regulatory_compliance.md +577 -0
- scientific_writer/.claude/skills/clinical-reports/scripts/check_deidentification.py +346 -0
- scientific_writer/.claude/skills/clinical-reports/scripts/compliance_checker.py +78 -0
- scientific_writer/.claude/skills/clinical-reports/scripts/extract_clinical_data.py +102 -0
- scientific_writer/.claude/skills/clinical-reports/scripts/format_adverse_events.py +103 -0
- scientific_writer/.claude/skills/clinical-reports/scripts/generate_report_template.py +163 -0
- scientific_writer/.claude/skills/clinical-reports/scripts/terminology_validator.py +133 -0
- scientific_writer/.claude/skills/clinical-reports/scripts/validate_case_report.py +334 -0
- scientific_writer/.claude/skills/clinical-reports/scripts/validate_trial_report.py +89 -0
- scientific_writer/.claude/skills/document-skills/docx/LICENSE.txt +30 -0
- scientific_writer/.claude/skills/document-skills/docx/SKILL.md +197 -0
- scientific_writer/.claude/skills/document-skills/docx/docx-js.md +350 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/mce/mc.xsd +75 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/pack.py +159 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/unpack.py +29 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/validate.py +69 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/validation/__init__.py +15 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/validation/base.py +951 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/validation/docx.py +274 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/validation/pptx.py +315 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml/scripts/validation/redlining.py +279 -0
- scientific_writer/.claude/skills/document-skills/docx/ooxml.md +610 -0
- scientific_writer/.claude/skills/document-skills/docx/scripts/__init__.py +1 -0
- scientific_writer/.claude/skills/document-skills/docx/scripts/document.py +1276 -0
- scientific_writer/.claude/skills/document-skills/docx/scripts/templates/comments.xml +3 -0
- scientific_writer/.claude/skills/document-skills/docx/scripts/templates/commentsExtended.xml +3 -0
- scientific_writer/.claude/skills/document-skills/docx/scripts/templates/commentsExtensible.xml +3 -0
- scientific_writer/.claude/skills/document-skills/docx/scripts/templates/commentsIds.xml +3 -0
- scientific_writer/.claude/skills/document-skills/docx/scripts/templates/people.xml +3 -0
- scientific_writer/.claude/skills/document-skills/docx/scripts/utilities.py +374 -0
- scientific_writer/.claude/skills/document-skills/pdf/LICENSE.txt +30 -0
- scientific_writer/.claude/skills/document-skills/pdf/SKILL.md +294 -0
- scientific_writer/.claude/skills/document-skills/pdf/forms.md +205 -0
- scientific_writer/.claude/skills/document-skills/pdf/reference.md +612 -0
- scientific_writer/.claude/skills/document-skills/pdf/scripts/check_bounding_boxes.py +70 -0
- scientific_writer/.claude/skills/document-skills/pdf/scripts/check_bounding_boxes_test.py +226 -0
- scientific_writer/.claude/skills/document-skills/pdf/scripts/check_fillable_fields.py +12 -0
- scientific_writer/.claude/skills/document-skills/pdf/scripts/convert_pdf_to_images.py +35 -0
- scientific_writer/.claude/skills/document-skills/pdf/scripts/create_validation_image.py +41 -0
- scientific_writer/.claude/skills/document-skills/pdf/scripts/extract_form_field_info.py +152 -0
- scientific_writer/.claude/skills/document-skills/pdf/scripts/fill_fillable_fields.py +114 -0
- scientific_writer/.claude/skills/document-skills/pdf/scripts/fill_pdf_form_with_annotations.py +108 -0
- scientific_writer/.claude/skills/document-skills/pptx/LICENSE.txt +30 -0
- scientific_writer/.claude/skills/document-skills/pptx/SKILL.md +484 -0
- scientific_writer/.claude/skills/document-skills/pptx/html2pptx.md +625 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/mce/mc.xsd +75 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/pack.py +159 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/unpack.py +29 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/validate.py +69 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/validation/__init__.py +15 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/validation/base.py +951 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/validation/docx.py +274 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/validation/pptx.py +315 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml/scripts/validation/redlining.py +279 -0
- scientific_writer/.claude/skills/document-skills/pptx/ooxml.md +427 -0
- scientific_writer/.claude/skills/document-skills/pptx/scripts/html2pptx.js +979 -0
- scientific_writer/.claude/skills/document-skills/pptx/scripts/inventory.py +1020 -0
- scientific_writer/.claude/skills/document-skills/pptx/scripts/rearrange.py +231 -0
- scientific_writer/.claude/skills/document-skills/pptx/scripts/replace.py +385 -0
- scientific_writer/.claude/skills/document-skills/pptx/scripts/thumbnail.py +450 -0
- scientific_writer/.claude/skills/document-skills/xlsx/LICENSE.txt +30 -0
- scientific_writer/.claude/skills/document-skills/xlsx/SKILL.md +289 -0
- scientific_writer/.claude/skills/document-skills/xlsx/recalc.py +178 -0
- scientific_writer/.claude/skills/hypothesis-generation/SKILL.md +155 -0
- scientific_writer/.claude/skills/hypothesis-generation/assets/hypothesis_output_template.md +302 -0
- scientific_writer/.claude/skills/hypothesis-generation/references/experimental_design_patterns.md +327 -0
- scientific_writer/.claude/skills/hypothesis-generation/references/hypothesis_quality_criteria.md +196 -0
- scientific_writer/.claude/skills/hypothesis-generation/references/literature_search_strategies.md +505 -0
- scientific_writer/.claude/skills/latex-posters/README.md +417 -0
- scientific_writer/.claude/skills/latex-posters/SKILL.md +919 -0
- scientific_writer/.claude/skills/latex-posters/assets/baposter_template.tex +257 -0
- scientific_writer/.claude/skills/latex-posters/assets/beamerposter_template.tex +244 -0
- scientific_writer/.claude/skills/latex-posters/assets/poster_quality_checklist.md +358 -0
- scientific_writer/.claude/skills/latex-posters/assets/tikzposter_template.tex +251 -0
- scientific_writer/.claude/skills/latex-posters/references/latex_poster_packages.md +745 -0
- scientific_writer/.claude/skills/latex-posters/references/poster_content_guide.md +748 -0
- scientific_writer/.claude/skills/latex-posters/references/poster_design_principles.md +806 -0
- scientific_writer/.claude/skills/latex-posters/references/poster_layout_design.md +900 -0
- scientific_writer/.claude/skills/latex-posters/scripts/review_poster.sh +214 -0
- scientific_writer/.claude/skills/literature-review/SKILL.md +546 -0
- scientific_writer/.claude/skills/literature-review/assets/review_template.md +412 -0
- scientific_writer/.claude/skills/literature-review/references/citation_styles.md +166 -0
- scientific_writer/.claude/skills/literature-review/references/database_strategies.md +381 -0
- scientific_writer/.claude/skills/literature-review/scripts/generate_pdf.py +176 -0
- scientific_writer/.claude/skills/literature-review/scripts/search_databases.py +303 -0
- scientific_writer/.claude/skills/literature-review/scripts/verify_citations.py +222 -0
- scientific_writer/.claude/skills/markitdown/INSTALLATION_GUIDE.md +318 -0
- scientific_writer/.claude/skills/markitdown/LICENSE.txt +22 -0
- scientific_writer/.claude/skills/markitdown/OPENROUTER_INTEGRATION.md +359 -0
- scientific_writer/.claude/skills/markitdown/QUICK_REFERENCE.md +309 -0
- scientific_writer/.claude/skills/markitdown/README.md +184 -0
- scientific_writer/.claude/skills/markitdown/SKILL.md +450 -0
- scientific_writer/.claude/skills/markitdown/SKILL_SUMMARY.md +307 -0
- scientific_writer/.claude/skills/markitdown/assets/example_usage.md +463 -0
- scientific_writer/.claude/skills/markitdown/references/api_reference.md +399 -0
- scientific_writer/.claude/skills/markitdown/references/file_formats.md +542 -0
- scientific_writer/.claude/skills/markitdown/scripts/batch_convert.py +228 -0
- scientific_writer/.claude/skills/markitdown/scripts/convert_literature.py +283 -0
- scientific_writer/.claude/skills/markitdown/scripts/convert_with_ai.py +243 -0
- scientific_writer/.claude/skills/paper-2-web/SKILL.md +455 -0
- scientific_writer/.claude/skills/paper-2-web/references/installation.md +141 -0
- scientific_writer/.claude/skills/paper-2-web/references/paper2poster.md +346 -0
- scientific_writer/.claude/skills/paper-2-web/references/paper2video.md +305 -0
- scientific_writer/.claude/skills/paper-2-web/references/paper2web.md +187 -0
- scientific_writer/.claude/skills/paper-2-web/references/usage_examples.md +436 -0
- scientific_writer/.claude/skills/peer-review/SKILL.md +375 -0
- scientific_writer/.claude/skills/peer-review/references/common_issues.md +552 -0
- scientific_writer/.claude/skills/peer-review/references/reporting_standards.md +290 -0
- scientific_writer/.claude/skills/research-grants/README.md +285 -0
- scientific_writer/.claude/skills/research-grants/SKILL.md +896 -0
- scientific_writer/.claude/skills/research-grants/assets/budget_justification_template.md +453 -0
- scientific_writer/.claude/skills/research-grants/assets/nih_specific_aims_template.md +166 -0
- scientific_writer/.claude/skills/research-grants/assets/nsf_project_summary_template.md +92 -0
- scientific_writer/.claude/skills/research-grants/references/broader_impacts.md +392 -0
- scientific_writer/.claude/skills/research-grants/references/darpa_guidelines.md +636 -0
- scientific_writer/.claude/skills/research-grants/references/doe_guidelines.md +586 -0
- scientific_writer/.claude/skills/research-grants/references/nih_guidelines.md +851 -0
- scientific_writer/.claude/skills/research-grants/references/nsf_guidelines.md +570 -0
- scientific_writer/.claude/skills/research-grants/references/specific_aims_guide.md +458 -0
- scientific_writer/.claude/skills/research-lookup/README.md +116 -0
- scientific_writer/.claude/skills/research-lookup/SKILL.md +443 -0
- scientific_writer/.claude/skills/research-lookup/examples.py +174 -0
- scientific_writer/.claude/skills/research-lookup/lookup.py +93 -0
- scientific_writer/.claude/skills/research-lookup/research_lookup.py +335 -0
- scientific_writer/.claude/skills/research-lookup/scripts/research_lookup.py +261 -0
- scientific_writer/.claude/skills/scholar-evaluation/SKILL.md +254 -0
- scientific_writer/.claude/skills/scholar-evaluation/references/evaluation_framework.md +663 -0
- scientific_writer/.claude/skills/scholar-evaluation/scripts/calculate_scores.py +378 -0
- scientific_writer/.claude/skills/scientific-critical-thinking/SKILL.md +530 -0
- scientific_writer/.claude/skills/scientific-critical-thinking/references/common_biases.md +364 -0
- scientific_writer/.claude/skills/scientific-critical-thinking/references/evidence_hierarchy.md +484 -0
- scientific_writer/.claude/skills/scientific-critical-thinking/references/experimental_design.md +496 -0
- scientific_writer/.claude/skills/scientific-critical-thinking/references/logical_fallacies.md +478 -0
- scientific_writer/.claude/skills/scientific-critical-thinking/references/scientific_method.md +169 -0
- scientific_writer/.claude/skills/scientific-critical-thinking/references/statistical_pitfalls.md +506 -0
- scientific_writer/.claude/skills/scientific-schematics/SKILL.md +2035 -0
- scientific_writer/.claude/skills/scientific-schematics/assets/block_diagram_template.tex +199 -0
- scientific_writer/.claude/skills/scientific-schematics/assets/circuit_template.tex +159 -0
- scientific_writer/.claude/skills/scientific-schematics/assets/flowchart_template.tex +161 -0
- scientific_writer/.claude/skills/scientific-schematics/assets/pathway_template.tex +162 -0
- scientific_writer/.claude/skills/scientific-schematics/assets/tikz_styles.tex +422 -0
- scientific_writer/.claude/skills/scientific-schematics/references/best_practices.md +562 -0
- scientific_writer/.claude/skills/scientific-schematics/references/diagram_types.md +637 -0
- scientific_writer/.claude/skills/scientific-schematics/references/python_libraries.md +791 -0
- scientific_writer/.claude/skills/scientific-schematics/references/tikz_guide.md +734 -0
- scientific_writer/.claude/skills/scientific-schematics/scripts/circuit_generator.py +307 -0
- scientific_writer/.claude/skills/scientific-schematics/scripts/compile_tikz.py +292 -0
- scientific_writer/.claude/skills/scientific-schematics/scripts/generate_flowchart.py +281 -0
- scientific_writer/.claude/skills/scientific-schematics/scripts/pathway_diagram.py +406 -0
- scientific_writer/.claude/skills/scientific-writing/SKILL.md +443 -0
- scientific_writer/.claude/skills/scientific-writing/references/citation_styles.md +720 -0
- scientific_writer/.claude/skills/scientific-writing/references/figures_tables.md +806 -0
- scientific_writer/.claude/skills/scientific-writing/references/imrad_structure.md +658 -0
- scientific_writer/.claude/skills/scientific-writing/references/reporting_guidelines.md +748 -0
- scientific_writer/.claude/skills/scientific-writing/references/writing_principles.md +824 -0
- scientific_writer/.claude/skills/treatment-plans/README.md +488 -0
- scientific_writer/.claude/skills/treatment-plans/SKILL.md +1536 -0
- scientific_writer/.claude/skills/treatment-plans/assets/STYLING_QUICK_REFERENCE.md +185 -0
- scientific_writer/.claude/skills/treatment-plans/assets/chronic_disease_management_plan.tex +665 -0
- scientific_writer/.claude/skills/treatment-plans/assets/general_medical_treatment_plan.tex +547 -0
- scientific_writer/.claude/skills/treatment-plans/assets/medical_treatment_plan.sty +222 -0
- scientific_writer/.claude/skills/treatment-plans/assets/mental_health_treatment_plan.tex +774 -0
- scientific_writer/.claude/skills/treatment-plans/assets/one_page_treatment_plan.tex +193 -0
- scientific_writer/.claude/skills/treatment-plans/assets/pain_management_plan.tex +799 -0
- scientific_writer/.claude/skills/treatment-plans/assets/perioperative_care_plan.tex +753 -0
- scientific_writer/.claude/skills/treatment-plans/assets/quality_checklist.md +471 -0
- scientific_writer/.claude/skills/treatment-plans/assets/rehabilitation_treatment_plan.tex +756 -0
- scientific_writer/.claude/skills/treatment-plans/references/goal_setting_frameworks.md +411 -0
- scientific_writer/.claude/skills/treatment-plans/references/intervention_guidelines.md +507 -0
- scientific_writer/.claude/skills/treatment-plans/references/regulatory_compliance.md +476 -0
- scientific_writer/.claude/skills/treatment-plans/references/specialty_specific_guidelines.md +655 -0
- scientific_writer/.claude/skills/treatment-plans/references/treatment_plan_standards.md +485 -0
- scientific_writer/.claude/skills/treatment-plans/scripts/check_completeness.py +318 -0
- scientific_writer/.claude/skills/treatment-plans/scripts/generate_template.py +244 -0
- scientific_writer/.claude/skills/treatment-plans/scripts/timeline_generator.py +369 -0
- scientific_writer/.claude/skills/treatment-plans/scripts/validate_treatment_plan.py +367 -0
- scientific_writer/.claude/skills/venue-templates/SKILL.md +590 -0
- scientific_writer/.claude/skills/venue-templates/assets/grants/nih_specific_aims.tex +235 -0
- scientific_writer/.claude/skills/venue-templates/assets/grants/nsf_proposal_template.tex +375 -0
- scientific_writer/.claude/skills/venue-templates/assets/journals/nature_article.tex +171 -0
- scientific_writer/.claude/skills/venue-templates/assets/journals/neurips_article.tex +283 -0
- scientific_writer/.claude/skills/venue-templates/assets/journals/plos_one.tex +317 -0
- scientific_writer/.claude/skills/venue-templates/assets/posters/beamerposter_academic.tex +311 -0
- scientific_writer/.claude/skills/venue-templates/references/conferences_formatting.md +564 -0
- scientific_writer/.claude/skills/venue-templates/references/grants_requirements.md +787 -0
- scientific_writer/.claude/skills/venue-templates/references/journals_formatting.md +486 -0
- scientific_writer/.claude/skills/venue-templates/references/posters_guidelines.md +628 -0
- scientific_writer/.claude/skills/venue-templates/scripts/customize_template.py +206 -0
- scientific_writer/.claude/skills/venue-templates/scripts/query_template.py +260 -0
- scientific_writer/.claude/skills/venue-templates/scripts/validate_format.py +255 -0
- scientific_writer/__init__.py +43 -0
- scientific_writer/api.py +393 -0
- scientific_writer/cli.py +326 -0
- scientific_writer/core.py +275 -0
- scientific_writer/models.py +76 -0
- scientific_writer/utils.py +289 -0
- scientific_writer-2.3.1.dist-info/METADATA +272 -0
- scientific_writer-2.3.1.dist-info/RECORD +315 -0
- scientific_writer-2.3.1.dist-info/WHEEL +4 -0
- scientific_writer-2.3.1.dist-info/entry_points.txt +2 -0
- scientific_writer-2.3.1.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
% Block Diagram Template
|
|
2
|
+
% For system architecture, data flow, and component diagrams
|
|
3
|
+
%
|
|
4
|
+
% Usage:
|
|
5
|
+
% 1. Copy and customize this template
|
|
6
|
+
% 2. Modify blocks and connections
|
|
7
|
+
% 3. Compile with: pdflatex block_diagram_template.tex
|
|
8
|
+
% 4. Include in paper with: \includegraphics{block_diagram.pdf}
|
|
9
|
+
|
|
10
|
+
\documentclass[tikz, border=5mm]{standalone}
|
|
11
|
+
\usepackage{tikz}
|
|
12
|
+
|
|
13
|
+
% Load shared styles
|
|
14
|
+
\input{tikz_styles.tex}
|
|
15
|
+
|
|
16
|
+
\begin{document}
|
|
17
|
+
|
|
18
|
+
% === Example 1: Data Acquisition System ===
|
|
19
|
+
\begin{tikzpicture}[blockdiagram]
|
|
20
|
+
|
|
21
|
+
% Components
|
|
22
|
+
\node[component] (sensor) {Sensor};
|
|
23
|
+
\node[component, right=of sensor] (adc) {ADC};
|
|
24
|
+
\node[component, right=of adc] (micro) {Micro-\\controller};
|
|
25
|
+
\node[component, above right=1cm and 1.5cm of micro] (wireless) {Wireless\\Module};
|
|
26
|
+
\node[component, below right=1cm and 1.5cm of micro] (display) {Display};
|
|
27
|
+
\node[component, right=3cm of micro] (server) {Server};
|
|
28
|
+
|
|
29
|
+
% Connections with data flow
|
|
30
|
+
\draw[dataflow] (sensor) -- node[above, font=\footnotesize] {analog} (adc);
|
|
31
|
+
\draw[dataflow] (adc) -- node[above, font=\footnotesize] {digital} (micro);
|
|
32
|
+
\draw[dataflow] (micro) -- node[above right, font=\footnotesize] {WiFi} (wireless);
|
|
33
|
+
\draw[dataflow] (micro) -- node[below right, font=\footnotesize] {SPI} (display);
|
|
34
|
+
\draw[dataflow] (wireless) -- node[above, font=\footnotesize] {TCP/IP} (server);
|
|
35
|
+
|
|
36
|
+
% Optional: control signals
|
|
37
|
+
\draw[control, <->] (server) to[bend left=20] node[above, font=\footnotesize] {control} (micro);
|
|
38
|
+
|
|
39
|
+
\end{tikzpicture}
|
|
40
|
+
|
|
41
|
+
\vspace{1cm}
|
|
42
|
+
|
|
43
|
+
% === Example 2: Software Architecture (Three-Tier) ===
|
|
44
|
+
\begin{tikzpicture}[blockdiagram]
|
|
45
|
+
|
|
46
|
+
% Presentation Layer
|
|
47
|
+
\node[subsystem] (web) {Web UI};
|
|
48
|
+
\node[subsystem, right=of web] (mobile) {Mobile App};
|
|
49
|
+
|
|
50
|
+
% Business Logic Layer
|
|
51
|
+
\node[subsystem, below=2cm of web, xshift=1.5cm] (api) {API Server};
|
|
52
|
+
\node[component, left=of api] (auth) {Auth\\Service};
|
|
53
|
+
\node[component, right=of api] (worker) {Worker\\Queue};
|
|
54
|
+
|
|
55
|
+
% Data Layer
|
|
56
|
+
\node[component, below=2cm of auth] (db) {Database};
|
|
57
|
+
\node[component, below=2cm of api] (cache) {Cache};
|
|
58
|
+
\node[component, below=2cm of worker] (storage) {File\\Storage};
|
|
59
|
+
|
|
60
|
+
% Connections
|
|
61
|
+
\draw[dataflow, <->] (web) -- (api);
|
|
62
|
+
\draw[dataflow, <->] (mobile) -- (api);
|
|
63
|
+
\draw[dataflow, <->] (api) -- (auth);
|
|
64
|
+
\draw[dataflow, <->] (api) -- (worker);
|
|
65
|
+
\draw[dataflow, <->] (auth) -- (db);
|
|
66
|
+
\draw[dataflow, <->] (api) -- (db);
|
|
67
|
+
\draw[dataflow, <->] (api) -- (cache);
|
|
68
|
+
\draw[dataflow, <->] (worker) -- (storage);
|
|
69
|
+
|
|
70
|
+
% Layer labels
|
|
71
|
+
\node[annotation, left=2.5cm of web] {Presentation\\Layer};
|
|
72
|
+
\node[annotation, left=2.5cm of api] {Business\\Logic};
|
|
73
|
+
\node[annotation, left=2.5cm of db] {Data\\Layer};
|
|
74
|
+
|
|
75
|
+
\end{tikzpicture}
|
|
76
|
+
|
|
77
|
+
\vspace{1cm}
|
|
78
|
+
|
|
79
|
+
% === Example 3: Experimental Setup ===
|
|
80
|
+
\begin{tikzpicture}[blockdiagram, node distance=2.5cm]
|
|
81
|
+
|
|
82
|
+
% Equipment chain
|
|
83
|
+
\node[component] (source) {Light\\Source};
|
|
84
|
+
\node[component, right=of source] (filter) {Filter};
|
|
85
|
+
\node[component, right=of filter] (sample) {Sample\\Chamber};
|
|
86
|
+
\node[component, right=of sample] (detector) {Detector};
|
|
87
|
+
\node[component, right=of detector] (amp) {Amplifier};
|
|
88
|
+
\node[component, above right=0.5cm and 1cm of amp] (daq) {Data\\Acquisition};
|
|
89
|
+
\node[component, below=1.5cm of sample] (temp) {Temperature\\Controller};
|
|
90
|
+
|
|
91
|
+
% Signal flow
|
|
92
|
+
\draw[dataflow] (source) -- node[above, font=\footnotesize] {light} (filter);
|
|
93
|
+
\draw[dataflow] (filter) -- (sample);
|
|
94
|
+
\draw[dataflow] (sample) -- (detector);
|
|
95
|
+
\draw[dataflow] (detector) -- node[above, font=\footnotesize] {signal} (amp);
|
|
96
|
+
\draw[dataflow] (amp) -- (daq);
|
|
97
|
+
|
|
98
|
+
% Control
|
|
99
|
+
\draw[control, <->] (temp) -- (sample);
|
|
100
|
+
\draw[control] (daq.south) |- (temp.east);
|
|
101
|
+
|
|
102
|
+
% Computer
|
|
103
|
+
\node[subsystem, right=of daq] (computer) {Computer};
|
|
104
|
+
\draw[dataflow, <->] (daq) -- (computer);
|
|
105
|
+
|
|
106
|
+
\end{tikzpicture}
|
|
107
|
+
|
|
108
|
+
\end{document}
|
|
109
|
+
|
|
110
|
+
% === Customization Guide ===
|
|
111
|
+
%
|
|
112
|
+
% BLOCK TYPES (from tikz_styles.tex):
|
|
113
|
+
% component - Standard component (blue, medium size)
|
|
114
|
+
% subsystem - Larger system block (green, larger, bold)
|
|
115
|
+
% interface - Connection point (orange circle)
|
|
116
|
+
%
|
|
117
|
+
% ARROW TYPES:
|
|
118
|
+
% dataflow - Data flow arrow (solid, blue)
|
|
119
|
+
% control - Control signal (dashed, red)
|
|
120
|
+
% arrow - Generic arrow (black)
|
|
121
|
+
%
|
|
122
|
+
% ARROW DIRECTIONS:
|
|
123
|
+
% --> : Left to right
|
|
124
|
+
% <-> : Bidirectional
|
|
125
|
+
% |- : Vertical then horizontal
|
|
126
|
+
% -| : Horizontal then vertical
|
|
127
|
+
%
|
|
128
|
+
% POSITIONING:
|
|
129
|
+
% right=of node - To the right
|
|
130
|
+
% below=of node - Below
|
|
131
|
+
% above=of node - Above
|
|
132
|
+
% right=2cm of node - Specific distance
|
|
133
|
+
% above right=1cm and 2cm of node - Diagonal
|
|
134
|
+
%
|
|
135
|
+
% LABELS ON ARROWS:
|
|
136
|
+
% \draw[dataflow] (a) -- node[above] {label} (b);
|
|
137
|
+
% \draw[dataflow] (a) -- node[below, font=\footnotesize] {label} (b);
|
|
138
|
+
% \draw[dataflow] (a) -- node[pos=0.3, above] {label} (b);
|
|
139
|
+
%
|
|
140
|
+
% CURVED CONNECTIONS:
|
|
141
|
+
% \draw[dataflow] (a) to[bend left=30] (b);
|
|
142
|
+
% \draw[dataflow] (a) to[bend right=30] (b);
|
|
143
|
+
% \draw[dataflow, out=45, in=135] (a) to (b);
|
|
144
|
+
%
|
|
145
|
+
% GROUPING COMPONENTS:
|
|
146
|
+
% Use fit library to draw box around multiple components:
|
|
147
|
+
%
|
|
148
|
+
% \node[background, fit=(comp1) (comp2) (comp3)] {};
|
|
149
|
+
% \node[above, font=\small] at (group.north) {Subsystem Name};
|
|
150
|
+
%
|
|
151
|
+
% Or manually draw a box:
|
|
152
|
+
%
|
|
153
|
+
% \draw[thick, okabe-green, rounded corners]
|
|
154
|
+
% (x1, y1) rectangle (x2, y2);
|
|
155
|
+
% \node at (x, y) {Group Label};
|
|
156
|
+
%
|
|
157
|
+
% LAYER/HIERARCHY VISUALIZATION:
|
|
158
|
+
% Add horizontal lines and labels to show layers:
|
|
159
|
+
%
|
|
160
|
+
% % Draw separators
|
|
161
|
+
% \draw[thick, gray, dashed] (-2, 0) -- (8, 0);
|
|
162
|
+
% \draw[thick, gray, dashed] (-2, -3) -- (8, -3);
|
|
163
|
+
%
|
|
164
|
+
% % Add layer labels
|
|
165
|
+
% \node[annotation, left] at (-2, 1) {Layer 1};
|
|
166
|
+
% \node[annotation, left] at (-2, -1.5) {Layer 2};
|
|
167
|
+
%
|
|
168
|
+
% SIGNAL TYPES:
|
|
169
|
+
% Annotate data/signal types on connections:
|
|
170
|
+
% - Digital/Analog
|
|
171
|
+
% - Protocol (SPI, I2C, UART, Ethernet, etc.)
|
|
172
|
+
% - Data rate (Mbps, Hz)
|
|
173
|
+
% - Voltage levels
|
|
174
|
+
%
|
|
175
|
+
% TYPICAL USAGE IN PAPER:
|
|
176
|
+
%
|
|
177
|
+
% \begin{figure}[h]
|
|
178
|
+
% \centering
|
|
179
|
+
% \includegraphics[width=0.9\textwidth]{block_diagram.pdf}
|
|
180
|
+
% \caption{System architecture showing data flow from sensor through
|
|
181
|
+
% signal processing to display and wireless transmission.
|
|
182
|
+
% Solid arrows indicate data flow, dashed arrows show control signals.}
|
|
183
|
+
% \label{fig:architecture}
|
|
184
|
+
% \end{figure}
|
|
185
|
+
%
|
|
186
|
+
% MULTI-PANEL DIAGRAMS:
|
|
187
|
+
% Combine overview and detail views:
|
|
188
|
+
% - Panel A: High-level system overview
|
|
189
|
+
% - Panel B: Detailed view of one subsystem
|
|
190
|
+
%
|
|
191
|
+
% Add panel labels:
|
|
192
|
+
% \node[font=\large\bfseries] at (-3, 5) {A};
|
|
193
|
+
% \node[font=\large\bfseries] at (-3, -2) {B};
|
|
194
|
+
%
|
|
195
|
+
% RESOURCES:
|
|
196
|
+
% - UML diagrams: https://www.uml-diagrams.org/
|
|
197
|
+
% - System architecture patterns
|
|
198
|
+
% - IEEE recommended practice for architectural description
|
|
199
|
+
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
% Circuit Diagram Template using CircuitikZ
|
|
2
|
+
% For electrical schematics, instrumentation diagrams, and signal processing
|
|
3
|
+
%
|
|
4
|
+
% Usage:
|
|
5
|
+
% 1. Copy and customize this template
|
|
6
|
+
% 2. Compile with: pdflatex circuit_template.tex
|
|
7
|
+
% 3. Include in paper with: \includegraphics{circuit.pdf}
|
|
8
|
+
|
|
9
|
+
\documentclass[tikz, border=5mm]{standalone}
|
|
10
|
+
\usepackage{tikz}
|
|
11
|
+
\usepackage{circuitikz}
|
|
12
|
+
|
|
13
|
+
% Load shared colors (optional, for consistent styling)
|
|
14
|
+
\input{tikz_styles.tex}
|
|
15
|
+
|
|
16
|
+
\begin{document}
|
|
17
|
+
|
|
18
|
+
% === Example 1: RC Filter Circuit ===
|
|
19
|
+
\begin{circuitikz}[american, scale=1.2, transform shape]
|
|
20
|
+
|
|
21
|
+
% Input
|
|
22
|
+
\draw (0,0) node[left] {$V_{in}$}
|
|
23
|
+
to[short, o-] (0.5,0)
|
|
24
|
+
to[R, l=$R_1$, v^>=$V_R$] (3,0)
|
|
25
|
+
to[short, -o] (3.5,0) node[right] {$V_{out}$};
|
|
26
|
+
|
|
27
|
+
% Capacitor to ground
|
|
28
|
+
\draw (3,0) to[C, l=$C_1$, *-] (3,-2)
|
|
29
|
+
node[ground] {};
|
|
30
|
+
|
|
31
|
+
% Component values annotation (optional)
|
|
32
|
+
\node[below, font=\small] at (1.5,-2.5) {$R_1 = 1\,\mathrm{k}\Omega$, $C_1 = 10\,\mu\mathrm{F}$};
|
|
33
|
+
|
|
34
|
+
\end{circuitikz}
|
|
35
|
+
|
|
36
|
+
\vspace{1cm}
|
|
37
|
+
|
|
38
|
+
% === Example 2: Voltage Divider ===
|
|
39
|
+
\begin{circuitikz}[american, scale=1.2, transform shape]
|
|
40
|
+
|
|
41
|
+
% Voltage source
|
|
42
|
+
\draw (0,0) to[V, v=$V_s$, invert] (0,3);
|
|
43
|
+
|
|
44
|
+
% Resistors
|
|
45
|
+
\draw (0,3) to[short] (2,3)
|
|
46
|
+
to[R, l=$R_1$] (2,1.5)
|
|
47
|
+
to[short, -o] (3,1.5) node[right] {$V_{out}$}
|
|
48
|
+
(2,1.5) to[R, l=$R_2$] (2,0)
|
|
49
|
+
to[short] (0,0);
|
|
50
|
+
|
|
51
|
+
% Ground
|
|
52
|
+
\draw (0,0) node[ground] {};
|
|
53
|
+
|
|
54
|
+
\end{circuitikz}
|
|
55
|
+
|
|
56
|
+
\vspace{1cm}
|
|
57
|
+
|
|
58
|
+
% === Example 3: Amplifier Circuit ===
|
|
59
|
+
\begin{circuitikz}[american, scale=1.0, transform shape]
|
|
60
|
+
|
|
61
|
+
% Input
|
|
62
|
+
\draw (0,0) node[left] {$V_{in}$}
|
|
63
|
+
to[C, l=$C_{in}$, o-] (1.5,0);
|
|
64
|
+
|
|
65
|
+
% Biasing resistor
|
|
66
|
+
\draw (1.5,0) to[R, l=$R_b$, *-] (1.5,2)
|
|
67
|
+
to[short] (0,2) node[left] {$+V_{cc}$};
|
|
68
|
+
|
|
69
|
+
% Transistor
|
|
70
|
+
\node[npn] (npn) at (3,0) {};
|
|
71
|
+
\draw (1.5,0) to[short] (npn.base);
|
|
72
|
+
|
|
73
|
+
% Collector resistor
|
|
74
|
+
\draw (npn.collector) to[R, l=$R_c$] (3,2.5)
|
|
75
|
+
to[short] (3,3) node[above] {$+V_{cc}$};
|
|
76
|
+
|
|
77
|
+
% Emitter to ground
|
|
78
|
+
\draw (npn.emitter) to[short] (3,-1.5) node[ground] {};
|
|
79
|
+
|
|
80
|
+
% Output
|
|
81
|
+
\draw (npn.collector) to[C, l=$C_{out}$, *-o] (5,0.75) node[right] {$V_{out}$};
|
|
82
|
+
|
|
83
|
+
\end{circuitikz}
|
|
84
|
+
|
|
85
|
+
\end{document}
|
|
86
|
+
|
|
87
|
+
% === CircuitikZ Component Reference ===
|
|
88
|
+
%
|
|
89
|
+
% PASSIVE COMPONENTS:
|
|
90
|
+
% to[R, l=$R_1$] - Resistor with label
|
|
91
|
+
% to[C, l=$C_1$] - Capacitor
|
|
92
|
+
% to[L, l=$L_1$] - Inductor
|
|
93
|
+
% to[D, l=$D_1$] - Diode
|
|
94
|
+
% to[vR] - Variable resistor
|
|
95
|
+
% to[vC] - Variable capacitor
|
|
96
|
+
%
|
|
97
|
+
% SOURCES:
|
|
98
|
+
% to[V, v=$V_s$] - Voltage source
|
|
99
|
+
% to[I, i=$I_s$] - Current source
|
|
100
|
+
% to[sV] - Sinusoidal voltage source
|
|
101
|
+
% to[battery] - Battery
|
|
102
|
+
%
|
|
103
|
+
% SEMICONDUCTORS:
|
|
104
|
+
% node[npn] (name) {} - NPN transistor
|
|
105
|
+
% node[pnp] (name) {} - PNP transistor
|
|
106
|
+
% node[nmos] (name) {} - N-channel MOSFET
|
|
107
|
+
% node[pmos] (name) {} - P-channel MOSFET
|
|
108
|
+
% node[op amp] (name) {} - Operational amplifier
|
|
109
|
+
%
|
|
110
|
+
% CONNECTIONS:
|
|
111
|
+
% to[short] - Wire/short circuit
|
|
112
|
+
% to[short, o-] - Wire starting with open circle
|
|
113
|
+
% to[short, -o] - Wire ending with open circle
|
|
114
|
+
% to[short, *-] - Wire starting with filled dot
|
|
115
|
+
% to[short, -*] - Wire ending with filled dot
|
|
116
|
+
%
|
|
117
|
+
% OTHER:
|
|
118
|
+
% node[ground] {} - Ground symbol
|
|
119
|
+
% node[vcc] {} - VCC symbol
|
|
120
|
+
% to[meter, l=$V$] - Voltmeter
|
|
121
|
+
% to[ammeter] - Ammeter
|
|
122
|
+
%
|
|
123
|
+
% VOLTAGE/CURRENT ANNOTATIONS:
|
|
124
|
+
% v=$V_x$ - Voltage drop label
|
|
125
|
+
% v^>=$V_x$ - Voltage with arrow pointing up
|
|
126
|
+
% v_<=$V_x$ - Voltage with arrow pointing down
|
|
127
|
+
% i=$I_x$ - Current label
|
|
128
|
+
%
|
|
129
|
+
% CUSTOMIZATION:
|
|
130
|
+
%
|
|
131
|
+
% 1. Change style to european:
|
|
132
|
+
% \begin{circuitikz}[european]
|
|
133
|
+
%
|
|
134
|
+
% 2. Scale the circuit:
|
|
135
|
+
% \begin{circuitikz}[scale=1.5, transform shape]
|
|
136
|
+
%
|
|
137
|
+
% 3. Change colors (using okabe-ito palette):
|
|
138
|
+
% to[R, l=$R_1$, color=okabe-blue]
|
|
139
|
+
%
|
|
140
|
+
% 4. Rotate components:
|
|
141
|
+
% to[R, l=$R_1$, rotate=90]
|
|
142
|
+
%
|
|
143
|
+
% 5. Add node at specific coordinate:
|
|
144
|
+
% \draw (2,3) node[npn] {};
|
|
145
|
+
%
|
|
146
|
+
% TYPICAL USAGE IN PAPER:
|
|
147
|
+
%
|
|
148
|
+
% \begin{figure}[h]
|
|
149
|
+
% \centering
|
|
150
|
+
% \includegraphics[width=0.6\columnwidth]{circuit.pdf}
|
|
151
|
+
% \caption{Schematic diagram of the measurement circuit.
|
|
152
|
+
% $R_1 = 1\,\mathrm{k}\Omega$, $C_1 = 10\,\mu\mathrm{F}$.}
|
|
153
|
+
% \label{fig:circuit}
|
|
154
|
+
% \end{figure}
|
|
155
|
+
%
|
|
156
|
+
% RESOURCES:
|
|
157
|
+
% - CircuitikZ manual: https://ctan.org/pkg/circuitikz
|
|
158
|
+
% - Component library: See CircuitikZ documentation Section 4
|
|
159
|
+
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
% CONSORT-Style Flowchart Template
|
|
2
|
+
% For methodology sections, participant flow diagrams, and study design
|
|
3
|
+
%
|
|
4
|
+
% Usage:
|
|
5
|
+
% 1. Copy this template
|
|
6
|
+
% 2. Modify node contents and participant numbers
|
|
7
|
+
% 3. Add/remove nodes as needed
|
|
8
|
+
% 4. Compile with: pdflatex flowchart_template.tex
|
|
9
|
+
% 5. Include in paper with: \input{flowchart.tex} or \includegraphics{flowchart.pdf}
|
|
10
|
+
|
|
11
|
+
\documentclass[tikz, border=5mm]{standalone}
|
|
12
|
+
\usepackage{tikz}
|
|
13
|
+
|
|
14
|
+
% Load shared styles
|
|
15
|
+
\input{tikz_styles.tex}
|
|
16
|
+
|
|
17
|
+
\begin{document}
|
|
18
|
+
|
|
19
|
+
\begin{tikzpicture}[consort]
|
|
20
|
+
|
|
21
|
+
% === Nodes ===
|
|
22
|
+
% Modify these to match your study
|
|
23
|
+
|
|
24
|
+
% Initial assessment
|
|
25
|
+
\node[flowbox] (assessed) {
|
|
26
|
+
Assessed for eligibility\\
|
|
27
|
+
(n=500)
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
% Exclusions
|
|
31
|
+
\node[flowbox, below=of assessed] (excluded) {
|
|
32
|
+
Excluded (n=150)
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
% Exclusion criteria (side annotation)
|
|
36
|
+
\node[infobox, right=of excluded] (reasons) {
|
|
37
|
+
\textbf{Exclusion criteria:}\\
|
|
38
|
+
Age $<$ 18 years: n=80\\
|
|
39
|
+
Declined participation: n=50\\
|
|
40
|
+
Other reasons: n=20
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
% Randomization
|
|
44
|
+
\node[flowbox, below=of excluded] (randomized) {
|
|
45
|
+
Randomized\\
|
|
46
|
+
(n=350)
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
% Treatment groups
|
|
50
|
+
\node[groupbox, below left=2cm and 1.5cm of randomized] (treatment) {
|
|
51
|
+
\textbf{Treatment Group}\\
|
|
52
|
+
Allocated to intervention\\
|
|
53
|
+
(n=175)
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
\node[groupbox, below right=2cm and 1.5cm of randomized] (control) {
|
|
57
|
+
\textbf{Control Group}\\
|
|
58
|
+
Allocated to control\\
|
|
59
|
+
(n=175)
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
% Follow-up (treatment)
|
|
63
|
+
\node[flowbox, below=of treatment] (followup-t) {
|
|
64
|
+
Completed follow-up\\
|
|
65
|
+
(n=168)
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
\node[infobox, right=of followup-t] (lost-t) {
|
|
69
|
+
Lost to follow-up: n=7\\
|
|
70
|
+
(withdrew: n=5, other: n=2)
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
% Follow-up (control)
|
|
74
|
+
\node[flowbox, below=of control] (followup-c) {
|
|
75
|
+
Completed follow-up\\
|
|
76
|
+
(n=170)
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
\node[infobox, left=of followup-c] (lost-c) {
|
|
80
|
+
Lost to follow-up: n=5\\
|
|
81
|
+
(withdrew: n=3, other: n=2)
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
% Analysis
|
|
85
|
+
\node[flowbox, below=2.5cm of randomized] (analyzed) {
|
|
86
|
+
Analyzed\\
|
|
87
|
+
(n=338)
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
% === Connections ===
|
|
91
|
+
% Arrows showing flow
|
|
92
|
+
|
|
93
|
+
% Main flow
|
|
94
|
+
\draw[arrow] (assessed) -- (excluded);
|
|
95
|
+
\draw[arrow] (excluded) -- (randomized);
|
|
96
|
+
|
|
97
|
+
% Randomization to groups
|
|
98
|
+
\draw[arrow] (randomized) -| (treatment);
|
|
99
|
+
\draw[arrow] (randomized) -| (control);
|
|
100
|
+
|
|
101
|
+
% Follow-up
|
|
102
|
+
\draw[arrow] (treatment) -- (followup-t);
|
|
103
|
+
\draw[arrow] (control) -- (followup-c);
|
|
104
|
+
|
|
105
|
+
% To analysis
|
|
106
|
+
\draw[arrow] (followup-t) |- (analyzed);
|
|
107
|
+
\draw[arrow] (followup-c) |- (analyzed);
|
|
108
|
+
|
|
109
|
+
% === Optional Elements ===
|
|
110
|
+
|
|
111
|
+
% Add panel label if part of multi-panel figure
|
|
112
|
+
% \node[font=\large\bfseries, above left=0.2cm of assessed] {A};
|
|
113
|
+
|
|
114
|
+
% Add study phase labels
|
|
115
|
+
% \node[annotation, left=2cm of assessed] {Enrollment};
|
|
116
|
+
% \node[annotation, left=2cm of randomized] {Allocation};
|
|
117
|
+
% \node[annotation, left=2cm of followup-t] {Follow-up};
|
|
118
|
+
% \node[annotation, left=2cm of analyzed] {Analysis};
|
|
119
|
+
|
|
120
|
+
\end{tikzpicture}
|
|
121
|
+
|
|
122
|
+
\end{document}
|
|
123
|
+
|
|
124
|
+
% === Customization Notes ===
|
|
125
|
+
%
|
|
126
|
+
% 1. Change participant numbers (n=X) to match your study
|
|
127
|
+
%
|
|
128
|
+
% 2. Add more exclusion criteria in the infobox:
|
|
129
|
+
% \node[infobox, right=of excluded] (reasons) {
|
|
130
|
+
% \textbf{Exclusion criteria:}\\
|
|
131
|
+
% Criterion 1: n=XX\\
|
|
132
|
+
% Criterion 2: n=YY\\
|
|
133
|
+
% Criterion 3: n=ZZ
|
|
134
|
+
% };
|
|
135
|
+
%
|
|
136
|
+
% 3. Add more treatment arms (for 3+ group studies):
|
|
137
|
+
% \node[groupbox, below=2cm of randomized] (group3) {
|
|
138
|
+
% \textbf{Group 3}\\
|
|
139
|
+
% Description\\
|
|
140
|
+
% (n=XX)
|
|
141
|
+
% };
|
|
142
|
+
% \draw[arrow] (randomized) -- (group3);
|
|
143
|
+
%
|
|
144
|
+
% 4. Add intervention details:
|
|
145
|
+
% \node[infobox, right=of treatment] (intervention) {
|
|
146
|
+
% Received intervention: n=XXX\\
|
|
147
|
+
% Did not receive: n=YY\\
|
|
148
|
+
% \quad Reason 1: n=Z
|
|
149
|
+
% };
|
|
150
|
+
%
|
|
151
|
+
% 5. Modify colors by changing node styles in tikz_styles.tex
|
|
152
|
+
%
|
|
153
|
+
% 6. To use in your paper:
|
|
154
|
+
% \begin{figure}[h]
|
|
155
|
+
% \centering
|
|
156
|
+
% \includegraphics[width=0.9\textwidth]{flowchart.pdf}
|
|
157
|
+
% \caption{Study participant flow diagram following CONSORT guidelines.
|
|
158
|
+
% Boxes show participant numbers (n) at each stage.}
|
|
159
|
+
% \label{fig:consort}
|
|
160
|
+
% \end{figure}
|
|
161
|
+
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
% Biological Pathway Template
|
|
2
|
+
% For signaling cascades, metabolic pathways, and molecular interactions
|
|
3
|
+
%
|
|
4
|
+
% Usage:
|
|
5
|
+
% 1. Copy and customize this template
|
|
6
|
+
% 2. Modify node positions and labels
|
|
7
|
+
% 3. Compile with: pdflatex pathway_template.tex
|
|
8
|
+
% 4. Include in paper with: \includegraphics{pathway.pdf}
|
|
9
|
+
|
|
10
|
+
\documentclass[tikz, border=5mm]{standalone}
|
|
11
|
+
\usepackage{tikz}
|
|
12
|
+
|
|
13
|
+
% Load shared styles
|
|
14
|
+
\input{tikz_styles.tex}
|
|
15
|
+
|
|
16
|
+
\begin{document}
|
|
17
|
+
|
|
18
|
+
\begin{tikzpicture}[pathway]
|
|
19
|
+
|
|
20
|
+
% === Example: MAPK Signaling Pathway ===
|
|
21
|
+
|
|
22
|
+
% Nodes (proteins, genes, etc.)
|
|
23
|
+
\node[protein] (ligand) at (0, 6) {Growth\\Factor};
|
|
24
|
+
\node[protein] (receptor) at (2, 6) {Receptor};
|
|
25
|
+
\node[protein] (ras) at (4, 6) {RAS};
|
|
26
|
+
\node[protein] (raf) at (6, 6) {RAF};
|
|
27
|
+
\node[protein] (mek) at (8, 6) {MEK};
|
|
28
|
+
\node[protein] (erk) at (10, 6) {ERK};
|
|
29
|
+
|
|
30
|
+
% Transcription factor (different style)
|
|
31
|
+
\node[protein, fill=okabe-purple!20] (tf) at (10, 4) {TF};
|
|
32
|
+
|
|
33
|
+
% Gene (italics, green)
|
|
34
|
+
\node[gene] (target) at (10, 2) {\textit{Target\\Gene}};
|
|
35
|
+
|
|
36
|
+
% === Interactions ===
|
|
37
|
+
|
|
38
|
+
% Activation arrows (main cascade)
|
|
39
|
+
\draw[activation-arrow] (ligand) -- (receptor);
|
|
40
|
+
\draw[activation-arrow] (receptor) -- node[above, font=\footnotesize] {activates} (ras);
|
|
41
|
+
\draw[activation-arrow] (ras) -- (raf);
|
|
42
|
+
\draw[activation-arrow] (raf) -- (mek);
|
|
43
|
+
\draw[activation-arrow] (mek) -- (erk);
|
|
44
|
+
\draw[activation-arrow] (erk) -- (tf);
|
|
45
|
+
\draw[activation-arrow] (tf) -- node[right, font=\footnotesize] {transcription} (target);
|
|
46
|
+
|
|
47
|
+
% === Optional: Add inhibitor ===
|
|
48
|
+
% Uncomment to show an inhibitor
|
|
49
|
+
|
|
50
|
+
% \node[protein, fill=okabe-vermillion!20] (inhibitor) at (5, 8) {Inhibitor};
|
|
51
|
+
% \draw[inhibit-arrow] (inhibitor) -- (raf);
|
|
52
|
+
|
|
53
|
+
% === Optional: Add feedback loop ===
|
|
54
|
+
% Uncomment to show negative feedback
|
|
55
|
+
|
|
56
|
+
% \draw[inhibit-arrow, bend right=45] (erk) to node[left, font=\footnotesize] {feedback} (ras);
|
|
57
|
+
|
|
58
|
+
% === Optional: Add complex formation ===
|
|
59
|
+
% Uncomment to show protein complex
|
|
60
|
+
|
|
61
|
+
% \node[complex] (complex) at (7, 4) {RAF-MEK\\Complex};
|
|
62
|
+
% \draw[arrow, dashed] (raf) -- (complex);
|
|
63
|
+
% \draw[arrow, dashed] (mek) -- (complex);
|
|
64
|
+
|
|
65
|
+
% === Optional: Add subcellular compartments ===
|
|
66
|
+
% Uncomment to show membrane, cytoplasm, nucleus
|
|
67
|
+
|
|
68
|
+
% % Membrane
|
|
69
|
+
% \draw[thick, okabe-dblue] (-0.5, 5) -- (11, 5) node[right, font=\small] {Plasma Membrane};
|
|
70
|
+
%
|
|
71
|
+
% % Nuclear membrane
|
|
72
|
+
% \draw[thick, okabe-green] (9.5, 3) rectangle (10.5, 1.5);
|
|
73
|
+
% \node[font=\small, okabe-green] at (10, 1.2) {Nucleus};
|
|
74
|
+
|
|
75
|
+
\end{tikzpicture}
|
|
76
|
+
|
|
77
|
+
\vspace{1cm}
|
|
78
|
+
|
|
79
|
+
% === Example 2: Simple Linear Pathway ===
|
|
80
|
+
\begin{tikzpicture}[pathway, node distance=2.5cm]
|
|
81
|
+
|
|
82
|
+
% Linear pathway with enzyme catalysis
|
|
83
|
+
\node[metabolite] (s1) {Substrate\\A};
|
|
84
|
+
\node[metabolite, right=of s1] (s2) {Product\\B};
|
|
85
|
+
\node[metabolite, right=of s2] (s3) {Product\\C};
|
|
86
|
+
|
|
87
|
+
% Enzymes (above)
|
|
88
|
+
\node[enzyme, above=1cm of s1] (e1) {Enzyme 1};
|
|
89
|
+
\node[enzyme, above=1cm of s2] (e2) {Enzyme 2};
|
|
90
|
+
|
|
91
|
+
% Catalysis arrows
|
|
92
|
+
\draw[arrow, dashed] (e1) -- (s1);
|
|
93
|
+
\draw[activation-arrow] (s1) -- node[above, font=\footnotesize] {catalyzed} (s2);
|
|
94
|
+
\draw[arrow, dashed] (e2) -- (s2);
|
|
95
|
+
\draw[activation-arrow] (s2) -- (s3);
|
|
96
|
+
|
|
97
|
+
\end{tikzpicture}
|
|
98
|
+
|
|
99
|
+
\end{document}
|
|
100
|
+
|
|
101
|
+
% === Customization Guide ===
|
|
102
|
+
%
|
|
103
|
+
% NODE TYPES (from tikz_styles.tex):
|
|
104
|
+
% protein - Rounded rectangle, blue
|
|
105
|
+
% gene - Rectangle, green, italic text
|
|
106
|
+
% metabolite - Circle, yellow
|
|
107
|
+
% enzyme - Ellipse, dark blue
|
|
108
|
+
% complex - Rounded rectangle, orange, thick border
|
|
109
|
+
%
|
|
110
|
+
% ARROW TYPES:
|
|
111
|
+
% activation-arrow - Solid arrow, activation
|
|
112
|
+
% inhibit-arrow - Blunt end, inhibition (red)
|
|
113
|
+
% arrow, dashed - Dashed arrow, indirect effect
|
|
114
|
+
%
|
|
115
|
+
% POSITIONING:
|
|
116
|
+
% \node[protein] (name) at (x, y) {Label};
|
|
117
|
+
% or
|
|
118
|
+
% \node[protein, right=2cm of other] (name) {Label};
|
|
119
|
+
% or
|
|
120
|
+
% \node[protein, below=of other] (name) {Label};
|
|
121
|
+
%
|
|
122
|
+
% COLORS (Okabe-Ito colorblind-safe):
|
|
123
|
+
% okabe-blue, okabe-orange, okabe-green, okabe-yellow
|
|
124
|
+
% okabe-dblue, okabe-vermillion, okabe-purple
|
|
125
|
+
%
|
|
126
|
+
% SUBCELLULAR COMPARTMENTS:
|
|
127
|
+
% Draw rectangles or regions to show membrane, cytoplasm, nucleus:
|
|
128
|
+
%
|
|
129
|
+
% % Nucleus boundary
|
|
130
|
+
% \node[rectangle, draw=okabe-green, thick, minimum width=3cm,
|
|
131
|
+
% minimum height=2cm] at (10, 3) {};
|
|
132
|
+
% \node[font=\small] at (10, 1) {Nucleus};
|
|
133
|
+
%
|
|
134
|
+
% % Membrane
|
|
135
|
+
% \draw[very thick, okabe-dblue] (0, 5) -- (12, 5);
|
|
136
|
+
% \node[right, font=\small] at (12, 5) {Membrane};
|
|
137
|
+
%
|
|
138
|
+
% PATHWAY CONVENTIONS:
|
|
139
|
+
% - Proteins: Regular font
|
|
140
|
+
% - Genes: Italic font (\textit{gene} or use gene style)
|
|
141
|
+
% - Phosphorylation: Add "P" in circle or use annotation
|
|
142
|
+
% \node[circle, draw, fill=white, inner sep=1pt, font=\tiny] at (x,y) {P};
|
|
143
|
+
% - Ubiquitination: "Ub" annotation
|
|
144
|
+
% - Degradation: Dashed arrow to a "trash" symbol or text
|
|
145
|
+
%
|
|
146
|
+
% TYPICAL USAGE IN PAPER:
|
|
147
|
+
%
|
|
148
|
+
% \begin{figure}[h]
|
|
149
|
+
% \centering
|
|
150
|
+
% \includegraphics[width=0.8\textwidth]{pathway.pdf}
|
|
151
|
+
% \caption{MAPK signaling pathway. Growth factor binding activates
|
|
152
|
+
% receptor, triggering cascade through RAS, RAF, MEK, ERK to
|
|
153
|
+
% transcription factor (TF) and target gene expression.
|
|
154
|
+
% Arrows indicate activation.}
|
|
155
|
+
% \label{fig:pathway}
|
|
156
|
+
% \end{figure}
|
|
157
|
+
%
|
|
158
|
+
% RESOURCES:
|
|
159
|
+
% - Systems Biology Graphical Notation (SBGN): https://sbgn.github.io/
|
|
160
|
+
% - Pathway Commons: https://www.pathwaycommons.org/
|
|
161
|
+
% - KEGG Pathways: https://www.genome.jp/kegg/pathway.html
|
|
162
|
+
|