.tex and .bib by 바죠

latex을 활용하여 매뉴스크립트 만들기.
연구발표 자료 만들기.

latex은 수식과 관련된 연구자들에게 매뉴스크립트 작성시 최우선 선택 사항으로 군림한지 오래되었다.
수학자, 물리학자들 사이에 상당히 인기가 높다. 물리학자들의 경우에는 이론성향이 강할 수록 거의 절대적으로 사용된다고 보면 된다. 실험하시는 분들은 조금 더 다양한 매뉴스크립트 작성 양식을 활용하신다고 보여진다. 연구의 결정판이고 정리의 화신들이 즐겨 사용하는 툴이다. 수학자들이 필요해서 만들었고, 정말 뛰어난 툴이다. 무엇보다 거의 모든 사람들이 그 '아름다움'에 동의 한다.

latex활용은 상당한 투자가 선행되어야 한다. 공부를 좀 해야한다.  다른 소프트웨어들은 거의 추가적인 투자 없이 즉시 활용가능한 특징이 있다. 이러한 노력의 과정을 이수하게 되면, 결코 latex을 버리고 싶은 생각이 없어진다. 그만큼 latex은 중독성이 강한 매뉴스크립트 작성툴이다.

사실, 이 초기 투자 공부도 어디에서 부터 시작하는가에 따라서는 굉장히 쉽게 latex의 기본에 쉽게 접근할 수 있다. 최고의 sample.tex을 찾아서 그기에서 부터 시작하면 빨리 latex의 핵심에 도달할 수 있다고 본다. 매뉴스크립트에 그림을 넣는 경우도 마찬가지이다. 좋은 example 파일을 찾을 수 있으면 굉장히 쉽게 일을 할 수 있다.

서치엔진을 활용하여 최고의 template 파일들을 쉽게 찾을 수 있다.
예를 들어, "cv template latex"라고 서치엔진 창에 쳐 넣으면, 그야말로 좋은 자료들을 얻을 수 있다.

Miktex의 경우, 현재의 .tex파일에서 필요한 style 파일들은 컴파일할 때 인터넷으로 직접 공급받는 방식을 지원하기 때문에 그야말로 좋은 template 파일을 찾는 것은 중요한 일이 될 수 있다. know-how가 아니라 know-where가 더 중요한 경우이다.

매뉴스크립트 작성을 위해서 기본적으로 필요한 소프트웨어를 나열하면 다음과 같다.
miktex2.7을 설치한다. (무료)
WinEdt를 설치한다. (유료)

실질적인 매뉴스크립트 작성 순서:
.tex 파일작성
.bib 파일작성 (일종의 database이다.)(저널 웹페이지에서 논문링크된 양식을 copy-paste로 작성할 수 있다.)
두 작은 동시에 병렬적으로 진행될 것이다.  (문서 작성 작업. \cite{}를 활용할 것이다.)
.tex 파일 마지막 부분이 아래와 같이 만들어지면 된다.


\bibliographystyle{plain} % (uses file "plain.bst")  이 부분은 상황에 따라서 지정할 필요가 없을 수도 있다.
\bibliography{myrefs} % expects file "myrefs.bib"    최종 extension name을 적어주지 않는다는 것에 주의할 필요가 있다.
\end{document}


미국화학회 관련 논문형식의 경우 아래와 같이 끝이 날 수도 있다.
\bibliography{achemso}   % achemso.bib
\end{document}
따라서, 사용자는 achemso.bib파일에 추가적으로 자신이 필요한  data을 넣어 파일을 작성을 완료하면된다.


매뉴스크립트 최종 컴파일 순서:
latex
bibtex
latex
latex

참고 사이트:
http://amath.colorado.edu/documentation/LaTeX/reference/faq/bibstyles.html#bibfile

참고: 윈도우즈 환경하에서 최적의 매뉴스크립트 작업 환경으로 볼 수 있는 것들.
Miktex2.7   http://incredible.egloos.com/1583704
아래의 두 프로그램들은 모두 유료 프로그램이다.
공히 Miktex의 설치를 가정하고 있다.
WinEdt(에디터), texpoint(파워포인트 plug-in양식의 수식 편집기, latex 형식 수식 편집 출력 지원) (http://incredible.egloos.com/474399)

아래 그림과 같은 그림형식으로 된 수식 작성을 위해서 기본적으로 필요한 소프트웨어를 나열하면 다음과 같다.
miktex2.7을 설치한다. (무료)
ghostscript (무료)
texpoint를 설치한다. (유료)

수식이 그림으로 저장됨에 따라  컴퓨터 구동환경에 따라서 파손(?)될 염려가 없다. 원칙적으로 latex에 의해서 가능한 일들이다. 하지만 편리하게 powerpoint내에서 수정, 작성할 수 있게 해주는 프로그램이 texpoint이다.

아래는 achemso.bib 의 내용물

@ARTICLE{Abernethy2003,
  author = {Colin D. Abernethy and Gareth M. Codd and Mark D. Spicer
    and Michelle K. Taylor},
  title = {{A} highly stable {N}-heterocyclic carbene complex of
    trichloro-oxo-vanadium(\textsc{v}) displaying novel
    {C}l---{C}(carbene) bonding interactions},
  journal = {{J}. {A}m. {C}hem. {S}oc.},
  year = {2003},
  volume = {125},
  pages = {1128--1129},
  number = {5},
  doi = {10.1021/ja0276321},
}

@MISC{ACS2007,
  url = {http://pubs.acs.org/books/references.shtml},
}

@ARTICLE{Arduengo1992,
  author = {Arduengo, III, Anthony J. and H. V. Rasika Dias and
    Richard L. Harlow and Michael Kline},
  title = {{E}lectronic stabilization of nucleophilic carbenes},
  journal = {{J}.~{A}m.\ {C}hem.\ {S}oc.},
  year = {1992},
  volume = {114},
  pages = {5530--5534},
  number = {14},
  doi = {10.1021/ja00040a007},
}

@ARTICLE{Arduengo1994,
  author = {Arduengo, III, Anthony J. and Siegfried F. Gamper and
    Joseph C. Calabrese and Fredric Davidson},
  title = {{L}ow-coordinate carbene complexes of nickel(0) and
    platinum(0)},
  journal = jacsat,
  year = {1994},
  volume = {116},
  pages = {4391--4394},
  number = {10},
  doi = {10.1021/ja00089a029},
}

@ARTICLE{Eisenstein2005,
  author = {Appelhans, Leah N. and Zuccaccia, Daniele and Kovacevic,
    Anes and Chianese, Anthony R. and Miecznikowski, John R. and
    Macchioni, Aleco and Clot, Eric and Eisenstein, Odile and
    Crabtree, Robert H.},
  title = {{A}n anion-dependent switch in selectivity results from a
    change of {C}---{H} activation mechanism in the reaction of an
    imidazolium salt with \ce{IrH5(PPh3)2}},
  journal = {{J}.~{A}m.\ {C}hem. {S}oc.},
  year = {2005},
  volume = {127},
  pages = {16299--16311},
  number = {46},
  doi = {10.1021/ja055317j},
}

@BOOK{Coghill2006,
  title = {{T}he {ACS} {S}tyle {G}uide},
  publisher = {{O}xford {U}niversity {P}ress, {I}nc. and
               {T}he {A}merican {C}hemical {S}ociety},
  year = {2006},
  editor = {Coghill, Anne M. and Garson, Lorrin R.},
  address = {{N}ew {Y}ork},
  edition = {3},
  subtitle = {{E}ffective {C}ommunication of {S}cientific
    {I}nformation},
}

@BOOK{Cotton1999,
  title = {{A}dvanced {I}norganic {C}hemistry},
  publisher = {Wiley},
  year = {1999},
  author = {Cotton, Frank Albert and Wilkinson, Geoffrery and
    Murillio, Carlos A. and Bochmann, Manfred},
  address = {Chichester},
  edition = {6},
}

@MANUAL{Pople2003,
  title = {{G}aussian 03},
  author = {M.~J. Frisch and G.~W. Trucks and H.~B. Schlegel and G.~E. Scuseria
and M.~A. Robb and J.~R. Cheeseman and Montgomery and Jr. and J.
A. and T. Vreven and K.~N. Kudin and J.~C. Burant and J.~M. Millam
and S.~S. Iyengar and J. Tomasi and V. Barone and B. Mennucci and
M. Cossi and G. Scalmani and N. Rega and G.~A. Petersson and H. Nakatsuji
and M. Hada and M. Ehara and K. Toyota and R. Fukuda and J. Hasegawa
and M. Ishida and T. Nakajima and Y. Honda and O. Kitao and H. Nakai
and M. Klene and X. Li and J.~E. Knox and H.~P. Hratchian and J.~B.
Cross and V. Bakken and C. Adamo and J. Jaramillo and R. Gomperts
and R.~E. Stratmann and O. Yazyev and A.~J. Austin and R. Cammi and
C. Pomelli and J.~W. Ochterski and P.~Y. Ayala and K. Morokuma and
G.~A. Voth and P. Salvador and J.~J. Dannenberg and V.~G. Zakrzewski
and S. Dapprich and A.~D. Daniels and M.~C. Strain and O. Farkas
and D.~K. Malick and A.~D. Rabuck and K. Raghavachari and J.~B. Foresman
and J.~V. Ortiz and Q. Cui and A.~G. Baboul and S. Clifford and J.
Cioslowski and B.~B. Stefanov and G. Liu and A. Liashenko and P.
Piskorz and I. Komaromi and R.~L. Martin and D.~J. Fox and T. Keith
and M.~A. Al-Laham and C.~Y. Peng and A. Nanayakkara and M. Challacombe
and P.~M.~W. Gill and B. Johnson and W. Chen and M.~W. Wong and C.
Gonzalez and J.~A. Pople},
  organization = {Gaussian, Inc.},
  address = {Wallingford, CT},
  year = {2004},
  howpublished = {Gaussian, Inc., Wallingford, CT, USA},
  institution = {Gaussian, Inc.},
  publisher = {Gaussian, Inc.}
}

@ARTICLE{Mena2000,
  author = {Angel Abarca and Pilar G\'omez-Sal and Avelino Mart\'in
    and Miguel Mena and Josep Mar\'ia Poblet and Carlos Y\'elamos},
  title = {{A}mmonolysis of mono(pentamethylcyclopentadienyl)
    titanium(\textsc{iv}) derivatives},
  journal = {Inorg. Chem.},
  year = {2000},
  volume = {39},
  pages = {642--651},
  number = {4},
  doi = {10.1021/ic9907718},
}



This is an auxiliary file used by the `notes2bib' package.
 This file may safely be deleted. It will be recreated as required.

@Misc{Bibnote1,
presort = {mm},
key = {Bibnote1},
note = {This is a note. The text will be moved the the references section. The title of the section will change to ``Notes and References''.}
}

@Misc{Bibnote2,
presort = {mm},
key = {Bibnote2},
note = {Ref.~\citenum {Cotton1999}, p.~1}
}

 


This is an auxiliary file used by the `achemso' package.
This file may safely be deleted. It will be recreated as required.

@Control{achemso-control,
  ctrl-use-title = "no",
  ctrl-etal-number = "15",
}




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% This is a (brief) model paper using the achemso class
%% The document class accepts keyval options, which should include
%% the target journal and optionally the macuscript tye
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[journal=jacsat,manuscript=article]{achemso}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Place any additional packages needed here.  Only include packages
%% which are essential, to avoid problems later.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[version=3]{mhchem} % Formula subscripts using \ce{}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% If issues arise when submitting your manuscript, you may want to
%% un-comment the next line.  This provides information on the
%% version of every file you have used.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%\listfiles

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Place any additional macros here.  Please use \newcommand* where
%% possible, and avoid layout changing macros (which are not used
%% when typesetting).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand*{\mycommand}[1]{\texttt{\emph{#1}}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Meta-data block
%% ---------------
%% Each author should be given as a separate \author command.
%%
%% Corresponding authors should have an e-mail given after the author
%% name as an \email command.
%%
%% The affiliation of authors is given after the authors; each
%% \affiliation command applies to all preceding authors not already
%% assigned an affiliation.
%%
%% The affiliation takes an option argument for the short name.  This
%% will typically be something like "University of Somewhere".
%%
%% The \altaffiliation macro should be used for new address, etc.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\author{Andrew N. Other}
\author{Fred T. Secondauthor}
\altaffiliation{Current address: Some other place, Othert\"own,
Germany}
\author{I. Ken Groupleader}
\email{i.k.groupleader@unknown.uu}
\affiliation[Unknown University]
{Department of Chemistry, Unknown University, Unknown Town}
\author{Susanne K. Laborator}
\email{s.k.laborator@bigpharma.co}
\affiliation[BigPharma]
{Lead Discovery, BigPharma, Big Town, USA}
\author{Kay T. Finally}
\affiliation[Unknown University]
{Department of Chemistry, Unknown University, Unknown Town}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The document title should be given as usual
%% A short title can be given as a *suggestion* for running headers.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title[\texttt{achemso} demonstration]
{A demonstration of the \textsf{achemso} \LaTeX\ class}

\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The manuscript does not need to include \maketitle, which is
%% executed automatically.  The document should begin with an
%% abstract, if appropriate.  If one is given and should not be, the
%% contents will be gobbled.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{abstract}
  This is an example document for the \textsf{achemso} document
  class, intended for submissions to the American Chemical Society
  for publication. The class is based on the standard \LaTeXe\
  \textsf{report} file, and does not seek to reproduce the appearance
  of a published paper.

  This is an abstract for the \textsf{achemso} document class
  demonstration document.  An abstract is only allowed for certain
  manuscript types.  The selection of \texttt{journal} and
  \texttt{type} will determine if an abstract is valid.  If not, the
  class will issue an appropriate error.
\end{abstract}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Start the main part of the manuscript here.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Introduction}
This is a paragraph of text to fill the introduction of the
demonstration file.  The demonstration file attempts to show the
modifications of the standard \LaTeX\ macros that are implemented by
the \textsf{achemso} class.  These are mainly concerned with content,
as opposed to appearance.

\section{Results and discussion}

\subsection{Outline}

The document layout should follow the style of the journal concerned.
Where appropriate, sections and subsections should be added in the
normal way. If the class options are set correctly, warnings will be
given if these should not be present.

\subsection{References}

The class makes various changes to the way that references are
handled.  The class loads \textsf{natbib}, and also the appropriate
bibliography style.  References can be made using the normal method;
the citation should be placed before any punctuation, as the class
will move it if using a superscript citation style
\cite{Mena2000,Abernethy2003}. The use of \textsf{natbib} allows the
use of the various citation commands of that package:
\citeauthor{Abernethy2003} have shown something, or in
\citeyear{Cotton1999}.  Long lists of authors will be automatically
truncated in most article formats, but not in supplementary
information or reviews \cite{Pople2003}.

Multiple citations to be combined into a list can be given as
a single citation.  This uses the \textsf{mciteplus} package
\cite{Arduengo1992,*Eisenstein2005,*Arduengo1994}.  Citations
other than the first of the list should be indicated with a star.

The class also handles notes to be added to the bibliography.  These
should be given in place in the document \bibnote{This is a note.
The text will be moved the the references section.  The title of the
section will change to ``Notes and References''.}.  As with
citations, the text should be placed before punctuation.  A note is
also generated if a citation has an optional note.  This assumes that
the whole work has already been cited: odd numbering will result if
this is not the case \cite[p.~1]{Cotton1999}.

\subsection{Floats}

New float types are automatically set up by the class file.  The
means graphics are included as follows (\ref{sch:example}).  As
illustrated, the float is ``here'' if possible.
\begin{scheme}
  Your scheme graphic would go here: \texttt{.eps} format\\
  for \LaTeX\, or \texttt{.pdf} (or \texttt{.png}) for pdf\LaTeX\\
  \textsc{ChemDraw} files are best saved as \texttt{.eps} files;\\
  these can be scaled without loss of quality, and can be\\
  converted to \texttt{.pdf} files easily using \texttt{eps2pdf}.\\
  %\includegraphics{graphic}
  \caption{An example scheme}
  \label{sch:example}
\end{scheme}

\subsection{Math(s)}

The \textsf{achemso} class does not load any particular additional
support for mathematics.  If the author \emph{needs} things like
\textsf{amsmath}, they should be loaded in the preamble.  However,
the basics should work fine.  Some inline material $ y = mx + c$
followed by some display. \[ A = \pi r^2 \]

\section{Experimental}

The usual experimental details should appear here.  This could
include a table, which can be referenced as \ref{tbl:example}. Notice
that the caption is positioned at the top of the table. Do not worry
about the appearance of the table: this will be altered during
production.
\begin{table}
  \caption{An example table}
  \label{tbl:example}
  \begin{tabular}{ll}
    \hline
    Header one & Header two \\
    \hline
    Entry one & Entry two \\
    Entry three & Entry four \\
    Entry five & Entry five \\
    Entry seven & Entry eight \\
    \hline
  \end{tabular}
\end{table}

The example file also loads the \textsf{mhchem} package, so
that formulas are easy to input: \texttt{\textbackslash
\ce\{H2SO4\}} gives \ce{H2SO4}.  See the use in the
bibliography file (when using titles in the references
section).

The use of new commands should be limited to simple things which will
not interfere with the production process.  For example,
\texttt{\textbackslash mycommand} has been defined in this example,
to give italic, monospaced text: \mycommand{some text}.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The "Acknowledgement" section can be given in all manuscript
%% classes.  Rather than use \section, an appropriate macro is
%% provided that will always work.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\acknowledgement

Thanks to Mats Dahlgren for version one of \textsf{achemso},
and Donald Arseneau for the code taken from \textsf{cite} to
move citations after punctuation.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The same is true for Supporting Information, which should use the
%% \suppinfo macro.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\suppinfo

The entire \textsf{achemso} bundle is generated by running
\texttt{achemso.dtx} through \TeX. Running \LaTeX\ on the same file
will generate the general documentation for both the class and
package files.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The appropriate \bibliography command should be placed here.
%% Notice that the class file automatically sets \bibliographystyle
%% and also names the section correctly.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\bibliography{achemso}

\end{document}
 


트랙백

이 글과 관련된 글 쓰기 (트랙백 보내기)
TrackbackURL : http://incredible.egloos.com/tb/3987743 [도움말]

핑백

덧글

  • 기민성 2008/12/12 15:01 # 삭제 답글

    안녕하세요. 우연히 보고 궁금한 점이 있어 덧글을 올립니다.
    그동안 miktex2.7 과 winedt을 사용하여 rev4 format으로 논문 작업을 해 오고 있습니다. 그런데, 논문 format을 achemso로 바꾸기 위해 achemso package를 구했는데, 어떻게 설치 또는 포함 시켜야 될 지 난감하네요. 특정 폴더에 copy-paste를 하는지, 아니면, root를 따로 설정 해 주어야 하는지 궁금하네요.
  • 바죠 2008/12/12 17:06 # 삭제

    miktex2.7을 사용하신다면, sample 파일을 홈페이지(예를 들어, J. Phys. Chem. B)에서 다운로드 받으시면 됩니다. 이 때, achemso bib 파일도 동시에 다운로드 받아주세요.

    이 두 파일을 작업하시는 곳에 두시고, winedt로 가서 sample tex파일을 열어 주십시요.
    그다음 latex명령어를 실행하면, internet으로 필요한 항목들을 자동으로 다운로드 합니다.


    latex
    bibtex
    latex
    latex
덧글 입력 영역