From 436942fe5ad78d0938c03cdd50a4e0ebcf544a0b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 18 Aug 2012 22:36:17 +0000 Subject: cmpj (18aug12) git-svn-id: svn://tug.org/texlive/trunk@27452 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/cmpj/README | 24 +- Master/texmf-dist/doc/latex/cmpj/template.pdf | Bin 622933 -> 389930 bytes Master/texmf-dist/doc/latex/cmpj/template.tex | 122 ++-- Master/texmf-dist/tex/latex/cmpj/cmpj2.sty | 766 ++++++++++++++++++++++++++ 4 files changed, 846 insertions(+), 66 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/cmpj/cmpj2.sty diff --git a/Master/texmf-dist/doc/latex/cmpj/README b/Master/texmf-dist/doc/latex/cmpj/README index 39ee2ac302a..24127f6483a 100644 --- a/Master/texmf-dist/doc/latex/cmpj/README +++ b/Master/texmf-dist/doc/latex/cmpj/README @@ -7,12 +7,13 @@ of Sciences of Ukraine. Files in this directory are: - cmpj.sty Condensed Matter Physics journal style file + cmpj2.sty Condensed Matter Physics journal style file + cmpj.sty Old version of the Condensed Matter Physics journal style file cmp-logo.eps EPS and PDF versions of the CMP logo required - cmp-logo.pdf by cmpj.sty + cmp-logo.pdf by cmpj.sty and cmpj2.sty - cmpj.bst BibTeX style file for Condensed Matter Physics + cmpj.bst BibTeX style file for Condensed Matter Physics (experimental) README This file @@ -30,6 +31,7 @@ INSTALLATION 3. Move files to a directories on your LaTeX input path. Recommended TDS location, for modern freeware installations of LaTeX, is /tex/latex/cmpj/ for + cmpj2.sty cmpj.sty cmp-logo.eps cmp-logo.pdf @@ -53,9 +55,12 @@ INSTALLATION ADDITIONAL FILES REQUIRED BY THIS PACKAGE -cmpj.sty requires the doi, fancyhdr, graphicx, hyperref, ifthen, and -natbib packages. These packages are included in the current LaTeX -distributions. They are also available at CTAN (http://www.ctan.org/). +cmpj.sty and cmpj2.sty require the 'doi', 'fancyhdr', 'graphicx', +'hyperref', 'ifthen', and 'natbib' packages. +These packages are included in the current LaTeX distributions. +They are also available at CTAN (http://www.ctan.org/). +Besides, cmpj2.sty supports the 'droid' fonts for text +and 'fourier' and 'txfonts' for math. USER GUIDE AND TEMPLATE @@ -69,6 +74,13 @@ the LaTeX Project Public License (lppl). CHANGES +RELEASE NOTES FOR VERSION 2.01: + +* Added new cmpj2.sty with the support of the 'droid' fonts for text + and 'fourier' fonts and 'txfonts' for math. + +* Updated user guide and template + RELEASE NOTES FOR VERSION 1.17: * Corrected text height value from \textheight=227mm diff --git a/Master/texmf-dist/doc/latex/cmpj/template.pdf b/Master/texmf-dist/doc/latex/cmpj/template.pdf index 93bae25f55e..2a54dd8b0d4 100644 Binary files a/Master/texmf-dist/doc/latex/cmpj/template.pdf and b/Master/texmf-dist/doc/latex/cmpj/template.pdf differ diff --git a/Master/texmf-dist/doc/latex/cmpj/template.tex b/Master/texmf-dist/doc/latex/cmpj/template.tex index 950cbfe2e1a..0e61606d8e4 100644 --- a/Master/texmf-dist/doc/latex/cmpj/template.tex +++ b/Master/texmf-dist/doc/latex/cmpj/template.tex @@ -6,9 +6,9 @@ %%% in the Condensed Matter Physics journal %%% %%% using LaTeX2e %%% %%% %%% -%%% Last time modified: August 28, 2011 %%% +%%% Last time modified: August 12, 2012 %%% %%% %%% -%%% Copyright (C) 2011 by the Institute for Condensed Matter Physics %%% +%%% Copyright (C) 2012 by the Institute for Condensed Matter Physics %%% %%% of the National Academy of Sciences of Ukraine %%% %%% %%% %%% This file can be redistributed and/or modified under the terms %%% @@ -22,7 +22,6 @@ \usepackage{amsmath,amssymb} \usepackage{graphicx} -\usepackage{wrapfig} \usepackage[T2A]{fontenc} \usepackage[cp1251]{inputenc} @@ -31,9 +30,16 @@ %% not use Ukrainian. -\usepackage[eqsecnum]{cmpj} -%% Field in square brackets is optional. Use it for equation numbering -%% by sections. +\usepackage[eqsecnum]{cmpj2} +%% Fields in square brackets are optional. +%% Use 'eqsecnum' for equation numbering by sections; +%% and 'preprint' for the preprint layout with the increased +%% font size and interline spacing. +%% +%% Other options control font schema (not required for regular usage): +%% 'droid' for droid fonts (default); +%% 'helvet' for Helvetica fonts as in old 'cmpj.sty'; +%% 'cm' for standard TeX Computer Modern fonts. \articletype{Regular article} @@ -67,13 +73,15 @@ Twain~M., The Adventures of Huckleberry Finn. 1884.}} %% optional. Use them if your entries exceeds 45 characters. % +\sloppy + \begin{document} \maketitle \begin{abstract} These instructions describe how to prepare and submit an article -using \LaTeX{} and \texttt{cmpj.sty} for publishing in +using \LaTeX{} and \texttt{cmpj2.sty} for publishing in ``Condensed Matter Physics'' journal. Each submitted manuscript should contain an abstract reflecting the essence of the study. The abstract will be published separately from the article in a @@ -93,7 +101,6 @@ abbreviations. - \section{Editorial process: from submission to offprints} This guide is intended to help in preparing \LaTeX{} compuscripts @@ -403,13 +410,6 @@ marks where necessary. \subsection{Floats: figures and tables} -\begin{wrapfigure}{i}{0.5\textwidth} -\centerline{\includegraphics[width=0.33\textwidth]{eps_demo}} -\caption{This is a sample of true EPS figure which allows arbitrary -scaling without the loss of quality. Figure should be centred in the -line.} \label{fig-smp1} -\end{wrapfigure} -% Put the tables and figures in the text with the \verb|table| and \verb|figure| environments, and position them near the first reference of the table or the figure. Each table or figure should @@ -419,36 +419,17 @@ If a table or figure is divided into parts these should be labelled whole float, not separate ones for each part. The caption comes \emph{before} the table and \emph{after} the figure. It should have a full stop at the end. Simple samples are presented here (see -figures~\ref{fig-smp1} and \ref{fig-smp1_2} and table~\ref{tbl-smp1}). +figure~\ref{fig-smp1} and table~\ref{tbl-smp1}). -\begin{figure} +\begin{figure}[htb] \centerline{\includegraphics[width=0.65\textwidth]{eps_demo}} \caption{This is a sample of true EPS figure which allows arbitrary scaling without the loss of quality. Figure should be centred in the -line.} \label{fig-smp1_2} +line.} \label{fig-smp1} \end{figure} -Where possible tables should not be broken over pages. If a table -has related notes these should appear directly below the table -rather than at the bottom of the page. Notes can be designated -with footnote symbols. The \verb|minipage| environment is useful -in this case. - -Figures may be included in an article as Encapsulated PostScript -(EPS) files by means of the \verb|\includegraphics| command or using the -\LaTeX{} picture environment. Each figure should have a brief -caption describing it and, if necessary, interpreting the various -lines and symbols on the figure. As much lettering as possible -should be removed from the figure itself and included in the -caption. - -Keep in mind that your tables and figures may move from their -original places during preparation of the article for publishing. Collecting -all tables and figures at the end of the article is acceptable but -undesirable. - -\begin{table}[h] +\begin{table}[htb] \caption{Coefficients of symmetrized occupancies of orientational states which correspond to irreducible representations of the point symmetry group 2/m. Just a sample. Table also should be centred in the line.} @@ -488,6 +469,26 @@ group 2/m. Just a sample. Table also should be centred in the line.} \end{table} +Where possible tables should not be broken over pages. If a table +has related notes these should appear directly below the table +rather than at the bottom of the page. Notes can be designated +with footnote symbols. The \verb|minipage| environment is useful +in this case. + +Figures may be included in an article as Encapsulated PostScript +(EPS) files by means of the \verb|\includegraphics| command or using the +\LaTeX{} picture environment. Each figure should have a brief +caption describing it and, if necessary, interpreting the various +lines and symbols on the figure. As much lettering as possible +should be removed from the figure itself and included in the +caption. + +Keep in mind that your tables and figures may move from their +original places during preparation of the article for publishing. Collecting +all tables and figures at the end of the article is acceptable but +undesirable. + + \subsection{How to prepare a good figure} \emph{Authors should remember that the final printed quality of @@ -516,19 +517,22 @@ Labelling should be uniform in size throughout all figures. Lettering should not be pasted on to the figures as it may easily become detached as a result of handling. -\begin{wrapfigure}{i}{0.5\textwidth} +Colour figures submitted in electronic format will generally +remain in colour in the electronic versions of an article at no +cost. However, in the paper version of the CMP journal figures are printed in black +and white or grayscale. + + + + +\begin{figure}[htb] %\vspace{-2ex}% \centerline{\includegraphics{icmphome}} \caption{This is a sample of a bitmap image. This cosy building homes the Institute for Condensed Matter Physics and the CMP Editorial Office too. Photo by Oleh Vorobyov.} \label{fig-smp2} -\end{wrapfigure} - -Colour figures submitted in electronic format will generally -remain in colour in the electronic versions of an article at no -cost. However, in the paper version of the CMP journal figures are printed in black -and white or grayscale. +\end{figure} Roughly speaking, there are two types of electronic figures: vector graphics and bitmap graphics. A \emph{vector} image is a @@ -626,10 +630,9 @@ The citation scheme for journals is: Surnames\verb|~|Initials., Journal Title (according to the standard abbreviations), Year of publication, \textbf{Vol.}, starting page (comments: e.g. in Ukrainian, unpublished, private communication). For journals without volume numbers place the issue number instead as in reference~\cite{Mry94}. -If there are more than four authors, the first one should be listed only, followed -by ``et al.'' +The names of all authors of cited papers should be given. Title of journal should be abbreviated according to the ISI standards (see \href{http://library.caltech.edu/reference/abbreviations/}{http://library.caltech.edu/reference/abbreviations/}). -Please supply DOI for e-version of the papers if available \cite{Bus89,Mel00,Sta11}. +Please supply \href{http://www.doi.org/}{DOI} for e-version of the papers if available \cite{Bus89,Mel00,Sta11}. For books, the following order is required (skip irrelevant information): Book Authors or Editor[s] @@ -640,8 +643,7 @@ conference as well as publisher, place, and year of publication. Please add language of publication for materials which are not written in English. Indicate materials accepting for publications by adding ``(in press)''. Please avoid references to unpublished materials, private communication and web pages. -You should make sure the information is correct. Please separate each reference from the others. - +It is important to confirm the accuracy of bibliographic information in references. This has become more important now that the journal is online. To ensure that the \href{http://www.crossref.org/}{CrossRef} facility can hyper-link to the articles quoted in the bibliography, \textbf{multiple references must not be used}. I.e., a list of references under the same number is not allowed: each reference has to be singly numbered. Before submitting your article, please ensure you have checked your paper for any relevant references you may have missed. A typical numerical reference list might be @@ -654,14 +656,14 @@ A typical numerical reference list might be \bibitem{Zub74} Zubarev~D.N., Nonequilibrium Statistical Thermodynamics, Consultants Bureau, New-York, 1974. \bibitem{Bus89} Bussmann-Holder~A., Simon~A., B\"uttner~H., - Phys. Rev. B, 1989, \textbf{39}, No.~1, 207; \bibdoi{10.1103/PhysRevB.39.207}. + Phys. Rev. B, 1989, \textbf{39}, 207; \bibdoi{10.1103/PhysRevB.39.207}. \bibitem{Mel00} Melnyk~R., Patsahan~O., - Theor. Math. Phys., 2000, \textbf{124}, No.~2, 1145; \bibdoi{10.1007/BF02551084} - [Teor. Mat. Fiz., 2000, \textbf{124}, No.~2, 339 (in Russian)]. + Theor. Math. Phys., 2000, \textbf{124}, 1145; \bibdoi{10.1007/BF02551084} + [Teor. Mat. Fiz., 2000, \textbf{124}, 339 (in Russian)]. \bibitem{Mry94} Mryglod~I.M., Tokarchuk~M.V., Condens. Matter Phys., 1993, \textbf{3}, 116. \bibitem{Sta11} Stasyuk~I.V., Velychko~O.V., Condens. Matter Phys., 2011, \textbf{14}, - No.~1, 13004; \bibdoi{10.5488/CMP.14.13004}. + 13004; \bibdoi{10.5488/CMP.14.13004}. \bibitem{Sta04} Stasyuk~I.V., Mysakovych~T.S., Preprint of the Institute for Condensed Matter Physics, ICMP--04--12U, Lviv, 2004, (in Ukrainian). @@ -735,9 +737,9 @@ Remember: ``\textit{Ignorantia non est argumentum}'' and %% Type in your references using {thebibliography} environment -%% or create them from your bibtex database using cmp.bst style. +%% or create them from your bibtex database using cmpj.bst style (experimental). -%\bibliographystyle{cmp} +%\bibliographystyle{cmpj} %\bibliography{mybibdb} @@ -745,13 +747,13 @@ Remember: ``\textit{Ignorantia non est argumentum}'' and \bibitem{Zub74} Zubarev~D.N., Nonequilibrium Statistical Thermodynamics, Consultants Bureau, New-York, 1974. \bibitem{Bus89} Bussmann-Holder~A., Simon~A., B\"uttner~H., - Phys. Rev. B, 1989, \textbf{39}, No.~1, 207; \bibdoi{10.1103/PhysRevB.39.207}. + Phys. Rev. B, 1989, \textbf{39}, 207; \bibdoi{10.1103/PhysRevB.39.207}. \bibitem{Mel00} Melnyk~R., Patsahan~O., - Theor. Math. Phys., 2000, \textbf{124}, No.~2, 1145; \bibdoi{10.1007/BF02551084} - [Teor. Mat. Fiz., 2000, \textbf{124}, No.~2, 339 (in Russian)]. + Theor. Math. Phys., 2000, \textbf{124}, 1145; \bibdoi{10.1007/BF02551084} + [Teor. Mat. Fiz., 2000, \textbf{124}, 339 (in Russian)]. \bibitem{Mry94} Mryglod~I.M., Tokarchuk~M.V., Condens. Matter Phys., 1993, \textbf{3}, 116. -\bibitem{Sta11} Stasyuk~I.V., Velychko~O.V., Condens. Matter Phys., 2011, \textbf{14}, No.~1, 13004; \bibdoi{10.5488/CMP.14.13004}. +\bibitem{Sta11} Stasyuk~I.V., Velychko~O.V., Condens. Matter Phys., 2011, \textbf{14}, 13004; \bibdoi{10.5488/CMP.14.13004}. \bibitem{Sta04} Stasyuk~I.V., Mysakovych~T.S., Preprint of the Institute for Condensed Matter Physics, ICMP--04--12U, Lviv, 2004, (in Ukrainian). diff --git a/Master/texmf-dist/tex/latex/cmpj/cmpj2.sty b/Master/texmf-dist/tex/latex/cmpj/cmpj2.sty new file mode 100644 index 00000000000..fc4b9dd0788 --- /dev/null +++ b/Master/texmf-dist/tex/latex/cmpj/cmpj2.sty @@ -0,0 +1,766 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% %%% +%%% INSTITUTE FOR CONDENSED MATTER PHYSICS %%% +%%% %%% +%%% Style file for preparing an article for publication %%% +%%% in the Condensed Matter Physics journal , %%% +%%% http://www.icmp.lviv.ua/journal/ %%% +%%% using LaTeX2e %%% +%%% %%% +%%% Last time modified: August 12, 2012 %%% +%%% %%% +%%% Copyright (C) 2012 by the Institute for Condensed Matter Physics %%% +%%% of the National Academy of Sciences of Ukraine %%% +%%% all rights reserved. %%% +%%% %%% +%%% This file can be redistributed and/or modified under the terms %%% +%%% of the LaTeX Project Public License (lppl). %%% +%%% %%% +%%% Please report errors to: Andrij Shvaika %%% +%%% ashv (a) icmp lviv ua %%% +%%% %%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{cmpj2} + [2012/08/12 v2.01 + The Condensed Matter Physics journal package] +\def\filename{cmpj2.sty} +\def\fileversion{2.01} +\def\filedate{2012/08/12} +\immediate\write32{This is '\filename' v\fileversion \space <\filedate> ^^J% + the Condensed Matter Physics journal package} + +\if\@ptsize0 + \else + \PackageWarning{cmpj.sty}{Bad \noexpand\documentclass option, use 10pt} +\fi + +\RequirePackage{fancyhdr} +\RequirePackage{graphicx} +\RequirePackage[square,comma,numbers,sort&compress]{natbib} +\RequirePackage{ifthen} +\RequirePackage[pdfstartview=FitH]{hyperref} +%\def\href#1#2{} +\RequirePackage{doi} + +\DeclareOption{preprint}{% + \renewcommand{\@ptsize}{2}% + \renewcommand\normalsize{% + \@setfontsize\normalsize\@xiipt{20}%{14.5}% + \abovedisplayskip 16\p@ \@plus3\p@ \@minus7\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 9\p@ \@plus3.5\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip + \let\@listi\@listI} + \normalsize + \renewcommand\small{% + \@setfontsize\small\@xipt{18}%{13.6}% + \abovedisplayskip 14\p@ \@plus3\p@ \@minus6\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 9\p@ \@plus3.5\p@ \@minus3\p@ + \def\@listi{\leftmargin\leftmargini + \topsep 9\p@ \@plus3\p@ \@minus5\p@ + \parsep 4.5\p@ \@plus2\p@ \@minus\p@ + \itemsep \parsep}% + \belowdisplayskip \abovedisplayskip + } + \renewcommand\footnotesize{% + \@setfontsize\footnotesize\@xpt\@xiipt + \abovedisplayskip 12\p@ \@plus2\p@ \@minus5\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 8\p@ \@plus3\p@ \@minus3\p@ + \def\@listi{\leftmargin\leftmargini + \topsep 6\p@ \@plus2\p@ \@minus2\p@ + \parsep 3\p@ \@plus2\p@ \@minus\p@ + \itemsep \parsep}% + \belowdisplayskip \abovedisplayskip + } + \renewcommand\scriptsize{\@setfontsize\scriptsize\@viiipt{9.5}} + \renewcommand\tiny{\@setfontsize\tiny\@vipt\@viipt} + \renewcommand\large{\@setfontsize\large\@xivpt{22}} + \renewcommand\Large{\@setfontsize\Large\@xviipt{24}} + \renewcommand\LARGE{\@setfontsize\LARGE\@xxpt{25}} + \renewcommand\huge{\@setfontsize\huge\@xxvpt{30}} + \let\Huge=\huge + \if@twocolumn + \setlength\parindent{1em} + \else + \setlength\parindent{1.5em} + \fi + \setlength\smallskipamount{3\p@ \@plus 1\p@ \@minus 1\p@} + \setlength\medskipamount{6\p@ \@plus 2\p@ \@minus 2\p@} + \setlength\bigskipamount{12\p@ \@plus 4\p@ \@minus 4\p@} + \setlength\headheight{12\p@} + \setlength\headsep {25\p@} + \setlength\topskip {12\p@} + \setlength\footskip{30\p@} + \if@compatibility \setlength\maxdepth{4\p@} \else + \setlength\maxdepth{.5\topskip} \fi + \if@compatibility + \if@twocolumn + \setlength\textwidth{410\p@} + \else + \setlength\textwidth{390\p@} + \fi + \else + \setlength\@tempdima{\paperwidth} + \addtolength\@tempdima{-2in} + \setlength\@tempdimb{390\p@} + \if@twocolumn + \ifdim\@tempdima>2\@tempdimb\relax + \setlength\textwidth{2\@tempdimb} + \else + \setlength\textwidth{\@tempdima} + \fi + \else + \ifdim\@tempdima>\@tempdimb\relax + \setlength\textwidth{\@tempdimb} + \else + \setlength\textwidth{\@tempdima} + \fi + \fi + \fi + \if@compatibility\else + \@settopoint\textwidth + \fi + \if@compatibility + \setlength\textheight{36\baselineskip} + \else + \setlength\@tempdima{\paperheight} + \addtolength\@tempdima{-2in} + \addtolength\@tempdima{-1.5in} + \divide\@tempdima\baselineskip + \@tempcnta=\@tempdima + \setlength\textheight{\@tempcnta\baselineskip} + \fi + \addtolength\textheight{\topskip} + \if@twocolumn + \setlength\marginparsep {10\p@} + \else + \setlength\marginparsep{10\p@} + \fi + \setlength\marginparpush{7\p@} + \if@compatibility + \if@twoside + \setlength\oddsidemargin {21\p@} + \setlength\evensidemargin {59\p@} + \setlength\marginparwidth {85\p@} + \else + \setlength\oddsidemargin {39.5\p@} + \setlength\evensidemargin {39.5\p@} + \setlength\marginparwidth {68\p@} + \fi + \if@twocolumn + \setlength\oddsidemargin {30\p@} + \setlength\evensidemargin {30\p@} + \setlength\marginparwidth {48\p@} + \fi + \else + \if@twoside + \setlength\@tempdima {\paperwidth} + \addtolength\@tempdima {-\textwidth} + \setlength\oddsidemargin {.4\@tempdima} + \addtolength\oddsidemargin {-1in} + \setlength\marginparwidth {.6\@tempdima} + \addtolength\marginparwidth {-\marginparsep} + \addtolength\marginparwidth {-0.4in} + \else + \setlength\@tempdima {\paperwidth} + \addtolength\@tempdima {-\textwidth} + \setlength\oddsidemargin {.5\@tempdima} + \addtolength\oddsidemargin {-1in} + \setlength\marginparwidth {.5\@tempdima} + \addtolength\marginparwidth {-\marginparsep} + \addtolength\marginparwidth {-0.4in} + \addtolength\marginparwidth {-.4in} + \fi + \ifdim \marginparwidth >2in + \setlength\marginparwidth{2in} + \fi + \@settopoint\oddsidemargin + \@settopoint\marginparwidth + \setlength\evensidemargin {\paperwidth} + \addtolength\evensidemargin{-2in} + \addtolength\evensidemargin{-\textwidth} + \addtolength\evensidemargin{-\oddsidemargin} + \@settopoint\evensidemargin + \fi + \if@compatibility + \setlength\topmargin{27pt} + \else + \setlength\topmargin{\paperheight} + \addtolength\topmargin{-2in} + \addtolength\topmargin{-\headheight} + \addtolength\topmargin{-\headsep} + \addtolength\topmargin{-\textheight} + \addtolength\topmargin{-\footskip} % this might be wrong! + \addtolength\topmargin{-.5\topmargin} + \@settopoint\topmargin + \fi + \setlength\footnotesep{8.4\p@} + \setlength{\skip\footins}{10.8\p@ \@plus 4\p@ \@minus 2\p@} + \setlength\floatsep {12\p@ \@plus 2\p@ \@minus 4\p@} + \setlength\textfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@} + \setlength\intextsep {14\p@ \@plus 4\p@ \@minus 4\p@} + \setlength\dblfloatsep {14\p@ \@plus 2\p@ \@minus 4\p@} + \setlength\dbltextfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@} + \setlength\@fptop{0\p@ \@plus 1fil} + \setlength\@fpsep{10\p@ \@plus 2fil} + \setlength\@fpbot{0\p@ \@plus 1fil} + \setlength\@dblfptop{0\p@ \@plus 1fil} + \setlength\@dblfpsep{10\p@ \@plus 2fil} + \setlength\@dblfpbot{0\p@ \@plus 1fil} + \setlength\partopsep{3\p@ \@plus 2\p@ \@minus 2\p@} + \def\@listi{\leftmargin\leftmargini + \parsep 5\p@ \@plus2.5\p@ \@minus\p@ + \topsep 10\p@ \@plus4\p@ \@minus6\p@ + \itemsep5\p@ \@plus2.5\p@ \@minus\p@} + \let\@listI\@listi + \@listi + \def\@listii {\leftmargin\leftmarginii + \labelwidth\leftmarginii + \advance\labelwidth-\labelsep + \topsep 5\p@ \@plus2.5\p@ \@minus\p@ + \parsep 2.5\p@ \@plus\p@ \@minus\p@ + \itemsep \parsep} + \def\@listiii{\leftmargin\leftmarginiii + \labelwidth\leftmarginiii + \advance\labelwidth-\labelsep + \topsep 2.5\p@\@plus\p@\@minus\p@ + \parsep \z@ + \partopsep \p@ \@plus\z@ \@minus\p@ + \itemsep \topsep} + \def\@listiv {\leftmargin\leftmarginiv + \labelwidth\leftmarginiv + \advance\labelwidth-\labelsep} + \def\@listv {\leftmargin\leftmarginv + \labelwidth\leftmarginv + \advance\labelwidth-\labelsep} + \def\@listvi {\leftmargin\leftmarginvi + \labelwidth\leftmarginvi + \advance\labelwidth-\labelsep} +}% + +\def\eqsecnum{% + \@addtoreset{equation}{section} % + \def\theequation{\arabic{section}.\arabic{equation}}% +} + +\DeclareOption{eqsecnum}{\eqsecnum} + +\def\latsf{cmss} +\def\cyrsf{cmss} +\def\Hv@scale{0.889} +\def\Pr@scale{0.889} +\def\cmpj@sf{} + +\def\cmpj@sf@helvet{ + \IfFileExists{t1phv.fd}{ +% \RequirePackage[scaled=0.95]{helvet} + \def\latsf{phv} + }{ + \def\latsf{cmss} + } + \IfFileExists{t2appr.fd}{ + \def\cyrsf{ppr} + }{ + \def\cyrsf{cmss} + } +} + +\def\cmpj@sf@droid{ + \IfFileExists{t2afds.fd}{ + \IfFileExists{omltxmi.fd}{\RequirePackage{txfonts}}{} + \IfFileExists{fmlfutm.fd}{\RequirePackage{fourier}}{} + \IfFileExists{omltxmi.fd}{\re@DeclareMathSymbol{\varkappa}{\mathord}{AMSb}{123}}{} + \RequirePackage[default,scale=0.86]{droidserif} + \RequirePackage[defaultsans,scale=0.86]{droidsans} + \RequirePackage[defaultmono,scale=0.86]{droidmono} + \def\latsf{fds} + \def\cyrsf{fds} + }{\cmpj@sf@helvet} +} + +\DeclareOption{droid}{\let\cmpj@sf\cmpj@sf@droid} + +\DeclareOption{helvet}{\let\cmpj@sf\cmpj@sf@helvet} + +\DeclareOption{cm}{\def\cmpj@sf{}} + +\ExecuteOptions{droid} + +\ProcessOptions + +\cmpj@sf + +\def\hvsf{\sffamily\upshape} + +%% Sectioning %% + +\renewcommand\section{\@startsection {section}{1}{\z@}% + {-3.5ex \@plus -1ex \@minus -.2ex}% + {2.3ex \@plus.2ex}% + {\normalfont\Large\hvsf\bfseries\mathversion{bold}}} +\renewcommand\subsection{\@startsection{subsection}{2}{\z@}% + {-3.25ex\@plus -1ex \@minus -.2ex}% + {1.5ex \@plus .2ex}% + {\normalfont\large\hvsf\bfseries\mathversion{bold}}} +\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}% + {-3.25ex\@plus -1ex \@minus -.2ex}% + {1.5ex \@plus .2ex}% + {\normalfont\normalsize\hvsf\bfseries\mathversion{bold}}} +\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}% + {3.25ex \@plus1ex \@minus.2ex}% + {-1em}% + {\normalfont\normalsize\hvsf\bfseries\mathversion{bold}}} +\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}% + {3.25ex \@plus1ex \@minus .2ex}% + {-1em}% + {\normalfont\normalsize\hvsf\bfseries\mathversion{bold}}} + +\def\@seccntformat#1{\csname the#1\endcsname.\hspace{0.5em}} + +%% Title %% + +\renewcommand\maketitle{\par + \begingroup + \renewcommand\thefootnote{\@fnsymbol\c@footnote}% + \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}% + \long\def\@makefntext##1{\parindent 1em\noindent + \hb@xt@1.8em{% + \hss\@textsuperscript{\normalfont\@thefnmark}}##1}% + \if@twocolumn + \ifnum \col@number=\@ne + \@maketitle + \else + \twocolumn[\@maketitle]% + \fi + \else + \newpage + \global\@topnum\z@ % Prevents figures from going at top of page. + \@maketitle + \fi + \thispagestyle{plain} + \@thanks + \endgroup + \setcounter{footnote}{0}% + \global\let\thanks\relax + \global\let\maketitle\relax +% \global\let\@maketitle\relax + \global\let\@thanks\@empty +% \global\let\@author\@empty +% \global\let\@date\@empty +% \global\let\@title\@empty +% \global\let\title\relax +% \global\let\author\relax +% \global\let\date\relax +% \global\let\and\relax +} + +\def\@title{} +\def\@author{} +\def\@address{} +\def\fancy@author{} +\def\issue@year{????}% +\def\issue@volume{?}% +\def\issue@number{?}% +\def\article@number{?????} +%\def\doi@number{10.XXXX/CMPJ.XX.XXXXX} + +\def\issue#1#2#3#4{\def\issue@year{#1}% + \def\issue@volume{#2}% + \def\issue@number{#3}% + \def\article@number{#4}% + } +\def\article@type{} +\def\articletype#1{\def\article@type{#1}} +\def\article@page{\article@number-\arabic{page}} +\def\doinumber#1{\def\doi@number{#1}} +%\def\bibdoi#1{\href{http://dx.doi.org/#1}{doi:#1}} +\def\bibdoi{\doi} + +\def\print@title{{\LARGE \hvsf\bfseries\upshape\mathversion{bold} \@title \par}} +\def\print@author{% + \vskip 1.5em% + {\hvsf + \lineskip .5em% + \large\upshape\@author\par} + } +\def\print@address{\vskip 0.5em + \small\hvsf\upshape\@address\par + } + +\def\@maketitle{% + \newpage + \noindent\parbox[t]{11cm}{% + \ifthenelse{\equal{1}{\pageref{last@page}}}{% + \small\hvsf Condensed Matter Physics,~\issue@year,\space% + Vol.~\issue@volume, No~\issue@number,\space% + \article@number:\space\pageref{last@page}% + }{% + \small\hvsf Condensed Matter Physics,~\issue@year,\space% + Vol.~\issue@volume, No~\issue@number,\space% + \article@number:\space1--\pageref{last@page}% + }% +% \article@number\space[\pageref{last@page}\space page(s)] + \\ [0.6ex] + \@ifundefined{doi@number}{\phantom{DOI:\space10.XXXX/CMP.XX.XXXXX}}% + {DOI:\space\href{http://dx.doi.org/\doi@number}{\doi@number}} +% {\doi{\doi@number}} +% \phantom{\href{http://dx.doi.org/\doi@number}{DOI:\doi@number}} +% \href{http://dx.doi.org/\doi@number}{DOI:\doi@number} + \\ [0.6ex] + \href{http://www.icmp.lviv.ua/journal}{http://www.icmp.lviv.ua/journal}}\hfill + \newlength{\@logoheight} + \newlength{\@logoysize} + \newlength{\@logodepth} + \setlength{\@logoysize}{28.4pt} + \setlength{\@logoheight}{2.5mm} + \setlength{\@logodepth}{\@logoysize} + \addtolength{\@logodepth}{-\@logoheight} + \raisebox{-\@logodepth}[\@logoheight][\@logodepth]{% + \setlength{\unitlength}{1pt}% + \begin{picture}(71.1,28.4)% + \put(0,0){\includegraphics[width=71.1pt,height=28.4pt]{cmp-logo}}% + \end{picture}% + }% + \par\vskip3pt\noindent\hrulefill\par\vskip 1ex\noindent\textsf{\bfseries\slshape\article@type}\par\vskip 2em + \noindent\null\hspace{\@titleindent}\parbox{\@titlewidth}{\raggedright% + \let \footnote \thanks + \@ifundefined{@title}{}{\print@title}% + \@ifundefined{@author}{}{\print@author}% + \@ifundefined{@address}{}{\print@address}% + \vskip 1em% + {\normalsize\hvsf\upshape \@date}% + }% + \par + \vskip 1.5em} + +\renewenvironment{abstract}{% +%%% \setcounter{page}{\start@page}\label{first@page} +% \setcounter{page}{1}\label{first@page} + \if@twocolumn + \section*{\abstractname}% + \else + \everypar{\parskip 3pt plus1pt minus2pt + \parindent=0pt\hangindent=\@titleindent\hangafter=0} + \noindent\small\hvsf\upshape\ignorespaces + \fi} + {\if@twocolumn\else\vskip 1.5em plus 0.2em \fi\upshape} + +\newcommand\keywords{\par\vskip 1ex + \noindent\raggedright\upshape{\hvsf\bfseries Key words:}\slshape\space} + +\newcommand\pacs{\par\vskip 1ex + \noindent\raggedright\upshape{\hvsf\bfseries PACS:}\slshape\space} + +\def\@copyright{} +\def\author{\@dblarg{\make@author}} +\long\def\make@author[#1]#2{\gdef\fancy@author{#1}\gdef\@author{#2}\gdef\@copyright{\copyright}} + +\def\copyright@size{\small} +\def\copyright@author{\@author} +\def\authorcopyright{\@ifnextchar[ + \iauthorcopyright{\iauthorcopyright[\small]}} +\def\iauthorcopyright[#1]#2{\gdef\copyright@size{#1} + \gdef\copyright@author{#2}} + +\def\title{\@dblarg{\make@title}} +\long\def\make@title[#1]#2{\gdef\fancy@title{#1}\gdef\@title{#2}} + +\def\address#1{\gdef\@address{#1}} +\def\addresses#1{\gdef\@address{% + \renewcommand{\labelenumi}{$^{\textsf{\footnotesize\arabic{enumi}}}$} + \setlength{\leftmargini}{0mm} + \setlength{\topsep}{0mm} + \setlength{\partopsep}{0mm} + \setlength{\parskip}{0mm} + \begin{enumerate} + \setlength{\itemsep}{0mm} + \setlength{\itemindent}{0em} + \setlength{\labelsep}{2pt} + #1 + \end{enumerate}}} +\newcommand{\addr}[1]{\item\label{#1}} + +\newcommand{\refaddr}[1]{$^{\textsf{\footnotesize\@refad{#1}}}$} + +\DeclareRobustCommand\@refad{\@@refadx} +\def\@@refadx#1{% + \let\@@refada\@empty + \@@refad{\@for\@@refadb:=#1\do + {\@@refada\def\@@refada{,\penalty\@m}% + \edef\@@refadb{\expandafter\@firstofone\@@refadb\@empty}% + \@ifundefined{r@\@@refadb}{\mbox{\reset@font\bfseries ?}% + \G@refundefinedtrue + \@latex@warning + {Address reference `\@@refadb' undefined}}% + {\hbox{\ref{\@@refadb}}}}}} +\def\@@refad#1{{#1}} + +%% Floats %% + +\long\def\@makecaption#1#2{% + \vskip\abovecaptionskip + \sbox\@tempboxa{{\small{\hvsf\bfseries #1.} #2}}% + \setlength{\@captionwidth}{0.9\hsize} + \ifdim \wd\@tempboxa >\@captionwidth + \centerline{\parbox{\@captionwidth}{\small{\hvsf\bfseries #1.} #2}} + \else + \global \@minipagefalse + \hb@xt@\@captionwidth{\hfil\box\@tempboxa\hfil}% + \fi + \vskip\belowcaptionskip} + +%% Bibliography %% + +% \renewenvironment{thebibliography}[1] +% {\section*{\refname +% \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}% +% \normalsize% +% \list{\@biblabel{\@arabic\c@enumiv}}% +% {\settowidth\labelwidth{\@biblabel{#1}}% +% \leftmargin\labelwidth +% \advance\leftmargin\labelsep +% \parsep\z@\itemsep\z@ +% \@openbib@code +% \usecounter{enumiv}% +% \let\p@enumiv\@empty +% \renewcommand\theenumiv{\@arabic\c@enumiv}}% +% \sloppy +% \clubpenalty4000 +% \@clubpenalty \clubpenalty +% \widowpenalty4000% +% \sfcode`\.\@m} +% {\def\@noitemerr +% {\@latex@warning{Empty `thebibliography' environment}}% +% \endlist\normalsize} +% %\def\@biblabel#1{#1.} + +\bibsep=0pt +\renewcommand{\bibnumfmt}[1]{#1.} +\@ifundefined{bibfont}{\newcommand{\bibfont}{\small}}{\renewcommand{\bibfont}{\small}} + +% Collapse citation numbers to ranges. + +% \newcount\@tempcntc +% \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi +% \@tempcnta\z@\@tempcntb\m@ne\def\@citea{}\@cite{\@for\@citeb:=#2\do +% {\@ifundefined +% {b@\@citeb}{\@citeo\@tempcntb\m@ne\@citea +% \def\@citea{,\penalty\@m\ }{\bf ?}\@warning +% {Citation `\@citeb' on page \thepage \space undefined}}% +% {\setbox\z@\hbox{\global\@tempcntc0\csname b@\@citeb\endcsname\relax}% +% \ifnum\@tempcntc=\z@ \@citeo\@tempcntb\m@ne +% \@citea\def\@citea{,\penalty\@m} +% \hbox{\csname b@\@citeb\endcsname}% +% \else +% \advance\@tempcntb\@ne +% \ifnum\@tempcntb=\@tempcntc +% \else\advance\@tempcntb\m@ne\@citeo +% \@tempcnta\@tempcntc\@tempcntb\@tempcntc\fi\fi}}\@citeo}{#1}} +% +% \def\@citeo{\ifnum\@tempcnta>\@tempcntb\else\@citea +% \def\@citea{,\penalty\@m}% +% \ifnum\@tempcnta=\@tempcntb\the\@tempcnta\else +% {\advance\@tempcnta\@ne\ifnum\@tempcnta=\@tempcntb \else \def\@citea{--}\fi +% \advance\@tempcnta\m@ne\the\@tempcnta\@citea\the\@tempcntb}\fi\fi} + +%% Ukrainian Part %% + +\newcommand\makeukrtitle{ + \begingroup + \if@twocolumn + \ifnum \col@number=\@ne + \@makeukrtitle + \else + \twocolumn[\@makeukrtitle]% + \fi + \else + \global\@botnum\z@ % Prevents figures from going at bottom of page. + \@makeukrtitle + \fi + \@thanks + \endgroup + \global\let\thanks\relax + \global\let\makeukrtitle\relax + \global\let\@makeukrtitle\relax + \global\let\@thanks\@empty + \global\let\@author\@empty + \global\let\@date\@empty + \global\let\@title\@empty + \global\let\title\relax + \global\let\author\relax + \global\let\date\relax + \global\let\and\relax +} +\def\print@ukrtitle{{\Large \hvsf\bfseries\upshape\mathversion{bold} \@title \par}} + +\def\@makeukrtitle{% +\par\vskip 1.5cm +\noindent\null\hspace{\@titleindent}\parbox{\@titlewidth}{\raggedright% + \let \footnote \thanks + \@ifundefined{@title}{}{\print@ukrtitle}% + \@ifundefined{@author}{}{\print@author}% + \@ifundefined{@address}{}{\print@address}% +% {\Large \hvsf \bfseries\upshape \@title \par}% +% \vskip 1em% +% {\normalsize\hvsf\upshape \@date}% + }% + \par + \vskip 1.5em} + +\newcommand{\ukrainianpart}{% + \ifx\l@ukrainian\@undefined + \@nopatterns{Ukrainian} + \adddialect\l@ukrainian0 + \fi + \language\l@ukrainian + \lefthyphenmin=2 \righthyphenmin=2 % disallow x- or -x breaks; -xx OK + \lccode`\'=`\' + \tolerance=3000 + \renewcommand{\encodingdefault}{T2A} +% \renewcommand{\sfdefault}{ppr} + \renewcommand{\sfdefault}{\cyrsf} + \fontencoding{T2A}\selectfont + \renewcommand{\addr}[1]{\item} + \long\def\make@author[##1]##2{\gdef\@author{##2}} + \long\def\make@title[##1]##2{\gdef\@title{##2}} + \def\today{\number\day\space + \ifcase\month\or + \cyrs\cyrii\cyrch\cyrn\cyrya\or + \cyrl\cyryu\cyrt\cyro\cyrg\cyro\or + \cyrb\cyre\cyrr\cyre\cyrz\cyrn\cyrya\or + \cyrk\cyrv\cyrii\cyrt\cyrn\cyrya\or + \cyrt\cyrr\cyra\cyrv\cyrn\cyrya\or + \cyrch\cyre\cyrr\cyrv\cyrn\cyrya\or + \cyrl\cyri\cyrp\cyrn\cyrya\or + \cyrs\cyre\cyrr\cyrp\cyrn\cyrya\or + \cyrv\cyre\cyrr\cyre\cyrs\cyrn\cyrya\or + \cyrzh\cyro\cyrv\cyrt\cyrn\cyrya\or + \cyrl\cyri\cyrs\cyrt\cyro\cyrp\cyra\cyrd\cyra\or + \cyrg\cyrr\cyru\cyrd\cyrn\cyrya\fi + \space\number\year} + \renewenvironment{abstract}{% + \if@twocolumn + \section*{\abstractname}% + \else + \everypar{\parskip 3pt plus1pt minus2pt + \parindent=0pt\hangindent=\@titleindent\hangafter=0} + \noindent\small\hvsf\upshape\ignorespaces + \fi} + {\lastpage\if@twocolumn\else\vskip 2em\fi\upshape + \clearpage\if@twoside \ifodd\c@page\else + \hbox{}\def\fancy@author{}\def\article@page{}\newpage\if@twocolumn\hbox{}\newpage\fi\fi\fi + } + \renewcommand\keywords{\par\vskip 1ex + \noindent\raggedright\upshape{\hvsf\bfseries + \CYRK\cyrl\cyryu\cyrch\cyro\cyrv\cyrii\space + \cyrs\cyrl\cyro\cyrv\cyra:}\slshape\space} +%% +%% +} + +\newcommand{\ukrclosing}[1]{\strut\vskip 2em\par\vskip 1.em +\strut\hfill\includegraphics{#1}\lastpage\if@twocolumn\else\vskip 2em\fi\upshape + \clearpage\if@twoside \ifodd\c@page\else + \hbox{}\def\fancy@author{}\def\article@page{}\newpage\if@twocolumn\hbox{}\newpage\fi\fi\fi} + +%% General %% + +\voffset -1in +\hoffset -1in +\textwidth 150mm +%\textheight 227mm +\textheight 646pt % = 227.0430331mm +\topmargin 30mm +\headheight 15pt +\headsep 6mm +\addtolength{\topmargin}{-\headheight} +\addtolength{\topmargin}{-\headsep} +\oddsidemargin 35mm +\setlength{\evensidemargin}{210mm} +\addtolength{\evensidemargin}{-\textwidth} +\addtolength{\evensidemargin}{-\oddsidemargin} +\baselineskip 15pt +\newlength{\@titlewidth} +\newlength{\@titleindent} +\setlength{\@titlewidth}{\textwidth} +\setlength{\@titleindent}{15mm} +\addtolength{\@titlewidth}{-\@titleindent} +\newlength{\@captionwidth} +%\setlength{\@captionwidth}{\hsize} +%\addtolength{\@captionwidth}{-2\parindent} +\renewcommand{\encodingdefault}{T1} +%\renewcommand{\sfdefault}{phv} +\renewcommand{\sfdefault}{\latsf} +\frenchspacing +\let\@afterindentfalse\@afterindenttrue + +\renewcommand\footnoterule{% + \kern-3\p@ + \hrule height 0.8pt\@width.2\columnwidth + \kern2.6\p@} + +%% Headings %% + +%\def\sfphv{\fontencoding{T1}\fontfamily{phv}\selectfont\upshape} +\def\sfphv{\fontencoding{T1}\fontfamily{\latsf}\selectfont\upshape} +\newcounter{isspage} +\def\issue@page@odd{} +\def\issue@page@even{} +\def\issuepage#1{% + \oddsidemargin 20mm% + \setlength{\evensidemargin}{210mm}% + \addtolength{\evensidemargin}{-\textwidth}% + \addtolength{\evensidemargin}{-\oddsidemargin}% + \setcounter{isspage}{#1}% + \addtocounter{isspage}{-1}% + \def\issue@page@odd{% + \stepcounter{isspage}% + {\unitlength1mm% + \begin{picture}(0,0)% +% \put(30,10){\makebox(0,0)[l]{\vrule height 20pt}}% + \put(30.5,10){\makebox(0,0)[l]{\rotatebox{90}{\textsf{\theisspage}}}}% + \end{picture}}% + }% + \def\issue@page@even{% + \stepcounter{isspage}% + {\unitlength1mm% + \begin{picture}(0,0)% +% \put(-30,10){\makebox(0,0)[l]{\vrule height 20pt}}% + \put(-30,10){\makebox(0,0)[r]{\rotatebox{90}{\textsf{\theisspage}}}}% + \end{picture}}% + }% +} + +\lhead[\fancyplain{}{}]{\fancyplain{}{\small\sfphv\fancy@title}} +\chead[\fancyplain{}{}]{\fancyplain{}{}} +\rhead[\fancyplain{}{\small\sfphv\def\refaddr##1{}\fancy@author}] + {\fancyplain{}{}} +\lfoot[\fancyplain{}{\issue@page@even\normalsize\sfphv\article@page}] + {\fancyplain{\copyright@size\@copyright\space\parbox[t]{0.9\textwidth} + {\copyright@size\sfphv\def\refaddr##1{}\copyright@author}}{}} +\cfoot[\fancyplain{}{}]{\fancyplain{}{}} +\rfoot[\fancyplain{}{}] + {\fancyplain{\normalsize\sfphv\article@page\issue@page@odd}{\normalsize\sfphv\article@page\issue@page@odd}} +\renewcommand{\headrulewidth}{0.4pt} +\renewcommand{\footrulewidth}{0.4pt} +\renewcommand{\plainheadrulewidth}{0pt} +\renewcommand{\plainfootrulewidth}{0.4pt} +\pagestyle{fancyplain} +%% +\newcommand{\rd}{\mathrm{d}} +\newcommand{\re}{\mathrm{e}} +\newcommand{\ri}{\mathrm{i}} +%\DeclareMathOperator{\Real}{Re} +%\DeclareMathOperator{\Img}{Im} +\newcommand{\Real}{\mathop{\mathgroup\symoperators Re}\nolimits} +\newcommand{\Img}{\mathop{\mathgroup\symoperators Im}\nolimits} +\renewcommand{\Re}{\Real} +\renewcommand{\Im}{\Img} +\newcommand\lastpage{\label{last@page}} +\lefthyphenmin=2 +\righthyphenmin=3 +%% +\endinput -- cgit v1.2.3