<< How to typeset the LaTeX application forms >>

The files contained here are for the LaTeX users to create your
application form to apply to the open-use computers operated by CfCA:
* XD2000
* GPU
* PCC (Personal Computer Cluster)
The LaTeX form is also available on Overleaf.
For those who do not use LaTeX, the MS Word template files are also available.
Consult the CfCA homepage for details.
The access to those templates and links to the Overleaf is below.
You will also find the latest template id here.
https://www.cfca.nao.ac.jp/node/1254

####################################################
1. Select your parameters

Depending on the language, your progress stage, and the category you apply to,
choose the necessary parameters (four kinds) in the file parameters.tex.
What you must decide here is
==================================================
* Which language do you use? (English or Japanese)
  \Englishformtrue  % Use the English  form
  \Englishformfalse % Use the Japanese form

* Do you want to read instructions or just go on and fill the form?
  \finalformtrue    % To actually fill the form
  \finalformfalse   % To see descriptions as to what/how you should write

* Which category are you going to apply to?
  \XDStrue          % XD-S
  \XDAtrue          % XD-A
  \XDBtrue          % XD-B
  \XDMDtrue         % XD-MD
  \XDTrialtrue      % XD-Trial
  \GPUtrue          % GPU
  \PCCtrue          % PCC (Personal Computer Cluster = former GP-PC)

* Do you use BibTeX when you cite past studies?
  \UseBibTeXfalse   % Not using BibTeX
  \UseBibTeXtrue    %     Using BibTeX
==================================================

For example, if you
* plan to fill the form in Japanese,
* need to see instructions for each section,
* intend to apply to XD-B, and
* use BibTeX
choose the following parameters and delete/comment-out others:
  \Englishformfalse % Use the Japanese form
  \finalformfalse   % Read instructions as to what/how you should write
  \XDBtrue          % Apply to the XD-B category
  \UseBibTeXtrue    % Use BibTeX

For another example, if you
* plan to fill the form in English,
* need to see instructions for each section,
* intend to apply to the General-Purpose PC farm, and
* do not use BibTeX
choose the following parameters and delete/comment-out others:
  \Englishformtrue  % Use the English form
  \finalformfalse   % Read instructions as to what/how you should write
  \PCCtrue          % Apply to the General-Purpose PC category
  \UseBibTeXfalse   % Not use BibTeX

We strongly recommend that you see instructions before filling out the form.
To do so, typeset the files with the parameter
  \finalformfalse
and read the output document carefully to familiarize yourself with
what to write in the form.
Note that \UseBibTeXtrue must be specified as well in this case.

####################################################
2. Describe your application contents

Describe your application contents in LaTeX files for each section.
The kind of file required depends on the category you are applying for.

  1-objective.tex       # Section 1 : Significance and objective of your research
  2-method.tex          # Section 2 : Research plan and methods
  3-1-codedevel.tex     # Section 3.1 (*1): Development and optimization of computational codes
  3-2-requiredres.tex   # Section 3.2 (*2): Estimate of the amount of required computing resources
  4-citedrefs.tex       # Section 4 : References cited in Sections 1-3
  5-1-pastuse_cfca.tex  # Section 5.1 : Publications achieved through the use of CfCA's facilities
  5-2-pastuse_other.tex # Section 5.2 : Publications achieved through the use of other facilities
  6-schedule.tex        # Section 6   (*3): The date when you wish to run your jobs

 (*1) Required only for XD-S, XD-A, XD-B, XD-MD .
 (*2) Required for all the categories. In particular, for the XD-{S,A,B,MD,Trial} applications, there is a specific designation for how the description should be made (see the instructions)
  Also in this file, uncomment the following lines and give values to the variables.
  These values will automatically be entered in the table at the bottom of the page.
    \def\Mnodetime{0}        % node*time [k nodes hours] for M
    \def\Mmempernode{0}      % memory/node [GB/node]     for M
    \def\Pnodetime{0}        % node*time [k nodes hours] for P
    \def\Pmempernode{0}      % memory/node [GB/node]     for P
 (*3) Required only for XD-S .

There is a maximum amount of content that you can describe in each section.
You must strictly adhere to them:
  Section 1: Do not exceed 1 page (limited to p.1)
  Section 2: Do not exceed 1 page (limited to p.2)
  Section 3: Do not exceed 1 page (3.1 and 3.2 combined. limited to p.3)
  Section 4: Do not exceed 1 page (limited to p.4)
  Section 5: Do not exceed 1 page (5.1 and 5.2 combined. limited to p.5)
  Section 6: Do not exceed 1 page (limited to p.6)

####################################################
3. Using BibTeX to cite previous studies

We recommend using BibTex for the citations in Sections 1, 2, and 3. 
To use BibTex, enable the following in your file parameters.tex:
  \UseBibTeXtrue

Examples of how to cite references in the text can be found in the file
1-objective.tex. The formats of in-text citations and the reference list 
should follow the AAS Journals, and a format file (aasjournal.bst)
compliant with AASTeX 6.3 is enclosed. As a sample bib file, bibsamples.bib
is also enclosed, and its reading command is shown as a sample in 4-citedrefs.tex.
Modify it for your own application form.

You may also include other packages such as "hyperref" to embed 
hyperlinks to references. However, note that CfCA has not verified 
the compatibility of all packages other than the default packages
used in this Latex application form. Therefore we will not be able to 
answer specific questions about typesetting problems 
that may occur in your specific LaTeX environment.

####################################################
4. Use of figures/illustrations

The "graphicx" package is called in the following main_*.tex file such as
  \usepackage{graphicx}
Therefore you can include figures/illustrations in your application form
through the framework of this package.
See also an example description written in 1-objective.tex .
You may use other packages for incorporating illustrations.
But again, CfCA has not verified the compatibility of all packages
other than the default packages.

####################################################
5. Typeset

Depending on your PC environment, choose either following LaTeX file.
The contents of these two files are equivalent.
  main_utf-8.tex      # UTF-8
  main_eucjp.tex      # Japanese EUC

If necessary, you can convert it to another character code by yourself.
Example:
  nkf -s main_eucjp.tex > main_s-jis.tex

*NOTE* The applicants do not have to edit main_*.tex .

Typeset. The following is an example of using platex:
To cite and reflect the mutual references successfully, operate twice:
  platex  main_eucjp
  platex  main_eucjp

If you use BibTeX with platex, it will be as:
  platex  main_eucjp
  pbibtex main_eucjp
  platex  main_eucjp
  platex  main_eucjp

Create a PDF file. Here is an example of when you use dvipdfmx:
  dvipdfmx -p a4 main_eucjp

Thoroughly review the resulting PDF file.
If you are happy with it, submit it via the web form.

####################################################
6. Notes on using Overleaf to create your application form

On Overleaf, if you enable BiBTeX (i.e. uncomment \UseBibTeXtrue), you may find that the DOI(s) in the reference list (such as in Section 4) may be incorrectly represented as follows:
https://doi.org/10.1093/mnras/stz142210.1093/mnras/stz1422

Depending on what bst file you use, this often happens because you have not activated the hyperref package in the file main_{eucjp,utf-8}.tex.
In a local LaTeX environment, an explicit error would appear and typesetting would stop when the required package is not called.
However, Overleaf has a specification that allows typesetting to proceed to the end and generate a PDF file even in the presence of this kind of problem.
In this case, a red error icon will appear in the upper right corner of your Overleaf screen.
But if you overlook it, a PDF file with incorrect DOI(s) would be generated, as shown above.
Overleaf users are advised to be aware of the red error message and to avoid submitting PDF files that contain such incorrect DOI(s).

Note also that we are unable to reproduce all of your individual environments.
Therefore, we may not be able to answer to your questions about the consistency of individual LaTeX packages or option clashes.
We would appreciate it if you could resolve these issues by your own efforts.

--
last updated: Wed Nov 26 15:47:06 JST 2025
