2017-05-03 1 views
1

나는 참고 문헌 사용하는 다음 낙서 문서가 :변경 '참고 문헌'단어

Scribble Document

참고 문헌 섹션 :

#lang scribble/base 

@(require scriblib/autobib) 

@(define-cite cite citet gen-bib) 

This is a [email protected][the-citation]. 

@(define the-citation 
    (make-bib #:title "Hello" 
      #:author "World" 
      #:date "1337")) 

@gen-bib[] 

문서의 결과는 다음과 같이 보입니다를 제목은 '서지'이지만 실제로는 'REFERENCES'라는 제목이 붙어 있고, 낙서가 가능합니까? 아니면 라텍스 해킹을해야합니까?

답변

1

예, 낙서 (또는 오히려 scriblib/autobib)가 가능합니다.

사용 된 gen-bib 기능 (define-cite으로 정의 됨)에는 #:sec-title 옵션이있어서 참고 문헌의 제목을 설정할 수 있습니다. 당신이 그 라인을 변경하는 경우 :

@gen-bib[#:sec-title "References"] 

당신은 '참조'섹션이 아닌 '서지'하나를 제외하고, 같은 문서를 얻을 것이다.

Document with References

코드가 보일 것 같은 :

#lang scribble/base 

@(require scriblib/autobib) 

@(define-cite cite citet gen-bib) 

This is a [email protected][the-citation]. 

@(define the-citation 
    (make-bib #:title "Hello" 
      #:author "World" 
      #:date "1337")) 

@gen-bib[#:sec-title "References"]