← All templates

Lietuvos matematikos rinkinys, Series B (lmdLT)

The lmdLT class of Lietuvos matematikos rinkinys, Series B, with the journal's Lithuanian-language article template and the lmd BibTeX style.

Create an account to use this
Category
Journal
Document class
lmdLT (lmdLT.cls) — ships with TeX Live
Workflow
Journal manuscript — submissions and revision rounds
Author
Lithuanian Mathematical Society / Vilnius University Press
Source
Lithuanian Mathematical Society / Vilnius University Press
Licence
lmdLT.cls: LaTeX Project Public License. The sample text is Lithuanian Mathematical Society / Vilnius University Press's, provided for authors preparing a submission.

These are the publisher’s own files. This project starts from Lithuanian Mathematical Society / Vilnius University Press’s package for this publication — their manuscript, their lmdLT.cls, their bibliography style — so what compiles here is what they would have given you.

Lithuanian Mathematical Society / Vilnius University Press serves this exact file to Lietuvos matematikos rinkinys, Series B and 1 other title. Check Lithuanian Mathematical Society / Vilnius University Press’s author pages for the current instructions.

Where this differs from the publisher’s download.

  • Note: Series B publishes in Lithuanian; the template is in Lithuanian.

What you get

  • Guide/LMD_gidas.tex · 13 KB
  • Guide/guide1-eps-converted-to.pdf · 20 KB
  • Guide/guide1.eps · 942 KB
  • Guide/guide2-eps-converted-to.pdf · 20 KB
  • Guide/guide2.eps · 943 KB
  • Guide/guide3-eps-converted-to.pdf · 20 KB
  • Guide/guide3.eps · 944 KB
  • Guide/guide4-eps-converted-to.pdf · 19 KB
  • Guide/guide4.eps · 1799 KB
  • Guide/lithuanian.ldf · 5 KB
  • Guide/lmd.bst · 25 KB
  • Guide/lmdLT.cls · 61 KB
  • LMR_A_EN/LMR_A_Template.tex · 3 KB
  • LMR_A_EN/VUPress-eps-converted-to.pdf · 35 KB
  • LMR_A_EN/cor.png · 6 KB
  • LMR_A_EN/lmd.bst · 25 KB
  • LMR_A_EN/lmdEN.cls · 63 KB
  • LMR_A_EN/lmd_pdf.def · 180 B
  • LMR_A_EN/orcid-eps-converted-to.pdf · 155 KB
  • LMR_A_EN/ror.png · 19 KB
  • LMR_A_EN/x.bib · 432 B
  • LMR_B_LT/LMR_B_Template.tex — the file that is compiled · 3 KB
  • LMR_B_LT/VUPress-eps-converted-to.pdf · 35 KB
  • LMR_B_LT/cor.png · 6 KB
  • LMR_B_LT/lmd.bst · 25 KB
  • LMR_B_LT/lmdLT.cls · 63 KB
  • LMR_B_LT/orcid-eps-converted-to.pdf · 155 KB
  • LMR_B_LT/ror.png · 19 KB
  • LMR_B_LT/x.bib · 432 B
  • Pranesimo _sablonai/main.tex · 2 KB

These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.

Journals using this template

Source

Guide/LMD_gidas.tex · 13 KB
\def\firstpage{1}
\def\lastpage{6}
\def\firstfootnote{0}
\def\nr{xx}
% lmd style needs information bellow ======================================
\def\lmdauthor{Autoriai}%Example:% F. Author\sep S. Author \and Th. Author
\def\lmdtitleEN{EN Straipsnio pavadinimas}%Example:% Title of Article
\def\lmdtitle{LT Straipsnio pavadinimas}%Example:% Straipsnio pavadinimas
\def\lmdrunauthor{Autoriai}%Example:% F. Author, S. Author , Th. Author
\def\lmdruntitle{LT trumpas straipnio pavadinimaas}%Example:% Runtitle of Article
\def\lmdkeywords{Keywords; keywords}
\def\lmdkeywordsLT{Raktiniai; žodžiai}
\def\lmdams{2N39, 2N64}

\def\lmdabstract{Santrauka EN}

\def\lmdabstractLT{ Prieš straipsnio tekstą pateikiama darbo santrauka  ta kalba, kuria rašomas
straipsnis.}

\begin{filecontents*}{lmd.00}
\c@page=1%=\firstpage
\addcontentsline{toc}{section}{}%Example:% F. Author, S. Author and Th. Author
\addcontentsline{toc}{subsection}{}%Example:% Title of Article
\newpage\
\index{Author F.}\index{Author S.}\index{Author Th.}
\end{filecontents*}
% ************* Author's  references  ******************%
\begin{filecontents*}{x.bib}
@preamble{ "\newcommand{\nosort}[1]{}" }

@BOOK{latex,
   author = "Leslie Lamport",
   title = "{\LaTeX:} {A} Document Preparation System",
   publisher = "Addison-Wesley",
   year = 1986
}

@BOOK{knygaLt,
 author={P.P. Autorius and A. Autorius and T. Autorius},
 title={ Knygos pavadinimas},
 publisher={Leidykla},
 address={Adresas},
 year={2009}
}

@BOOK{knygaEn,
 author={F.F. Author and S. Author and T. Author},
 title={ Book title},
 publisher={Publisher},
 address={Address},
 year={2009}
}

@ARTICLE{StraipsnisLt,
 author={P.P. Autorius and A. Autorius and T. Autorius},
 title={Straipsnio pavadinimas},
 journal={Žurnalas},
 volume={75},
 number={1},
 year={1995},
 pages={15-31},
 note={Pastaba}
}

@ARTICLE{StraipsnisEn,
 author={F.F. Author and S. Author and T. Author},
 title={Title of Article},
 journal={Journal},
 volume={75},
 number={1},
 year={1995},
 pages={15-31},
 note={Note}
}

@INPROCEEDINGS{inproceedingsEN,
   author = {F.F. Author and S. Author and T. Author},
   title = {Article in proceedings},
   editor = {C. Editor and S. Editor and S.A. Editor},
   booktitle = {Proc. of the  Intern. Conference, City, Country, 2009},
   series = {Series},
   pages = {1--15},
   year = {2009},
   address = {Address},
   publisher = {Publisher}
 }

@INPROCEEDINGS{KonfLeidLT,
   author = {P.P. Autorius and A. Autorius and T. Autorius},
   title = {Straipsnis konferencijos darbuose},
   editor = {C. Redaktorius and S. Redaktorius and S.A. Redaktorius},
   booktitle = {Konferencijos darbai, Miestas, Šalis, 2009},
   series = {Serija},
   pages = {1--15},
   year = {2009},
   address = {Adresas},
   publisher = {Leidykla}
 }
\end{filecontents*}
% ************* end Author's references ******************%
\documentclass{lmdLT}%lmdLT,lmdRU
\includeonly{lmd.def}
%
\include{lmd.def}
 \LMDJCLS
 \makeatletter
 \def\LMDprLT{Lietuvos matematik{\k{u}} draugijos darbai}
 \def\Received{{\k{I}}teiktas}
 \def\KeyW{Raktiniai {\v{z}}od{\v{z}}iai}
 \newtheorem{thm}{Teorema}
 \newtheorem{cor}[thm]{Išvada}
 \newtheorem{lem}[thm]{Lema}
 \newtheorem{prop}[thm]{Teiginys}
 \newtheorem{defn}[thm]{Apibrėžimas}
 \newtheorem{rem}[thm]{Pastaba}

 \spnewtheorem*{west}{Test the West}{\bfseries}{\itshape}
 \@ifundefined{BibTeX}{%
 \def\BibTeX{\mbox{{\sc Bib}\TeX}}}{}
 \makeatother
% ************* Author's  definitions  ******************%************ Author's  definitions  ******************%

% ************* end Author's definitions ******************%
\begin{document}
\bibliographystyle{lmd}
%
\begin{topmatter}
%
%\thankstext{t1}{Title thanks}
%add runauthor at beginning of Your file
%add runtitle at beginning of Your file
%add title at beginning of Your file
%add add all authors at beginning of Your file
 \title{\lmdtitle\thanks{Pastaba}}%Example:% \mmatitle\thanks{MMA Journal}
 \author{Pirmas Autorius$^\mathrm{a}$, Antras Autorius$^\mathrm{a,b}$}%Example:% F. AUTHOR${}^{1}$\sep S. AUTHOR${}^{2}$ \and Th. AUTHOR${}^{3}$
\vskip 0.2cm
 \institution{$^\mathrm{a}$Taikomosios matematikos institutas, Vilniaus Universitetas}
\address{\ \,Naugarduko 4, LT-03225 Vilnius}
\institution{$^\mathrm{b}$Matematikos ir informatikos fakultetas, Vilniaus Universitetas}
\address{\ \,Naugarduko 4, LT-03225 Vilnius}
\email{[email protected]; [email protected]}

\email{[email protected]}

\reci{2021 liepos XX}
%\recii{1 June, 2010}{1 September, 2010}%
 \end{topmatter}
\LMDJarticle %Editors version
%spell_from this point
 \begin{abstract}\lmdabstractLT\end{abstract}%add abstract at beginning of Your file
 \Keywords %add keywords at beginning of Your file
 \AMSwords %add keywords at beginning of Your file

%
% ************* Text entry area ******************%

\section*{Įvadas}
Straipsniai teikiami surinkti \LaTeX formate naudojant  \emph{LMD} stilių.
Recenzavimui pakanka pateikti straipsnio elektroninę versiją \textbf{PDF} formatu.
Redkolegijos priimtą spaudai straipsnį reikia pateikti elektroninėje versijoje
(\textbf{\LaTeX} failas su atliktais autoriaus taisymais ir jį atitinkantis \textbf{PDF}
failas bei visų pavekslėlių  \textbf{EPS} failai).

\section{Paveikslėliai ir lentelės}

\subsection{Paveikslėliai}

Visi brėžiniai pateikiami atskirai \textbf{EPS} formatu.

\begin{figure}[t]
\centering {
\begin{minipage}[t]{3.7cm}
{\includegraphics[ scale=0.45]{guide1.eps}}
\caption{ 1 paveikslėlis.}\label{fig:d1a}
\end{minipage}
\
\begin{minipage}[t]{3.7cm}
{\includegraphics[ scale=0.45]{guide2.eps}}
\caption{ 2 paveikslėlis.}\label{fig:d1b}
\end{minipage}
\
\begin{minipage}[t]{3.7cm}
{\includegraphics[ scale=0.45]{guide3.eps}}
\caption{ 3 paveikslėlis.}\label{fig:d1c}
\end{minipage}
}
\end{figure}

\begin{figure}[t]
\centering {
\begin{minipage}[t]{4.1cm}
{\includegraphics[ scale=0.5]{guide1.eps}}

\centerline{a)}
\end{minipage}
\quad
\begin{minipage}[t]{4.1cm}
{\includegraphics[ scale=0.5]{guide2.eps}}

\centerline{b)}
\end{minipage}
}
\caption{ Du paveikslėliai.}\label{fig:d2}
\end{figure}

\begin{figure}[t]
\centering {
\begin{tabular}{ccc}
{\includegraphics[ scale=0.38]{guide1.eps}}&
{\includegraphics[ scale=0.38]{guide2.eps}}&
{\includegraphics[ scale=0.38]{guide3.eps}}\\
guide1.eps & guide2.eps & guide3.eps \\
 & & \\
{\includegraphics[ scale=0.38]{guide2.eps}}&
{\includegraphics[ scale=0.38]{guide1.eps}}&
{\includegraphics[ scale=0.38]{guide2.eps}}\\
guide2.eps& guide1.eps & guide2.eps \\
\end{tabular}
\caption{ Šeši paveikslėliai lentelėje. }\label{fig:d3}
}
\end{figure}


\begin{figure}[t]
\centering {
\begin{minipage}[t]{3.6cm}
{\includegraphics[ scale=0.45]{guide1.eps}}

\centerline{1}
\end{minipage}
\quad
\begin{minipage}[t]{3.6cm}
{\includegraphics[ scale=0.45]{guide1.eps}}

\centerline{2}
\end{minipage}
\quad
\begin{minipage}[t]{3.6cm}
{\includegraphics[ scale=0.45]{guide1.eps}}

\centerline{3}
\end{minipage}
\caption{Ta pati figūra. }\label{fig:d5} }
\end{figure}

\begin{figure}[t]
\centering {
\begin{minipage}[t]{10cm}
{\includegraphics[ scale=0.6]{guide4.eps}} \caption{Vienas paveikslėlis.}\label{fig:d1g}
\end{minipage}
}
\end{figure}

Paveikslėliams įdėti naudojama standartinė \LaTeX\ {\color{green}\verb!figure!}
({\color{green}{\tt graphicx} paketas}) aplinka. Visiems EPS failams naudokite tą patį
vardą, t.y. {\color{magenta}{\tt guide.tex, guide1.eps,..., guide4.eps}}. Šio pavyzdžio
paveikslėlių originalūs išmatavimai:
\begin{quote}
\item[1)] {\color{magenta}{\tt guide1.eps}} --  8cm x 8cm,
\item[2)] {\color{magenta}{\tt guide2.eps}} --  8cm x 8cm,
\item[3)] {\color{magenta}{\tt guide3.eps}} --  8cm x 8cm,
\item[4)] {\color{magenta}{\tt guide4.eps}} -- 16cm x 8cm.
\end{quote}

Pateikti pavyzdžiai:  1) trys atskiri paveikslėliai \ref{fig:d1a}~pav., \ref{fig:d1b}~pav.,\ref{fig:d1c}~pav.;
 2) 2 susieti paveikslėliai \ref{fig:d2}~pav.;
 3) paveikslėliai lentelėje \ref{fig:d3}~pav.; 4) tie patys paveikslėliai  \ref{fig:d5}~pav.;
 5) vienas didelis paveikslėlis  \ref{fig:d1g}~pav.



Pastaba. Paveikslėlių failai priimami tik {\quotedblbase}encapsulated PostScript{\textquotedblleft} formatu
{\color{magenta}{\tt *.EPS }}!

\subsection{Lentelės}

\begin{table}[b]
\caption{Taip atrodo trijų stulpelių paprasta lentelė.}\label{t1}
 \centering
 \tabcolsep=5pt
 \vspace{2mm}
\begin{tabular}{rrr}
\boldhline
&  $a$ & $b$ \\
\hline
$x$ & 1.12 & 0.11\\
$y$ & 10.34 & 0.2\\
\boldhline
\end{tabular}
\end{table}
\begin{table}[t]
\caption{Sudėtingesnės lentelės pavyzdys.}\label{t2}
 \centering
 \tabcolsep=5pt
 \vspace{2mm}
%\raggedright \tabcolsep=5pt
\begin{tabular}{lcccccccccc}
\boldhline %\\[-1pt]
& \multicolumn{3}{c}{$f(x)$} && \multicolumn{3}{c}{$g(x)$}
&& \multicolumn{2}{c}{Metodas} \\[2pt] %
\cline{2-4}\cline{6-8}\cline{10-11}
\multicolumn{11}{l}{}\\[-7pt]
& $\infty$ & \d{3}2 & \d{1}1 && $\infty$ & \d{1}2 & \d{1}1
&& Standartinis & Modifikuotas \\
A & $\infty$ & 2105 & nėra &&  269  & 65  &
 22 && $\infty$ & 10 \\
B & 46 & \d{2}46 & 47 && \d{2}5 & \d{1}5 & \d{1}5
&& 23 & \d{1}5 \\
\boldhline
\end{tabular}
\end{table}

Naudojama standartinė \LaTeX\ {\color{green}\verb!tabular!} paketo aplinka.
\ref{t1}~lentelė yra  paprasta, o \ref{t2} lentelė sudėtingesnė.

\section{Formulės}

Tekste formulės renkamos standartiškai, pvz. tekste $a+b=x^2$;

necituojamos
\[{\sf e}^{{\sf i}\pi x}=-1;\]
cituojamos
\begin{equation}
{\sf e}^{{\sf i}\pi x}=-1,\label{eq:2}
\end{equation}
prisilaikant standartinių matematinių formulių rinkimo taisyklių.



\section{Teiginiai ir apibrėžimai}

\begin{thm}[Teoremos pavyzdys]\label{thm:1}
Teoremos tekstas.
\end{thm}

\begin{lem}[Lemos pavyzdys]\label{lem:1}
Lemos tekstas.
\end{lem}

\begin{cor}[Išvados pavyzdys]\label{cor:1}
Išvados tekstas.
\end{cor}

\begin{defn}[Apibrėžimo pavyzdys]\label{defn:1}
Apibrėžimo tekstas. \emph{Apibrėžiama sąvoka} rašoma kursyvu.
\end{defn}

\begin{rem}[Pastabos pavyzdys]\label{rem:1}
Standartiškai apibrėžtos definicijos: teorema (thm), lema (lem), išvada (cor),
apibrėžimas (defn), pastaba (rem).
\end{rem}

Jeigu Jums reikaligas kitas tipas, tuomet naudokite teiginio definiciją (prop) nurodydami
tikrą pavadinimą.

\begin{prop}[Algoritmas]\label{prop:1}
Čia Algoritmo tekstas. Skliausteliuose parašyta, kad ši dalis yra Algoritmas.
\end{prop}

\begin{rem}\label{rem:2}
Standartiniame \emph{Article} stiliuje teiginio ar apibrėžimo numeris eina po teiginio
{\quotedblbase}\textbf{\emph{Teorema 1}}{\textquotedblleft} (angl. variantas). Teikamas  į LMR žurnalą straipsnio
variantas yra darbinis, galutiniame straipsnio variante lietuviškuose straipsniuose bus
{\quotedblbase}\textbf{\emph{1 teorema.}}{\textquotedblleft} pataisyta automatiškai.
\end{rem}

\section{Citavimas}
Literatūros šaltiniai
\cite{StraipsnisEn,inproceedingsEN,knygaEn,StraipsnisLt,knygaLt,KonfLeidLT,latex} renkami
standartiniame \textbf{PLAIN} stiliuje straipsnio pradžioje. Transliuojant LaTeX ši
informacija užrašoma į failą {\color{red}x.bib}. Jeigu daromi kokie nors taisymai
literatūros sąraše, prieš transliuojant LaTeX-u, ši failą reikia pašalinti. Literatūros
šaltinius reikia būtinai cituoti su {\color{red}\verb!cite!} komanda.

\begin{rem}\label{rem:3}
Autoriaus tikslas yra
pilnai ir teisingai užpildyti {\color{red}x.bib} dalį failo  pradžioje  savo literatūros
sąrašo šaltiniais, pasinaudojant šiame faile pateiktais pavyzdžiais.
\end{rem}

\section{Šablonai ir kalba}

\LaTeX \ failai (šablonai), šis failas ir jų pdf pateikti:

straipsniams anglų kalba -- {\tt {\color{magenta}{LMD{\textunderscore}EN.tex}}},
{\color{magenta}{\tt LMD{\textunderscore}EN.pdf}} ir lmd stiliaus failas {\color{magenta}{\tt lmdEN.cls}};

straipsniams lietuvių kalba  -- {\color{magenta}{\tt LMD{\textunderscore}gidas.tex}},
{\color{magenta}{\tt LMD{\textunderscore}gidas.pdf}}, {\color{magenta}{\tt LMD{\textunderscore}LT.tex}},
{\color{magenta}{\tt LMD{\textunderscore}LT.pdf}} ir lmd stiliaus failas {\color{magenta}{\tt lmdLT.cls}}.

\

Bibliografijos stiliaus failas (tinka abiem kalboms)  {\tt {\color{magenta}{\tt lmd.bst}}}

\section{\LaTeX failo transliavimas}

Tarkime Jūsų originalaus failo vardas yra {\color{magenta}name.tex}

Teisingai sukonfiguruotoje \TeX sistemoje (pvz. TeXLive ar MiXTeX) su tvarkingai
įdiegtais lietuviškais šriftais jokių papildomų failų nereikia.



\begin{description}\item[]\begin{quote}
%
\item[1)] redaguojamas failas  {\color{magenta}name.tex};
\item[2)] naikinamas {\color{magenta}x.bib};
\item[3)] vykdoma komanda {\color{red}pdflatex name.tex} .  Gaunamas failas {\color{magenta}x.bib};
\item[4)] vykdoma komanda {\color{red}bibtex name} .     Gaunamas failas name.bbl;
\item[5)] vykdoma komanda {\color{red}pdflatex name.tex} .  Gaunamas failas {\color{magenta}name.aux};
\item[6)] vykdoma komanda {\color{red}pdflatex name.tex} .  Gaunamas failas {\color{magenta}name.pdf};
\item[9)] jei reikalinga grįžtama  į 1).
\end{quote}\vspace{0.5ex}\end{description}
%

\section{Išvados}
Patartina teikiamą straipsnį rinkti šablone, kurį galima rasti Lietuvos matematikos
rinkinio interneto puslapyje

{\color{blue}{\tt{https://www.zurnalai.vu.lt/LMR/submit-article}}}

Čia galima rasti ir \LaTeX failo rinkimo pavyzdžius. Autoriai pateikia visus savo failus
per šį internetinį puslapį.




%spell_to this point %********** End of text entry *****************
%\begin{thebibliography}{9}



%\end{thebibliography}
\vspace{-3pt}
\bibliography{x}
\vspace{-3pt}

% ----------------------------------------------------------
\Summary
\end{document}

Guide/guide1-eps-converted-to.pdf — binary, 20 KB

Guide/guide1.eps — binary, 942 KB

Guide/guide2-eps-converted-to.pdf — binary, 20 KB

Guide/guide2.eps — binary, 943 KB

Guide/guide3-eps-converted-to.pdf — binary, 20 KB

Guide/guide3.eps — binary, 944 KB

Guide/guide4-eps-converted-to.pdf — binary, 19 KB

Guide/guide4.eps — binary, 1799 KB

Guide/lithuanian.ldf — binary, 5 KB

Guide/lmd.bst · 25 KB
%%% Modification of BibTeX style file /local2/teTeX-1.0/share/texmf/bibtex/bst/base/plain.bst
%%% to add webpage entry type, and url and lastchecked fields
%%% Edits by urlbst.pl, version 0.1
%%% (marked with % urlbst.pl)
%%% Original headers follow...
% BibTeX standard bibliography style `plain'
    % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
    % Copyright (C) 1985, all rights reserved.
    % Copying of this file is authorized only if either
    % (1) you make absolutely no changes to your copy, including name, or
    % (2) if you do make changes, you name it something other than
    % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
    % This restriction helps ensure that all standard styles are identical.
    % The file btxbst.doc has the documentation for this style.

ENTRY
  { address
    author
    booktitle
    chapter
    doi
    arxiv
    doiq
    edition
    editor
    howpublished
    isbn
    issn
    institution
    journal
    key
    month
    note
    number
    organization
    pages
    publisher
    school
    series
    title
    type
    volume
    year
    url
    urlq
    lastchecked
  }
  {}
  { label }

INTEGERS { output.state before.all mid.sentence after.sentence after.block }

INTEGERS { bracket.state outside.brackets open.brackets within.brackets close.brackets } % urlbst.pl
FUNCTION {init.state.consts}
{ #0 'outside.brackets := % urlbst.pl
  #1 'open.brackets :=
  #2 'within.brackets :=
  #3 'close.brackets :=

   #0 'before.all :=
  #1 'mid.sentence :=
  #2 'after.sentence :=
  #3 'after.block :=
}

STRINGS { s t }

% urlbst.pl
FUNCTION {output.nonnull.original}
{ 's :=
  output.state mid.sentence =
    { ", " * write$ }
    { output.state after.block =
    { add.period$ write$
      newline$
      "\newblock " write$
    }
    { output.state before.all =
        'write$
        { add.period$ " " * write$ }
      if$
    }
      if$
      mid.sentence 'output.state :=
    }
  if$
  s
}

% urlbst.pl...
FUNCTION {output.nonnull}
{ % Save the thing we've been asked to output
  's :=
  % If the bracket-state is close.brackets, then add a close-bracket to what's
  % currently at the top of the stack, and set bracket.state to outside.brackets
  bracket.state close.brackets =
    { "]" *
      outside.brackets 'bracket.state :=
    }
    'skip$
  if$
  bracket.state outside.brackets =
    { % We're outside all brackets -- this is the normal situation.
      % Write out what's currently at the top of the stack, using the
      % original output.nonnull function.
      s
      output.nonnull.original
    }
    { % Still in brackets.  Add open-bracket or (continuation) comma, add the
      % new text (in s) to the top of the stack, and move to the close-brackets
      % state, ready for next time (unless inbrackets resets it).  If we come
      % into this branch, then output.state is carefully undisturbed.
      bracket.state open.brackets =
        { " [" * }
        { ", " * } % bracket.state will be within.brackets
      if$
      s *
      close.brackets 'bracket.state :=
    }
  if$
}

% Call this function just before adding something which should be presented in
% brackets.  bracket.state is handled specially within output.nonnull.
FUNCTION {inbrackets}
{ bracket.state close.brackets =
    { within.brackets 'bracket.state := } % reset the state: not open nor closed
    { open.brackets 'bracket.state := }
  if$
}


FUNCTION {new.block}
{ output.state before.all =
    'skip$
    { after.block 'output.state := }
  if$
}

FUNCTION {format.isbn}
{ isbn empty$
    { "" }
    { new.block "ISBN " isbn * }
  if$
}

FUNCTION {format.issn}
{ issn empty$
    { "" }
    { new.block "ISSN " issn * }
  if$
}

FUNCTION {format.url}
{ url empty$
    { "" }
    { new.block "Available from Internet: \url{" url * "}" * }
  if$
}

FUNCTION {format.urlq}
{ urlq empty$
    { "" }
    { new.block "Available from Internet:\newline \url{" urlq * "}" * }
  if$
}

FUNCTION {format.doi}
{ doi empty$
    { "" }
    { new.block "\doi{" doi * "}" * }
  if$
}

FUNCTION {format.arxiv}
{ arxiv empty$
    { "" }
    { new.block "Available from \arxiv{" arXiv * "}" * }
  if$
}

FUNCTION {format.doiq}
{ doiq empty$
    { "" }
    { new.block "\newline\doi{" doiq * "}" * }
  if$
}


FUNCTION {format.lastchecked}
{ lastchecked empty$
    { "" }
    { inbrackets "cited " lastchecked * }
  if$
}
%  ...% urlbst.pl

FUNCTION {output}
{ duplicate$ empty$
    'pop$
    'output.nonnull
  if$
}

FUNCTION {output.check}
{ 't :=
  duplicate$ empty$
    { pop$ "empty " t * " in " * cite$ * warning$ }
    'output.nonnull
  if$
}

FUNCTION {output.bibitem}
{ outside.brackets 'bracket.state := % urlbst.pl
   newline$
  "\bibitem{" write$
  cite$ write$
  "}" write$
  newline$
  ""
  before.all 'output.state :=
}


FUNCTION {fin.entry}
{
  bracket.state close.brackets = % urlbst.pl
    { "]" * }
    'skip$
  if$
%   add.period$
  write$
  newline$
}


FUNCTION {new.sentence}
{ output.state after.block =
    'skip$
    { output.state before.all =
    'skip$
    { after.sentence 'output.state := }
      if$
    }
  if$
}

FUNCTION {not}
{   { #0 }
    { #1 }
  if$
}

FUNCTION {and}
{   'skip$
    { pop$ #0 }
  if$
}

FUNCTION {or}
{   { pop$ #1 }
    'skip$
  if$
}

FUNCTION {new.block.checka}
{ empty$
    'skip$
    'new.block
  if$
}

FUNCTION {new.block.checkb}
{ empty$
  swap$ empty$
  and
    'skip$
    'new.block
  if$
}

FUNCTION {new.sentence.checka}
{ empty$
    'skip$
    'new.sentence
  if$
}

FUNCTION {new.sentence.checkb}
{ empty$
  swap$ empty$
  and
    'skip$
    'new.sentence
  if$
}

FUNCTION {field.or.null}
{ duplicate$ empty$
    { pop$ "" }
    'skip$
  if$
}

FUNCTION {emphasize}
{ duplicate$ empty$
    { pop$ "" }
    { "{\em " swap$ * "}" * }
  if$
}

FUNCTION {bold} { duplicate$ empty$
    { pop$ "" }
    { "{\bf " swap$ * "}" * }
  if$
}

INTEGERS { nameptr namesleft numnames }

FUNCTION {format.names}
{ 's :=
  #1 'nameptr :=
  s num.names$ 'numnames :=
  numnames 'namesleft :=
    { namesleft #0 > }
    { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
      nameptr #1 >
    { namesleft #1 >
        { ", " * t * }
        { numnames #2 >
        { "" * }
        'skip$
          if$
          t "others" =
        { " et~al." * }
        { ", " * t * }
          if$
        }
      if$
    }
    't
      if$
      nameptr #1 + 'nameptr :=
      namesleft #1 - 'namesleft :=
    }
  while$
}

FUNCTION {format.authors}
{ author empty$
    { "" }
    { author format.names }
  if$
}

FUNCTION {format.editors}
{ editor empty$
    { "" }
    { editor format.names
      editor num.names$ #1 >
    { "(Eds.)" * }
    { "(Ed.)" * }
      if$
    }
  if$
}

FUNCTION {format.title}
{ title empty$
    { "" }
    { title "t" change.case$ }
  if$
}

FUNCTION {n.dashify}
{ 't :=
  ""
    { t empty$ not }
    { t #1 #1 substring$ "-" =
    { t #1 #2 substring$ "--" = not
        { "--" *
          t #2 global.max$ substring$ 't :=
        }
        {   { t #1 #1 substring$ "-" = }
        { "-" *
          t #2 global.max$ substring$ 't :=
        }
          while$
        }
      if$
    }
    { t #1 #1 substring$ *
      t #2 global.max$ substring$ 't :=
    }
      if$
    }
  while$
}

FUNCTION {format.date}
{ year empty$
    { month empty$
    { "" }
    { "there's a month but no year in " cite$ * warning$
      month
    }
      if$
    }
    { month empty$
    'year
    { month " " * year * }
      if$
    }
  if$
}

FUNCTION {format.btitle}
{ title emphasize
}

FUNCTION {tie.or.space.connect}
{ duplicate$ text.length$ #3 <
    { "~" }
    { " " }
  if$
  swap$ * *
}

FUNCTION {either.or.check}
{ empty$
    'pop$
    { "can't use both " swap$ * " fields in " * cite$ * warning$ }
  if$
}

FUNCTION {format.bvolume}
{ volume empty$
    { "" }
    { "volume" volume tie.or.space.connect
      series empty$
    'skip$
    { " of " * series emphasize * }
      if$
      "volume and number" number either.or.check
    }
  if$
}

FUNCTION {format.number.series}
{ volume empty$
    { number empty$
    { series field.or.null }
    { output.state mid.sentence =
        { "number" }
        { "Number" }
      if$
      number tie.or.space.connect
      series empty$
        { "there's a number but no series in " cite$ * warning$ }
        { " in " * series * }
      if$
    }
      if$
    }
    { "" }
  if$
}

FUNCTION {format.edition}
{ edition empty$
    { "" }
    { output.state mid.sentence =
    { edition "l" change.case$ " edition" * }
    { edition "t" change.case$ " edition" * }
      if$
    }
  if$
}

INTEGERS { multiresult }

FUNCTION {multi.page.check}
{ 't :=
  #0 'multiresult :=
    { multiresult not
      t empty$ not
      and
    }
    { t #1 #1 substring$
      duplicate$ "-" =
      swap$ duplicate$ "," =
      swap$ "+" =
      or or
    { #1 'multiresult := }
    { t #2 global.max$ substring$ 't := }
      if$
    }
  while$
  multiresult
}

FUNCTION {format.pages}
{ pages empty$
    { "" }
    { pages multi.page.check
    { "pp." pages n.dashify tie.or.space.connect }
    { "p." pages tie.or.space.connect }
      if$
    }
  if$
}

FUNCTION {format.vol.num.pages}
{ volume bold field.or.null
  number empty$
    'skip$
    { "(" number * ")" * *
      volume empty$
    { "there's a number but no volume in " cite$ * warning$ }
    'skip$
      if$
    }
  if$
  pages empty$
    'skip$
    { duplicate$ empty$
    { pop$ format.pages }
    { ":" * pages n.dashify * }
      if$
    }
  if$
}

FUNCTION {format.chapter.pages}
{ chapter empty$
    'format.pages
    { type empty$
    { "chapter" }
    { type "l" change.case$ }
      if$
      chapter tie.or.space.connect
      pages empty$
    'skip$
    { ", " * format.pages * }
      if$
    }
  if$
}

FUNCTION {format.in.ed.booktitle}
{ booktitle empty$
    { "" }
    { editor empty$
    { "In " booktitle emphasize * }
    { "In " format.editors * ", " * booktitle emphasize * }
      if$
    }
  if$
}

FUNCTION {empty.misc.check}
{ author empty$ title empty$ howpublished empty$
  month empty$ year empty$ note empty$
  and and and and and
  key empty$ not and
    { "all relevant fields are empty in " cite$ * warning$ }
    'skip$
  if$
}

FUNCTION {format.thesis.type}
{ type empty$
    'skip$
    { pop$
      type "t" change.case$
    }
  if$
}

FUNCTION {format.tr.number}
{ type empty$
    { "Technical Report" }
    'type
  if$
  number empty$
    { "t" change.case$ }
    { number tie.or.space.connect }
  if$
}

FUNCTION {format.article.crossref}
{ key empty$
    { journal empty$
    { "need key or journal for " cite$ * " to crossref " * crossref *
      warning$
      ""
    }
    { "In {\em " journal * "\/}" * }
      if$
    }
    { "In " key * }
  if$
  " \cite{" * crossref * "}" *
}

FUNCTION {format.crossref.editor}
{ editor #1 "{vv~}{ll}" format.name$
  editor num.names$ duplicate$
  #2 >
    { pop$ " et~al." * }
    { #2 <
    'skip$
    { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
        { " et~al." * }
        { " and " * editor #2 "{vv~}{ll}" format.name$ * }
      if$
    }
      if$
    }
  if$
}

FUNCTION {format.book.crossref}
{ volume empty$
    { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
      "In "
    }
    { "Volume" volume tie.or.space.connect
      " of " *
    }
  if$
  editor empty$
  editor field.or.null author field.or.null =
  or
    { key empty$
    { series empty$
        { "need editor, key, or series for " cite$ * " to crossref " *
          crossref * warning$
          "" *
        }
        { "{\em " * series * "\/}" * }
      if$
    }
    { key * }
      if$
    }
    { format.crossref.editor * }
  if$
  " \cite{" * crossref * "}" *
}

FUNCTION {format.incoll.inproc.crossref}
{ editor empty$
  editor field.or.null author field.or.null =
  or
    { key empty$
    { booktitle empty$
        { "need editor, key, or booktitle for " cite$ * " to crossref " *
          crossref * warning$
          ""
        }
        { "In {\em " booktitle * "\/}" * }
      if$
    }
    { "In " key * }
      if$
    }
    { "In " format.crossref.editor * }
  if$
  " \cite{" * crossref * "}" *
}


FUNCTION {note.r} { note empty$
    { "$\,$"
      }
    { note  }
  if$
}


% urlbst.pl...
% Output a URL.  We can't use the more normal idiom (something like
% `format.url output'), because the `inbrackets' within
% format.lastchecked applies to everything between calls to `output',
% so that `format.url format.lastchecked * output' ends up with both
% the URL and the lastchecked in brackets.
FUNCTION {output.url}
{ url empty$
    'skip$
    { new.block
      format.url output
      format.lastchecked output
    }
  if$
}


% Webpage entry type.
% Title and url fields required;
% author, note, year, month, and lastchecked fields optional
% See references
%   ISO 690-2 http://www.nlc-bnc.ca/iso/tc46sc9/standard/690-2e.htm
%   http://www.classroom.net/classroom/CitingNetResources.html
%   http://neal.ctstateu.edu/history/cite.html
%   http://www.cas.usf.edu/english/walker/mla.html
% for citation formats for web pages.
FUNCTION {webpage}
{ output.bibitem
  author empty$
    'skip$
    { format.authors output.nonnull }
  if$
  new.block
  format.title "title" output.check
  inbrackets "online" output
  new.block
  year empty$
    'skip$
    { format.date "year" output.check }
  if$
  lastchecked empty$
    'skip$
    { format.lastchecked output }
  if$
  new.block
  format.url "url" output.check
  new.block
  note.r output
  fin.entry
}
%   ...% urlbst.pl


FUNCTION {article}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  crossref missing$
    { journal emphasize "journal" output.check
      format.vol.num.pages output
      format.date "year" output.check
    }
    { format.article.crossref output.nonnull
      format.pages output
    }
  if$
  format.issn output
  format.doi output
  format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {book}
{ output.bibitem
  author empty$
    { format.editors "author and editor" output.check }
    { format.authors output.nonnull
      crossref missing$
    { "author and editor" editor either.or.check }
    'skip$
      if$
    }
  if$
  new.block
  format.btitle "title" output.check
  crossref missing$
    { format.bvolume output
      new.block
      format.number.series output
      new.sentence
      publisher "publisher" output.check
      address output
    }
    { new.block
      format.book.crossref output.nonnull
    }
  if$
  format.edition output
  format.date "year" output.check
  format.isbn output
  format.doi output
  format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {booklet}
{ output.bibitem
  format.authors output
  new.block
  format.title "title" output.check
  howpublished address new.block.checkb
  howpublished output
  address output
  format.date output
  format.isbn output
  format.doi output
    format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {inbook}
{ output.bibitem
  author empty$
    { format.editors "author and editor" output.check }
    { format.authors output.nonnull
      crossref missing$
    { "author and editor" editor either.or.check }
    'skip$
      if$
    }
  if$
  new.block
  format.btitle "title" output.check
  crossref missing$
    { format.bvolume output
      format.chapter.pages "chapter and pages" output.check
      new.block
      format.number.series output
      new.sentence
      publisher "publisher" output.check
      address output
    }
    { format.chapter.pages "chapter and pages" output.check
      new.block
      format.book.crossref output.nonnull
    }
  if$
  format.edition output
  format.date "year" output.check
  format.isbn output
  format.doi output
    format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {incollection}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  crossref missing$
    { format.in.ed.booktitle "booktitle" output.check
      format.bvolume output
      format.number.series output
      format.chapter.pages output
      new.sentence
      publisher "publisher" output.check
      address output
      format.edition output
      format.date "year" output.check
    }
    { format.incoll.inproc.crossref output.nonnull
      format.chapter.pages output
    }
  if$
  format.isbn output
  format.doi output
    format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {inproceedings}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  crossref missing$
    { format.in.ed.booktitle "booktitle" output.check
      format.bvolume output
      format.number.series output
      format.pages output
      address empty$
    { organization publisher new.sentence.checkb
      organization output
      publisher output
      format.date "year" output.check
    }
    { address output.nonnull
      format.date "year" output.check
      new.sentence
      organization output
      publisher output
    }
      if$
    }
    { format.incoll.inproc.crossref output.nonnull
      format.pages output
    }
  if$
  format.isbn output
  format.doi output
    format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {conference} { inproceedings }

FUNCTION {manual}
{ output.bibitem
  author empty$
    { organization empty$
    'skip$
    { organization output.nonnull
      address output
    }
      if$
    }
    { format.authors output.nonnull }
  if$
  new.block
  format.btitle "title" output.check
  author empty$
    { organization empty$
    { address new.block.checka
      address output
    }
    'skip$
      if$
    }
    { organization address new.block.checkb
      organization output
      address output
    }
  if$
  format.edition output
  format.date output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {mastersthesis}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  "Master's thesis" format.thesis.type output.nonnull
  school "school" output.check
  address output
  format.date "year" output.check
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {misc}
{ output.bibitem
  format.authors output
  title howpublished new.block.checkb
  format.title output
  howpublished new.block.checka
  howpublished output
  format.date output
  format.issn output
  format.url output
  new.block
  note.r output
  fin.entry
  empty.misc.check
}


FUNCTION {phdthesis}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.btitle "title" output.check
  new.block
  "PhD thesis" format.thesis.type output.nonnull
  school "school" output.check
  address output
  format.date "year" output.check
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {proceedings}
{ output.bibitem
  editor empty$
    { organization output }
    { format.editors output.nonnull }
  if$
  new.block
  format.btitle "title" output.check
  format.bvolume output
  format.number.series output
  address empty$
    { editor empty$
    { publisher new.sentence.checka }
    { organization publisher new.sentence.checkb
      organization output
    }
      if$
      publisher output
      format.date "year" output.check
    }
    { address output.nonnull
      format.date "year" output.check
      new.sentence
      editor empty$
    'skip$
    { organization output }
      if$
      publisher output
    }
  if$
  format.isbn output
  format.doi output
    format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {techreport}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  format.tr.number output.nonnull
  institution "institution" output.check
  address output
  format.date "year" output.check
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {unpublished}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  note "note" output.check
  format.date output
  new.block
  "\!" output
  fin.entry
}

FUNCTION {default.type} { misc }

MACRO {jan} {"January"}

MACRO {feb} {"February"}

MACRO {mar} {"March"}

MACRO {apr} {"April"}

MACRO {may} {"May"}

MACRO {jun} {"June"}

MACRO {jul} {"July"}

MACRO {aug} {"August"}

MACRO {sep} {"September"}

MACRO {oct} {"October"}

MACRO {nov} {"November"}

MACRO {dec} {"December"}

MACRO {acmcs} {"ACM Computing Surveys"}

MACRO {acta} {"Acta Informatica"}

MACRO {cacm} {"Communications of the ACM"}

MACRO {ibmjrd} {"IBM Journal of Research and Development"}

MACRO {ibmsj} {"IBM Systems Journal"}

MACRO {ieeese} {"IEEE Transactions on Software Engineering"}

MACRO {ieeetc} {"IEEE Transactions on Computers"}

MACRO {ieeetcad}
 {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}

MACRO {ipl} {"Information Processing Letters"}

MACRO {jacm} {"Journal of the ACM"}

MACRO {jcss} {"Journal of Computer and System Sciences"}

MACRO {scp} {"Science of Computer Programming"}

MACRO {sicomp} {"SIAM Journal on Computing"}

MACRO {tocs} {"ACM Transactions on Computer Systems"}

MACRO {tods} {"ACM Transactions on Database Systems"}

MACRO {tog} {"ACM Transactions on Graphics"}

MACRO {toms} {"ACM Transactions on Mathematical Software"}

MACRO {toois} {"ACM Transactions on Office Information Systems"}

MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}

MACRO {tcs} {"Theoretical Computer Science"}

READ

FUNCTION {sortify}
{ purify$
  "l" change.case$
}

INTEGERS { len }

FUNCTION {chop.word}
{ 's :=
  'len :=
  s #1 len substring$ =
    { s len #1 + global.max$ substring$ }
    's
  if$
}

FUNCTION {sort.format.names}
{ 's :=
  #1 'nameptr :=
  ""
  s num.names$ 'numnames :=
  numnames 'namesleft :=
    { namesleft #0 > }
    { nameptr #1 >
    { "   " * }
    'skip$
      if$
      s nameptr "{vv{ } }{ll{ }}{  ff{ }}{  jj{ }}" format.name$ 't :=
      nameptr numnames = t "others" = and
    { "et al" * }
    { t sortify * }
      if$
      nameptr #1 + 'nameptr :=
      namesleft #1 - 'namesleft :=
    }
  while$
}

FUNCTION {sort.format.title}
{ 't :=
  "A " #2
    "An " #3
      "The " #4 t chop.word
    chop.word
  chop.word
  sortify
  #1 global.max$ substring$
}

FUNCTION {author.sort}
{ author empty$
    { key empty$
    { "to sort, need author or key in " cite$ * warning$
      ""
    }
    { key sortify }
      if$
    }
    { author sort.format.names }
  if$
}

FUNCTION {author.editor.sort}
{ author empty$
    { editor empty$
    { key empty$
        { "to sort, need author, editor, or key in " cite$ * warning$
          ""
        }
        { key sortify }
      if$
    }
    { editor sort.format.names }
      if$
    }
    { author sort.format.names }
  if$
}

FUNCTION {author.organization.sort}
{ author empty$
    { organization empty$
    { key empty$
        { "to sort, need author, organization, or key in " cite$ * warning$
          ""
        }
        { key sortify }
      if$
    }
    { "The " #4 organization chop.word sortify }
      if$
    }
    { author sort.format.names }
  if$
}

FUNCTION {editor.organization.sort}
{ editor empty$
    { organization empty$
    { key empty$
        { "to sort, need editor, organization, or key in " cite$ * warning$
          ""
        }
        { key sortify }
      if$
    }
    { "The " #4 organization chop.word sortify }
      if$
    }
    { editor sort.format.names }
  if$
}

FUNCTION {presort}
{ type$ "book" =
  type$ "inbook" =
  or
    'author.editor.sort
    { type$ "proceedings" =
    'editor.organization.sort
    { type$ "manual" =
        'author.organization.sort
        'author.sort
      if$
    }
      if$
    }
  if$
  "    "
  *
  year field.or.null sortify
  *
  "    "
  *
  title field.or.null
  sort.format.title
  *
  #1 entry.max$ substring$
  'sort.key$ :=
}

ITERATE {presort}

SORT

STRINGS { longest.label }

INTEGERS { number.label longest.label.width }

FUNCTION {initialize.longest.label}
{ "" 'longest.label :=
  #1 'number.label :=
  #0 'longest.label.width :=
}

FUNCTION {longest.label.pass}
{ number.label int.to.str$ 'label :=
  number.label #1 + 'number.label :=
  label width$ longest.label.width >
    { label 'longest.label :=
      label width$ 'longest.label.width :=
    }
    'skip$
  if$
}

EXECUTE {initialize.longest.label}

ITERATE {longest.label.pass}

FUNCTION {begin.bib}
{ preamble$ empty$
    'skip$
    { preamble$ write$ newline$ }
  if$
  "\begin{thebibliography}{"  longest.label  * "}" * write$ newline$
}

EXECUTE {begin.bib}

EXECUTE {init.state.consts}

ITERATE {call.type$}

FUNCTION {end.bib}
{ newline$
  "\end{thebibliography}" write$ newline$
}

EXECUTE {end.bib}
Guide/lmdLT.cls · 61 KB

61 KB — too long to show here. It arrives with the project.

LMR_A_EN/LMR_A_Template.tex · 3 KB
\def\firstpage{1}  
\def\lastpage{n}  
\def\lmdcorresp{[email protected]}
\def\firstfootnote{0}  
\def\nr{2025}  
% lmd style needs information bellow ======================================  
\def\lmdauthor{First Author\sep Second Author \and Third Author}%Example:% First Author\sep Second Author \and Third Author
\def\lmdtitle{Title of Article}%Example:% Title of Article  
\def\lmdtitleLT{Straipsnio pavadinimas}%Example:% Straipsnio pavadinimas  
\def\lmdrunauthor{F. Author, S. Author, Th. Author}%Example:% F. Author, S. Author , Th. Author  
\def\lmdruntitle{Runtitle of Article}%Example:% Runtitle of Article  
\def\lmdkeywords{KeyW1EN; KeyW2EN; KeyW3EN;}  
\def\lmdkeywordsLT{KeyW1LT; KeyW2LT; KeyW3LT;}  
\def\lmdams{01AMS01; 01AMS02; 01AMS03}  
   
\def\lmdabstractLT{Abstracto tekstas LT.}  
   
\def\lmdabstract{Abstract text.}  
   
% ************* Author's  references  ******************%  

% ************* end Author's references ******************%  
\documentclass{lmdEN}%lmd,lmdRU  
%\input{lmd.def.tex}  
 \LMDJCLS  
 \makeatletter  

 \spnewtheorem*{west}{Test the West}{\bfseries}{\itshape}  
 \@ifundefined{BibTeX}{%  
 \def\BibTeX{\mbox{{\sc Bib}\TeX}}}{}  
 \makeatother  
% ************* Author's  definitions  ******************%************ Author's  definitions  ******************%  
   
% ************* end Author's definitions ******************%  
\begin{document}  
\bibliographystyle{lmd}  
%  
\begin{topmatter}  
%  \sep  \and Trečias Autorius
%\thankstext{t1}{Title thanks}  
%add runauthor at beginning of Your file  
%add runtitle at beginning of Your file  
%add title at beginning of Your file  
%add add all authors at beginning of Your file  
 \title{\lmdtitle\thanks{Thanks}}%Example:% \mmatitle\thanks{Padėka}  
 \author{First Author${}^{a}\COR{\lmdcorresp}\ID{0000-0000-0000-0000}$ \sep Second Author${}^{b}$ \and 
 Third Author${}^{b}$}%Example:% First Author${}^{a}\COR{\mmacorresp}\ID{0000-0000-0000-0000}$ \sep Second Author${}^{b}$ \and Last Author${}^{b}$ 
\vskip 0.2cm  
 \institution{${}^a$Institute of Applied Mathematics, Vilnius University, Lithuania\RORID{03nadee84}}  
 \institution{${}^b$Institute of Mathematics, Vilnius University, Lithuania} 
\vskip 0.2cm   
 \Email{\lmdcorresp}
 \email{[email protected]}  
   
\reci{January 1, 20XX}  
%\recii{1 June, 2010}{1 September, 2010}%  
 \end{topmatter}  
%\LMDJarticle %Editors version  
%spell_from this point  
\vspace{-6mm}  
 \begin{abstract}\lmdabstract\end{abstract}%add abstract at beginning of Your file  
 \Keywords %add keywords at beginning of Your file  
 \AMSwords %add keywords at beginning of Your file  
\vspace{-4mm}  
%  
% ************* Text entry area ******************%  

\section{Introduction}



Article text \cite{articleID,BookID}.

%spell_to this point %********** End of text entry *****************%  
%\begin{thebibliography}{9}  
%\end{thebibliography}  




\vspace{-3pt}  
\bibliography{x}  
\vspace{-3pt}  
% ---------------------------------------  
\Summary  
\end{document}  
   
   

LMR_A_EN/VUPress-eps-converted-to.pdf — binary, 35 KB

LMR_A_EN/cor.png — binary, 6 KB

LMR_A_EN/lmd.bst · 25 KB
%%% Modification of BibTeX style file /local2/teTeX-1.0/share/texmf/bibtex/bst/base/plain.bst
%%% to add webpage entry type, and url and lastchecked fields
%%% Edits by urlbst.pl, version 0.1
%%% (marked with % urlbst.pl)
%%% Original headers follow...
% BibTeX standard bibliography style `plain'
    % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
    % Copyright (C) 1985, all rights reserved.
    % Copying of this file is authorized only if either
    % (1) you make absolutely no changes to your copy, including name, or
    % (2) if you do make changes, you name it something other than
    % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
    % This restriction helps ensure that all standard styles are identical.
    % The file btxbst.doc has the documentation for this style.

ENTRY
  { address
    author
    booktitle
    chapter
    doi
    arxiv
    doiq
    edition
    editor
    howpublished
    isbn
    issn
    institution
    journal
    key
    month
    note
    number
    organization
    pages
    publisher
    school
    series
    title
    type
    volume
    year
    url
    urlq
    lastchecked
  }
  {}
  { label }

INTEGERS { output.state before.all mid.sentence after.sentence after.block }

INTEGERS { bracket.state outside.brackets open.brackets within.brackets close.brackets } % urlbst.pl
FUNCTION {init.state.consts}
{ #0 'outside.brackets := % urlbst.pl
  #1 'open.brackets :=
  #2 'within.brackets :=
  #3 'close.brackets :=

   #0 'before.all :=
  #1 'mid.sentence :=
  #2 'after.sentence :=
  #3 'after.block :=
}

STRINGS { s t }

% urlbst.pl
FUNCTION {output.nonnull.original}
{ 's :=
  output.state mid.sentence =
    { ", " * write$ }
    { output.state after.block =
    { add.period$ write$
      newline$
      "\newblock " write$
    }
    { output.state before.all =
        'write$
        { add.period$ " " * write$ }
      if$
    }
      if$
      mid.sentence 'output.state :=
    }
  if$
  s
}

% urlbst.pl...
FUNCTION {output.nonnull}
{ % Save the thing we've been asked to output
  's :=
  % If the bracket-state is close.brackets, then add a close-bracket to what's
  % currently at the top of the stack, and set bracket.state to outside.brackets
  bracket.state close.brackets =
    { "]" *
      outside.brackets 'bracket.state :=
    }
    'skip$
  if$
  bracket.state outside.brackets =
    { % We're outside all brackets -- this is the normal situation.
      % Write out what's currently at the top of the stack, using the
      % original output.nonnull function.
      s
      output.nonnull.original
    }
    { % Still in brackets.  Add open-bracket or (continuation) comma, add the
      % new text (in s) to the top of the stack, and move to the close-brackets
      % state, ready for next time (unless inbrackets resets it).  If we come
      % into this branch, then output.state is carefully undisturbed.
      bracket.state open.brackets =
        { " [" * }
        { ", " * } % bracket.state will be within.brackets
      if$
      s *
      close.brackets 'bracket.state :=
    }
  if$
}

% Call this function just before adding something which should be presented in
% brackets.  bracket.state is handled specially within output.nonnull.
FUNCTION {inbrackets}
{ bracket.state close.brackets =
    { within.brackets 'bracket.state := } % reset the state: not open nor closed
    { open.brackets 'bracket.state := }
  if$
}


FUNCTION {new.block}
{ output.state before.all =
    'skip$
    { after.block 'output.state := }
  if$
}

FUNCTION {format.isbn}
{ isbn empty$
    { "" }
    { new.block "ISBN " isbn * }
  if$
}

FUNCTION {format.issn}
{ issn empty$
    { "" }
    { new.block "ISSN " issn * }
  if$
}

FUNCTION {format.url}
{ url empty$
    { "" }
    { new.block "\url{" url * "}" * }
  if$
}

FUNCTION {format.urlq}
{ urlq empty$
    { "" }
    { new.block "\newline \url{" urlq * "}" * }
  if$
}

FUNCTION {format.doi}
{ doi empty$
    { "" }
    { new.block "\doi{" doi * "}" * }
  if$
}

FUNCTION {format.arxiv}
{ arxiv empty$
    { "" }
    { new.block "\arxiv{" arXiv * "}" * }
  if$
}

FUNCTION {format.doiq}
{ doiq empty$
    { "" }
    { new.block "\newline\doi{" doiq * "}" * }
  if$
}


FUNCTION {format.lastchecked}
{ lastchecked empty$
    { "" }
    { inbrackets "cited " lastchecked * }
  if$
}
%  ...% urlbst.pl

FUNCTION {output}
{ duplicate$ empty$
    'pop$
    'output.nonnull
  if$
}

FUNCTION {output.check}
{ 't :=
  duplicate$ empty$
    { pop$ "empty " t * " in " * cite$ * warning$ }
    'output.nonnull
  if$
}

FUNCTION {output.bibitem}
{ outside.brackets 'bracket.state := % urlbst.pl
   newline$
  "\bibitem{" write$
  cite$ write$
  "}" write$
  newline$
  ""
  before.all 'output.state :=
}


FUNCTION {fin.entry}
{
  bracket.state close.brackets = % urlbst.pl
    { "]" * }
    'skip$
  if$
%   add.period$
  write$
  newline$
}


FUNCTION {new.sentence}
{ output.state after.block =
    'skip$
    { output.state before.all =
    'skip$
    { after.sentence 'output.state := }
      if$
    }
  if$
}

FUNCTION {not}
{   { #0 }
    { #1 }
  if$
}

FUNCTION {and}
{   'skip$
    { pop$ #0 }
  if$
}

FUNCTION {or}
{   { pop$ #1 }
    'skip$
  if$
}

FUNCTION {new.block.checka}
{ empty$
    'skip$
    'new.block
  if$
}

FUNCTION {new.block.checkb}
{ empty$
  swap$ empty$
  and
    'skip$
    'new.block
  if$
}

FUNCTION {new.sentence.checka}
{ empty$
    'skip$
    'new.sentence
  if$
}

FUNCTION {new.sentence.checkb}
{ empty$
  swap$ empty$
  and
    'skip$
    'new.sentence
  if$
}

FUNCTION {field.or.null}
{ duplicate$ empty$
    { pop$ "" }
    'skip$
  if$
}

FUNCTION {emphasize}
{ duplicate$ empty$
    { pop$ "" }
    { "{\em " swap$ * "}" * }
  if$
}

FUNCTION {bold} { duplicate$ empty$
    { pop$ "" }
    { "{\bf " swap$ * "}" * }
  if$
}

INTEGERS { nameptr namesleft numnames }

FUNCTION {format.names}
{ 's :=
  #1 'nameptr :=
  s num.names$ 'numnames :=
  numnames 'namesleft :=
    { namesleft #0 > }
    { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
      nameptr #1 >
    { namesleft #1 >
        { ", " * t * }
        { numnames #2 >
        { "" * }
        'skip$
          if$
          t "others" =
        { " et~al." * }
        { ", " * t * }
          if$
        }
      if$
    }
    't
      if$
      nameptr #1 + 'nameptr :=
      namesleft #1 - 'namesleft :=
    }
  while$
}

FUNCTION {format.authors}
{ author empty$
    { "" }
    { author format.names }
  if$
}

FUNCTION {format.editors}
{ editor empty$
    { "" }
    { editor format.names
      editor num.names$ #1 >
    { "(Eds.)" * }
    { "(Ed.)" * }
      if$
    }
  if$
}

FUNCTION {format.title}
{ title empty$
    { "" }
    { title "t" change.case$ }
  if$
}

FUNCTION {n.dashify}
{ 't :=
  ""
    { t empty$ not }
    { t #1 #1 substring$ "-" =
    { t #1 #2 substring$ "--" = not
        { "--" *
          t #2 global.max$ substring$ 't :=
        }
        {   { t #1 #1 substring$ "-" = }
        { "-" *
          t #2 global.max$ substring$ 't :=
        }
          while$
        }
      if$
    }
    { t #1 #1 substring$ *
      t #2 global.max$ substring$ 't :=
    }
      if$
    }
  while$
}

FUNCTION {format.date}
{ year empty$
    { month empty$
    { "" }
    { "there's a month but no year in " cite$ * warning$
      month
    }
      if$
    }
    { month empty$
    'year
    { month " " * year * }
      if$
    }
  if$
}

FUNCTION {format.btitle}
{ title emphasize
}

FUNCTION {tie.or.space.connect}
{ duplicate$ text.length$ #3 <
    { "~" }
    { " " }
  if$
  swap$ * *
}

FUNCTION {either.or.check}
{ empty$
    'pop$
    { "can't use both " swap$ * " fields in " * cite$ * warning$ }
  if$
}

FUNCTION {format.bvolume}
{ volume empty$
    { "" }
    { "volume" volume tie.or.space.connect
      series empty$
    'skip$
    { " of " * series emphasize * }
      if$
      "volume and number" number either.or.check
    }
  if$
}

FUNCTION {format.number.series}
{ volume empty$
    { number empty$
    { series field.or.null }
    { output.state mid.sentence =
        { "number" }
        { "Number" }
      if$
      number tie.or.space.connect
      series empty$
        { "there's a number but no series in " cite$ * warning$ }
        { " in " * series * }
      if$
    }
      if$
    }
    { "" }
  if$
}

FUNCTION {format.edition}
{ edition empty$
    { "" }
    { output.state mid.sentence =
    { edition "l" change.case$ " edition" * }
    { edition "t" change.case$ " edition" * }
      if$
    }
  if$
}

INTEGERS { multiresult }

FUNCTION {multi.page.check}
{ 't :=
  #0 'multiresult :=
    { multiresult not
      t empty$ not
      and
    }
    { t #1 #1 substring$
      duplicate$ "-" =
      swap$ duplicate$ "," =
      swap$ "+" =
      or or
    { #1 'multiresult := }
    { t #2 global.max$ substring$ 't := }
      if$
    }
  while$
  multiresult
}

FUNCTION {format.pages}
{ pages empty$
    { "" }
    { pages multi.page.check
    { "pp." pages n.dashify tie.or.space.connect }
    { "p." pages tie.or.space.connect }
      if$
    }
  if$
}

FUNCTION {format.vol.num.pages}
{ volume bold field.or.null
  number empty$
    'skip$
    { "(" number * ")" * *
      volume empty$
    { "there's a number but no volume in " cite$ * warning$ }
    'skip$
      if$
    }
  if$
  pages empty$
    'skip$
    { duplicate$ empty$
    { pop$ format.pages }
    { ":" * pages n.dashify * }
      if$
    }
  if$
}

FUNCTION {format.chapter.pages}
{ chapter empty$
    'format.pages
    { type empty$
    { "chapter" }
    { type "l" change.case$ }
      if$
      chapter tie.or.space.connect
      pages empty$
    'skip$
    { ", " * format.pages * }
      if$
    }
  if$
}

FUNCTION {format.in.ed.booktitle}
{ booktitle empty$
    { "" }
    { editor empty$
    { "In " booktitle emphasize * }
    { "In " format.editors * ", " * booktitle emphasize * }
      if$
    }
  if$
}

FUNCTION {empty.misc.check}
{ author empty$ title empty$ howpublished empty$
  month empty$ year empty$ note empty$
  and and and and and
  key empty$ not and
    { "all relevant fields are empty in " cite$ * warning$ }
    'skip$
  if$
}

FUNCTION {format.thesis.type}
{ type empty$
    'skip$
    { pop$
      type "t" change.case$
    }
  if$
}

FUNCTION {format.tr.number}
{ type empty$
    { "Technical Report" }
    'type
  if$
  number empty$
    { "t" change.case$ }
    { number tie.or.space.connect }
  if$
}

FUNCTION {format.article.crossref}
{ key empty$
    { journal empty$
    { "need key or journal for " cite$ * " to crossref " * crossref *
      warning$
      ""
    }
    { "In {\em " journal * "\/}" * }
      if$
    }
    { "In " key * }
  if$
  " \cite{" * crossref * "}" *
}

FUNCTION {format.crossref.editor}
{ editor #1 "{vv~}{ll}" format.name$
  editor num.names$ duplicate$
  #2 >
    { pop$ " et~al." * }
    { #2 <
    'skip$
    { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
        { " et~al." * }
        { " and " * editor #2 "{vv~}{ll}" format.name$ * }
      if$
    }
      if$
    }
  if$
}

FUNCTION {format.book.crossref}
{ volume empty$
    { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
      "In "
    }
    { "Volume" volume tie.or.space.connect
      " of " *
    }
  if$
  editor empty$
  editor field.or.null author field.or.null =
  or
    { key empty$
    { series empty$
        { "need editor, key, or series for " cite$ * " to crossref " *
          crossref * warning$
          "" *
        }
        { "{\em " * series * "\/}" * }
      if$
    }
    { key * }
      if$
    }
    { format.crossref.editor * }
  if$
  " \cite{" * crossref * "}" *
}

FUNCTION {format.incoll.inproc.crossref}
{ editor empty$
  editor field.or.null author field.or.null =
  or
    { key empty$
    { booktitle empty$
        { "need editor, key, or booktitle for " cite$ * " to crossref " *
          crossref * warning$
          ""
        }
        { "In {\em " booktitle * "\/}" * }
      if$
    }
    { "In " key * }
      if$
    }
    { "In " format.crossref.editor * }
  if$
  " \cite{" * crossref * "}" *
}


FUNCTION {note.r} { note empty$
    { "$\,$"
      }
    { note  }
  if$
}


% urlbst.pl...
% Output a URL.  We can't use the more normal idiom (something like
% `format.url output'), because the `inbrackets' within
% format.lastchecked applies to everything between calls to `output',
% so that `format.url format.lastchecked * output' ends up with both
% the URL and the lastchecked in brackets.
FUNCTION {output.url}
{ url empty$
    'skip$
    { new.block
      format.url output
      format.lastchecked output
    }
  if$
}


% Webpage entry type.
% Title and url fields required;
% author, note, year, month, and lastchecked fields optional
% See references
%   ISO 690-2 http://www.nlc-bnc.ca/iso/tc46sc9/standard/690-2e.htm
%   http://www.classroom.net/classroom/CitingNetResources.html
%   http://neal.ctstateu.edu/history/cite.html
%   http://www.cas.usf.edu/english/walker/mla.html
% for citation formats for web pages.
FUNCTION {webpage}
{ output.bibitem
  author empty$
    'skip$
    { format.authors output.nonnull }
  if$
  new.block
  format.title "title" output.check
  inbrackets "online" output
  new.block
  year empty$
    'skip$
    { format.date "year" output.check }
  if$
  lastchecked empty$
    'skip$
    { format.lastchecked output }
  if$
  new.block
  format.url "url" output.check
  new.block
  note.r output
  fin.entry
}
%   ...% urlbst.pl


FUNCTION {article}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  crossref missing$
    { journal emphasize "journal" output.check
      format.vol.num.pages output
      format.date "year" output.check
    }
    { format.article.crossref output.nonnull
      format.pages output
    }
  if$
  format.issn output
  format.doi output
  format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {book}
{ output.bibitem
  author empty$
    { format.editors "author and editor" output.check }
    { format.authors output.nonnull
      crossref missing$
    { "author and editor" editor either.or.check }
    'skip$
      if$
    }
  if$
  new.block
  format.btitle "title" output.check
  crossref missing$
    { format.bvolume output
      new.block
      format.number.series output
      new.sentence
      publisher "publisher" output.check
      address output
    }
    { new.block
      format.book.crossref output.nonnull
    }
  if$
  format.edition output
  format.date "year" output.check
  format.isbn output
  format.doi output
  format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {booklet}
{ output.bibitem
  format.authors output
  new.block
  format.title "title" output.check
  howpublished address new.block.checkb
  howpublished output
  address output
  format.date output
  format.isbn output
  format.doi output
    format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {inbook}
{ output.bibitem
  author empty$
    { format.editors "author and editor" output.check }
    { format.authors output.nonnull
      crossref missing$
    { "author and editor" editor either.or.check }
    'skip$
      if$
    }
  if$
  new.block
  format.btitle "title" output.check
  crossref missing$
    { format.bvolume output
      format.chapter.pages "chapter and pages" output.check
      new.block
      format.number.series output
      new.sentence
      publisher "publisher" output.check
      address output
    }
    { format.chapter.pages "chapter and pages" output.check
      new.block
      format.book.crossref output.nonnull
    }
  if$
  format.edition output
  format.date "year" output.check
  format.isbn output
  format.doi output
    format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {incollection}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  crossref missing$
    { format.in.ed.booktitle "booktitle" output.check
      format.bvolume output
      format.number.series output
      format.chapter.pages output
      new.sentence
      publisher "publisher" output.check
      address output
      format.edition output
      format.date "year" output.check
    }
    { format.incoll.inproc.crossref output.nonnull
      format.chapter.pages output
    }
  if$
  format.isbn output
  format.doi output
    format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {inproceedings}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  crossref missing$
    { format.in.ed.booktitle "booktitle" output.check
      format.bvolume output
      format.number.series output
      format.pages output
      address empty$
    { organization publisher new.sentence.checkb
      organization output
      publisher output
      format.date "year" output.check
    }
    { address output.nonnull
      format.date "year" output.check
      new.sentence
      organization output
      publisher output
    }
      if$
    }
    { format.incoll.inproc.crossref output.nonnull
      format.pages output
    }
  if$
  format.isbn output
  format.doi output
    format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {conference} { inproceedings }

FUNCTION {manual}
{ output.bibitem
  author empty$
    { organization empty$
    'skip$
    { organization output.nonnull
      address output
    }
      if$
    }
    { format.authors output.nonnull }
  if$
  new.block
  format.btitle "title" output.check
  author empty$
    { organization empty$
    { address new.block.checka
      address output
    }
    'skip$
      if$
    }
    { organization address new.block.checkb
      organization output
      address output
    }
  if$
  format.edition output
  format.date output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {mastersthesis}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  "Master's thesis" format.thesis.type output.nonnull
  school "school" output.check
  address output
  format.date "year" output.check
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {misc}
{ output.bibitem
  format.authors output
  title howpublished new.block.checkb
  format.title output
  howpublished new.block.checka
  howpublished output
  format.date output
  format.issn output
  format.url output
  new.block
  note.r output
  fin.entry
  empty.misc.check
}


FUNCTION {phdthesis}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.btitle "title" output.check
  new.block
  "PhD thesis" format.thesis.type output.nonnull
  school "school" output.check
  address output
  format.date "year" output.check
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {proceedings}
{ output.bibitem
  editor empty$
    { organization output }
    { format.editors output.nonnull }
  if$
  new.block
  format.btitle "title" output.check
  format.bvolume output
  format.number.series output
  address empty$
    { editor empty$
    { publisher new.sentence.checka }
    { organization publisher new.sentence.checkb
      organization output
    }
      if$
      publisher output
      format.date "year" output.check
    }
    { address output.nonnull
      format.date "year" output.check
      new.sentence
      editor empty$
    'skip$
    { organization output }
      if$
      publisher output
    }
  if$
  format.isbn output
  format.doi output
    format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {techreport}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  format.tr.number output.nonnull
  institution "institution" output.check
  address output
  format.date "year" output.check
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {unpublished}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  note "note" output.check
  format.date output
  new.block
  "\!" output
  fin.entry
}

FUNCTION {default.type} { misc }

MACRO {jan} {"January"}

MACRO {feb} {"February"}

MACRO {mar} {"March"}

MACRO {apr} {"April"}

MACRO {may} {"May"}

MACRO {jun} {"June"}

MACRO {jul} {"July"}

MACRO {aug} {"August"}

MACRO {sep} {"September"}

MACRO {oct} {"October"}

MACRO {nov} {"November"}

MACRO {dec} {"December"}

MACRO {acmcs} {"ACM Computing Surveys"}

MACRO {acta} {"Acta Informatica"}

MACRO {cacm} {"Communications of the ACM"}

MACRO {ibmjrd} {"IBM Journal of Research and Development"}

MACRO {ibmsj} {"IBM Systems Journal"}

MACRO {ieeese} {"IEEE Transactions on Software Engineering"}

MACRO {ieeetc} {"IEEE Transactions on Computers"}

MACRO {ieeetcad}
 {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}

MACRO {ipl} {"Information Processing Letters"}

MACRO {jacm} {"Journal of the ACM"}

MACRO {jcss} {"Journal of Computer and System Sciences"}

MACRO {scp} {"Science of Computer Programming"}

MACRO {sicomp} {"SIAM Journal on Computing"}

MACRO {tocs} {"ACM Transactions on Computer Systems"}

MACRO {tods} {"ACM Transactions on Database Systems"}

MACRO {tog} {"ACM Transactions on Graphics"}

MACRO {toms} {"ACM Transactions on Mathematical Software"}

MACRO {toois} {"ACM Transactions on Office Information Systems"}

MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}

MACRO {tcs} {"Theoretical Computer Science"}

READ

FUNCTION {sortify}
{ purify$
  "l" change.case$
}

INTEGERS { len }

FUNCTION {chop.word}
{ 's :=
  'len :=
  s #1 len substring$ =
    { s len #1 + global.max$ substring$ }
    's
  if$
}

FUNCTION {sort.format.names}
{ 's :=
  #1 'nameptr :=
  ""
  s num.names$ 'numnames :=
  numnames 'namesleft :=
    { namesleft #0 > }
    { nameptr #1 >
    { "   " * }
    'skip$
      if$
      s nameptr "{vv{ } }{ll{ }}{  ff{ }}{  jj{ }}" format.name$ 't :=
      nameptr numnames = t "others" = and
    { "et al" * }
    { t sortify * }
      if$
      nameptr #1 + 'nameptr :=
      namesleft #1 - 'namesleft :=
    }
  while$
}

FUNCTION {sort.format.title}
{ 't :=
  "A " #2
    "An " #3
      "The " #4 t chop.word
    chop.word
  chop.word
  sortify
  #1 global.max$ substring$
}

FUNCTION {author.sort}
{ author empty$
    { key empty$
    { "to sort, need author or key in " cite$ * warning$
      ""
    }
    { key sortify }
      if$
    }
    { author sort.format.names }
  if$
}

FUNCTION {author.editor.sort}
{ author empty$
    { editor empty$
    { key empty$
        { "to sort, need author, editor, or key in " cite$ * warning$
          ""
        }
        { key sortify }
      if$
    }
    { editor sort.format.names }
      if$
    }
    { author sort.format.names }
  if$
}

FUNCTION {author.organization.sort}
{ author empty$
    { organization empty$
    { key empty$
        { "to sort, need author, organization, or key in " cite$ * warning$
          ""
        }
        { key sortify }
      if$
    }
    { "The " #4 organization chop.word sortify }
      if$
    }
    { author sort.format.names }
  if$
}

FUNCTION {editor.organization.sort}
{ editor empty$
    { organization empty$
    { key empty$
        { "to sort, need editor, organization, or key in " cite$ * warning$
          ""
        }
        { key sortify }
      if$
    }
    { "The " #4 organization chop.word sortify }
      if$
    }
    { editor sort.format.names }
  if$
}

FUNCTION {presort}
{ type$ "book" =
  type$ "inbook" =
  or
    'author.editor.sort
    { type$ "proceedings" =
    'editor.organization.sort
    { type$ "manual" =
        'author.organization.sort
        'author.sort
      if$
    }
      if$
    }
  if$
  "    "
  *
  year field.or.null sortify
  *
  "    "
  *
  title field.or.null
  sort.format.title
  *
  #1 entry.max$ substring$
  'sort.key$ :=
}

ITERATE {presort}

SORT

STRINGS { longest.label }

INTEGERS { number.label longest.label.width }

FUNCTION {initialize.longest.label}
{ "" 'longest.label :=
  #1 'number.label :=
  #0 'longest.label.width :=
}

FUNCTION {longest.label.pass}
{ number.label int.to.str$ 'label :=
  number.label #1 + 'number.label :=
  label width$ longest.label.width >
    { label 'longest.label :=
      label width$ 'longest.label.width :=
    }
    'skip$
  if$
}

EXECUTE {initialize.longest.label}

ITERATE {longest.label.pass}

FUNCTION {begin.bib}
{ preamble$ empty$
    'skip$
    { preamble$ write$ newline$ }
  if$
  "\begin{thebibliography}{"  longest.label  * "}" * write$ newline$
}

EXECUTE {begin.bib}

EXECUTE {init.state.consts}

ITERATE {call.type$}

FUNCTION {end.bib}
{ newline$
  "\end{thebibliography}" write$ newline$
}

EXECUTE {end.bib}
LMR_A_EN/lmdEN.cls · 63 KB

63 KB — too long to show here. It arrives with the project.

LMR_A_EN/lmd_pdf.def · 180 B
\hypersetup{
pdftitle={\lmdtitle},
pdfauthor={\lmdauthor},
pdfsubject={\emph{Liet.mat.rink. Proc. LMS}, \lmdvolume:\firstpage-\lastpage, 20\lmdyear.},
pdfkeywords={\lmdkeywords}
}

LMR_A_EN/orcid-eps-converted-to.pdf — binary, 155 KB

LMR_A_EN/ror.png — binary, 19 KB

LMR_A_EN/x.bib · 432 B
@preamble{ "\newcommand{\nosort}[1]{}" }


@ARTICLE{articleID,
  AUTHOR =       {Author},
  TITLE =        {Title},
  JOURNAL =      {Journal},
  YEAR =         {2025},
  volume =       {1},
  number =       {2},
  pages =        {3--6},
  doi =          {0024.2222},
}

@BOOK{BookID,
  AUTHOR =       {Author },
  TITLE =        {Book Title },
  PUBLISHER =    {Publisher},
  YEAR =         {2025},
  address =      {address},
}


LMR_B_LT/LMR_B_Template.tex — the file that is compiled · 3 KB
\def\firstpage{1}  
\def\lastpage{n}  
\def\lmdcorresp{[email protected]}
\def\firstfootnote{0}  
\def\nr{2025}  
% lmd style needs information bellow ======================================  
\def\lmdauthor{Pirmas Autorius\sep Antras Autorius \and Trečias Autorius}%Example:% First Author\sep Second Author \and Third Author
\def\lmdtitleEN{Title of Article}%Example:% Title of Article  
\def\lmdtitle{Straipsnio pavadinimas}%Example:% Straipsnio pavadinimas  
\def\lmdrunauthor{P. Autorius, A. Autorius, T. Autorius  }%Example:% F. Author, S. Author , Th. Author  
\def\lmdruntitle{Straipsnio pavadininimas trumpai}%Example:% Runtitle of Article  
\def\lmdkeywords{KeyW1EN; KeyW2EN; KeyW3EN;}  
\def\lmdkeywordsLT{KeyW1LT; KeyW2LT; KeyW3LT;}  
\def\lmdams{01AMS01; 01AMS02; 01AMS03}  
   
\def\lmdabstract{Abstract text EN.}  
   
\def\lmdabstractLT{Santraukos tekstas.}  
   
% ************* Author's  references  ******************%  

% ************* end Author's references ******************%  
\documentclass{lmdLT}%lmd,lmdRU  
%\input{lmd.def.tex}  
 \LMDJCLS  
 \makeatletter  
   
 \spnewtheorem*{west}{Test the West}{\bfseries}{\itshape}  
 \@ifundefined{BibTeX}{%  
 \def\BibTeX{\mbox{{\sc Bib}\TeX}}}{}  
 \makeatother  
% ************* Author's  definitions  ******************%************ Author's  definitions  ******************%  
   
% ************* end Author's definitions ******************%  
\begin{document}  
\bibliographystyle{lmd}  
%  
\begin{topmatter}  
%  \sep  \and Trečias Autorius
%\thankstext{t1}{Title thanks}  
%add runauthor at beginning of Your file  
%add runtitle at beginning of Your file  
%add title at beginning of Your file  
%add add all authors at beginning of Your file  
 \title{Your paper}%Example:% \mmatitle\thanks{Padėka}  
 \author{Pirmas Autorius${}^{a}\COR{\lmdcorresp}\ID{0000-0000-0000-0000}$ \sep Antras Autorius${}^{b}$ \and Trečias Autorius${}^{b}$}%Example:% First Author${}^{a}\COR{\lmdcorresp}\ID{0000-0000-0000-0000}$ \sep Second Author${}^{b}$ \and Last Author${}^{b}$ 
\vskip 0.2cm  
 \institution{${}^a$Taikomosios matematikos institutas, Vilniaus universitetas, Lietuva\RORID{03nadee84}}  
 \institution{${}^b$Matematikos institutas, Vilniaus universitetas, Lietuva} 
\vskip 0.2cm   
 \Email{\lmdcorresp}
 \email{[email protected]}  
   
\reci{20XX sausio 1}  
%\recii{1 June, 2010}{1 September, 2010}%  
 \end{topmatter}  
%\LMDJarticle %Editors version  
%spell_from this point  
\vspace{-6mm}  
 \begin{abstract}\lmdabstractLT\end{abstract}%add abstract at beginning of Your file  
 \Keywords %add keywords at beginning of Your file  
 \AMSwords %add keywords at beginning of Your file  
\vspace{-4mm}  
%  
% ************* Text entry area ******************%  

\section{Įvadas}



Straipsnio tekstas \cite{articleID,BookID}.

%spell_to this point %********** End of text entry *****************%  
%\begin{thebibliography}{9}  
%\end{thebibliography}  




\vspace{-3pt}  
\bibliography{x}  
\vspace{-3pt}  
% ---------------------------------------  
\Summary  
\end{document}  
   
   

LMR_B_LT/VUPress-eps-converted-to.pdf — binary, 35 KB

LMR_B_LT/cor.png — binary, 6 KB

LMR_B_LT/lmd.bst · 25 KB
%%% Modification of BibTeX style file /local2/teTeX-1.0/share/texmf/bibtex/bst/base/plain.bst
%%% to add webpage entry type, and url and lastchecked fields
%%% Edits by urlbst.pl, version 0.1
%%% (marked with % urlbst.pl)
%%% Original headers follow...
% BibTeX standard bibliography style `plain'
    % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
    % Copyright (C) 1985, all rights reserved.
    % Copying of this file is authorized only if either
    % (1) you make absolutely no changes to your copy, including name, or
    % (2) if you do make changes, you name it something other than
    % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst.
    % This restriction helps ensure that all standard styles are identical.
    % The file btxbst.doc has the documentation for this style.

ENTRY
  { address
    author
    booktitle
    chapter
    doi
    arxiv
    doiq
    edition
    editor
    howpublished
    isbn
    issn
    institution
    journal
    key
    month
    note
    number
    organization
    pages
    publisher
    school
    series
    title
    type
    volume
    year
    url
    urlq
    lastchecked
  }
  {}
  { label }

INTEGERS { output.state before.all mid.sentence after.sentence after.block }

INTEGERS { bracket.state outside.brackets open.brackets within.brackets close.brackets } % urlbst.pl
FUNCTION {init.state.consts}
{ #0 'outside.brackets := % urlbst.pl
  #1 'open.brackets :=
  #2 'within.brackets :=
  #3 'close.brackets :=

   #0 'before.all :=
  #1 'mid.sentence :=
  #2 'after.sentence :=
  #3 'after.block :=
}

STRINGS { s t }

% urlbst.pl
FUNCTION {output.nonnull.original}
{ 's :=
  output.state mid.sentence =
    { ", " * write$ }
    { output.state after.block =
    { add.period$ write$
      newline$
      "\newblock " write$
    }
    { output.state before.all =
        'write$
        { add.period$ " " * write$ }
      if$
    }
      if$
      mid.sentence 'output.state :=
    }
  if$
  s
}

% urlbst.pl...
FUNCTION {output.nonnull}
{ % Save the thing we've been asked to output
  's :=
  % If the bracket-state is close.brackets, then add a close-bracket to what's
  % currently at the top of the stack, and set bracket.state to outside.brackets
  bracket.state close.brackets =
    { "]" *
      outside.brackets 'bracket.state :=
    }
    'skip$
  if$
  bracket.state outside.brackets =
    { % We're outside all brackets -- this is the normal situation.
      % Write out what's currently at the top of the stack, using the
      % original output.nonnull function.
      s
      output.nonnull.original
    }
    { % Still in brackets.  Add open-bracket or (continuation) comma, add the
      % new text (in s) to the top of the stack, and move to the close-brackets
      % state, ready for next time (unless inbrackets resets it).  If we come
      % into this branch, then output.state is carefully undisturbed.
      bracket.state open.brackets =
        { " [" * }
        { ", " * } % bracket.state will be within.brackets
      if$
      s *
      close.brackets 'bracket.state :=
    }
  if$
}

% Call this function just before adding something which should be presented in
% brackets.  bracket.state is handled specially within output.nonnull.
FUNCTION {inbrackets}
{ bracket.state close.brackets =
    { within.brackets 'bracket.state := } % reset the state: not open nor closed
    { open.brackets 'bracket.state := }
  if$
}


FUNCTION {new.block}
{ output.state before.all =
    'skip$
    { after.block 'output.state := }
  if$
}

FUNCTION {format.isbn}
{ isbn empty$
    { "" }
    { new.block "ISBN " isbn * }
  if$
}

FUNCTION {format.issn}
{ issn empty$
    { "" }
    { new.block "ISSN " issn * }
  if$
}

FUNCTION {format.url}
{ url empty$
    { "" }
    { new.block "\url{" url * "}" * }
  if$
}

FUNCTION {format.urlq}
{ urlq empty$
    { "" }
    { new.block "\newline \url{" urlq * "}" * }
  if$
}

FUNCTION {format.doi}
{ doi empty$
    { "" }
    { new.block "\doi{" doi * "}" * }
  if$
}

FUNCTION {format.arxiv}
{ arxiv empty$
    { "" }
    { new.block "\arxiv{" arXiv * "}" * }
  if$
}

FUNCTION {format.doiq}
{ doiq empty$
    { "" }
    { new.block "\newline\doi{" doiq * "}" * }
  if$
}


FUNCTION {format.lastchecked}
{ lastchecked empty$
    { "" }
    { inbrackets "cited " lastchecked * }
  if$
}
%  ...% urlbst.pl

FUNCTION {output}
{ duplicate$ empty$
    'pop$
    'output.nonnull
  if$
}

FUNCTION {output.check}
{ 't :=
  duplicate$ empty$
    { pop$ "empty " t * " in " * cite$ * warning$ }
    'output.nonnull
  if$
}

FUNCTION {output.bibitem}
{ outside.brackets 'bracket.state := % urlbst.pl
   newline$
  "\bibitem{" write$
  cite$ write$
  "}" write$
  newline$
  ""
  before.all 'output.state :=
}


FUNCTION {fin.entry}
{
  bracket.state close.brackets = % urlbst.pl
    { "]" * }
    'skip$
  if$
%   add.period$
  write$
  newline$
}


FUNCTION {new.sentence}
{ output.state after.block =
    'skip$
    { output.state before.all =
    'skip$
    { after.sentence 'output.state := }
      if$
    }
  if$
}

FUNCTION {not}
{   { #0 }
    { #1 }
  if$
}

FUNCTION {and}
{   'skip$
    { pop$ #0 }
  if$
}

FUNCTION {or}
{   { pop$ #1 }
    'skip$
  if$
}

FUNCTION {new.block.checka}
{ empty$
    'skip$
    'new.block
  if$
}

FUNCTION {new.block.checkb}
{ empty$
  swap$ empty$
  and
    'skip$
    'new.block
  if$
}

FUNCTION {new.sentence.checka}
{ empty$
    'skip$
    'new.sentence
  if$
}

FUNCTION {new.sentence.checkb}
{ empty$
  swap$ empty$
  and
    'skip$
    'new.sentence
  if$
}

FUNCTION {field.or.null}
{ duplicate$ empty$
    { pop$ "" }
    'skip$
  if$
}

FUNCTION {emphasize}
{ duplicate$ empty$
    { pop$ "" }
    { "{\em " swap$ * "}" * }
  if$
}

FUNCTION {bold} { duplicate$ empty$
    { pop$ "" }
    { "{\bf " swap$ * "}" * }
  if$
}

INTEGERS { nameptr namesleft numnames }

FUNCTION {format.names}
{ 's :=
  #1 'nameptr :=
  s num.names$ 'numnames :=
  numnames 'namesleft :=
    { namesleft #0 > }
    { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
      nameptr #1 >
    { namesleft #1 >
        { ", " * t * }
        { numnames #2 >
        { "" * }
        'skip$
          if$
          t "others" =
        { " et~al." * }
        { ", " * t * }
          if$
        }
      if$
    }
    't
      if$
      nameptr #1 + 'nameptr :=
      namesleft #1 - 'namesleft :=
    }
  while$
}

FUNCTION {format.authors}
{ author empty$
    { "" }
    { author format.names }
  if$
}

FUNCTION {format.editors}
{ editor empty$
    { "" }
    { editor format.names
      editor num.names$ #1 >
    { "(Eds.)" * }
    { "(Ed.)" * }
      if$
    }
  if$
}

FUNCTION {format.title}
{ title empty$
    { "" }
    { title "t" change.case$ }
  if$
}

FUNCTION {n.dashify}
{ 't :=
  ""
    { t empty$ not }
    { t #1 #1 substring$ "-" =
    { t #1 #2 substring$ "--" = not
        { "--" *
          t #2 global.max$ substring$ 't :=
        }
        {   { t #1 #1 substring$ "-" = }
        { "-" *
          t #2 global.max$ substring$ 't :=
        }
          while$
        }
      if$
    }
    { t #1 #1 substring$ *
      t #2 global.max$ substring$ 't :=
    }
      if$
    }
  while$
}

FUNCTION {format.date}
{ year empty$
    { month empty$
    { "" }
    { "there's a month but no year in " cite$ * warning$
      month
    }
      if$
    }
    { month empty$
    'year
    { month " " * year * }
      if$
    }
  if$
}

FUNCTION {format.btitle}
{ title emphasize
}

FUNCTION {tie.or.space.connect}
{ duplicate$ text.length$ #3 <
    { "~" }
    { " " }
  if$
  swap$ * *
}

FUNCTION {either.or.check}
{ empty$
    'pop$
    { "can't use both " swap$ * " fields in " * cite$ * warning$ }
  if$
}

FUNCTION {format.bvolume}
{ volume empty$
    { "" }
    { "volume" volume tie.or.space.connect
      series empty$
    'skip$
    { " of " * series emphasize * }
      if$
      "volume and number" number either.or.check
    }
  if$
}

FUNCTION {format.number.series}
{ volume empty$
    { number empty$
    { series field.or.null }
    { output.state mid.sentence =
        { "number" }
        { "Number" }
      if$
      number tie.or.space.connect
      series empty$
        { "there's a number but no series in " cite$ * warning$ }
        { " in " * series * }
      if$
    }
      if$
    }
    { "" }
  if$
}

FUNCTION {format.edition}
{ edition empty$
    { "" }
    { output.state mid.sentence =
    { edition "l" change.case$ " edition" * }
    { edition "t" change.case$ " edition" * }
      if$
    }
  if$
}

INTEGERS { multiresult }

FUNCTION {multi.page.check}
{ 't :=
  #0 'multiresult :=
    { multiresult not
      t empty$ not
      and
    }
    { t #1 #1 substring$
      duplicate$ "-" =
      swap$ duplicate$ "," =
      swap$ "+" =
      or or
    { #1 'multiresult := }
    { t #2 global.max$ substring$ 't := }
      if$
    }
  while$
  multiresult
}

FUNCTION {format.pages}
{ pages empty$
    { "" }
    { pages multi.page.check
    { "pp." pages n.dashify tie.or.space.connect }
    { "p." pages tie.or.space.connect }
      if$
    }
  if$
}

FUNCTION {format.vol.num.pages}
{ volume bold field.or.null
  number empty$
    'skip$
    { "(" number * ")" * *
      volume empty$
    { "there's a number but no volume in " cite$ * warning$ }
    'skip$
      if$
    }
  if$
  pages empty$
    'skip$
    { duplicate$ empty$
    { pop$ format.pages }
    { ":" * pages n.dashify * }
      if$
    }
  if$
}

FUNCTION {format.chapter.pages}
{ chapter empty$
    'format.pages
    { type empty$
    { "chapter" }
    { type "l" change.case$ }
      if$
      chapter tie.or.space.connect
      pages empty$
    'skip$
    { ", " * format.pages * }
      if$
    }
  if$
}

FUNCTION {format.in.ed.booktitle}
{ booktitle empty$
    { "" }
    { editor empty$
    { "In " booktitle emphasize * }
    { "In " format.editors * ", " * booktitle emphasize * }
      if$
    }
  if$
}

FUNCTION {empty.misc.check}
{ author empty$ title empty$ howpublished empty$
  month empty$ year empty$ note empty$
  and and and and and
  key empty$ not and
    { "all relevant fields are empty in " cite$ * warning$ }
    'skip$
  if$
}

FUNCTION {format.thesis.type}
{ type empty$
    'skip$
    { pop$
      type "t" change.case$
    }
  if$
}

FUNCTION {format.tr.number}
{ type empty$
    { "Technical Report" }
    'type
  if$
  number empty$
    { "t" change.case$ }
    { number tie.or.space.connect }
  if$
}

FUNCTION {format.article.crossref}
{ key empty$
    { journal empty$
    { "need key or journal for " cite$ * " to crossref " * crossref *
      warning$
      ""
    }
    { "In {\em " journal * "\/}" * }
      if$
    }
    { "In " key * }
  if$
  " \cite{" * crossref * "}" *
}

FUNCTION {format.crossref.editor}
{ editor #1 "{vv~}{ll}" format.name$
  editor num.names$ duplicate$
  #2 >
    { pop$ " et~al." * }
    { #2 <
    'skip$
    { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
        { " et~al." * }
        { " and " * editor #2 "{vv~}{ll}" format.name$ * }
      if$
    }
      if$
    }
  if$
}

FUNCTION {format.book.crossref}
{ volume empty$
    { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
      "In "
    }
    { "Volume" volume tie.or.space.connect
      " of " *
    }
  if$
  editor empty$
  editor field.or.null author field.or.null =
  or
    { key empty$
    { series empty$
        { "need editor, key, or series for " cite$ * " to crossref " *
          crossref * warning$
          "" *
        }
        { "{\em " * series * "\/}" * }
      if$
    }
    { key * }
      if$
    }
    { format.crossref.editor * }
  if$
  " \cite{" * crossref * "}" *
}

FUNCTION {format.incoll.inproc.crossref}
{ editor empty$
  editor field.or.null author field.or.null =
  or
    { key empty$
    { booktitle empty$
        { "need editor, key, or booktitle for " cite$ * " to crossref " *
          crossref * warning$
          ""
        }
        { "In {\em " booktitle * "\/}" * }
      if$
    }
    { "In " key * }
      if$
    }
    { "In " format.crossref.editor * }
  if$
  " \cite{" * crossref * "}" *
}


FUNCTION {note.r} { note empty$
    { "$\,$"
      }
    { note  }
  if$
}


% urlbst.pl...
% Output a URL.  We can't use the more normal idiom (something like
% `format.url output'), because the `inbrackets' within
% format.lastchecked applies to everything between calls to `output',
% so that `format.url format.lastchecked * output' ends up with both
% the URL and the lastchecked in brackets.
FUNCTION {output.url}
{ url empty$
    'skip$
    { new.block
      format.url output
      format.lastchecked output
    }
  if$
}


% Webpage entry type.
% Title and url fields required;
% author, note, year, month, and lastchecked fields optional
% See references
%   ISO 690-2 http://www.nlc-bnc.ca/iso/tc46sc9/standard/690-2e.htm
%   http://www.classroom.net/classroom/CitingNetResources.html
%   http://neal.ctstateu.edu/history/cite.html
%   http://www.cas.usf.edu/english/walker/mla.html
% for citation formats for web pages.
FUNCTION {webpage}
{ output.bibitem
  author empty$
    'skip$
    { format.authors output.nonnull }
  if$
  new.block
  format.title "title" output.check
  inbrackets "online" output
  new.block
  year empty$
    'skip$
    { format.date "year" output.check }
  if$
  lastchecked empty$
    'skip$
    { format.lastchecked output }
  if$
  new.block
  format.url "url" output.check
  new.block
  note.r output
  fin.entry
}
%   ...% urlbst.pl


FUNCTION {article}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  crossref missing$
    { journal emphasize "journal" output.check
      format.vol.num.pages output
      format.date "year" output.check
    }
    { format.article.crossref output.nonnull
      format.pages output
    }
  if$
  format.issn output
  format.doi output
  format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {book}
{ output.bibitem
  author empty$
    { format.editors "author and editor" output.check }
    { format.authors output.nonnull
      crossref missing$
    { "author and editor" editor either.or.check }
    'skip$
      if$
    }
  if$
  new.block
  format.btitle "title" output.check
  crossref missing$
    { format.bvolume output
      new.block
      format.number.series output
      new.sentence
      publisher "publisher" output.check
      address output
    }
    { new.block
      format.book.crossref output.nonnull
    }
  if$
  format.edition output
  format.date "year" output.check
  format.isbn output
  format.doi output
  format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {booklet}
{ output.bibitem
  format.authors output
  new.block
  format.title "title" output.check
  howpublished address new.block.checkb
  howpublished output
  address output
  format.date output
  format.isbn output
  format.doi output
    format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {inbook}
{ output.bibitem
  author empty$
    { format.editors "author and editor" output.check }
    { format.authors output.nonnull
      crossref missing$
    { "author and editor" editor either.or.check }
    'skip$
      if$
    }
  if$
  new.block
  format.btitle "title" output.check
  crossref missing$
    { format.bvolume output
      format.chapter.pages "chapter and pages" output.check
      new.block
      format.number.series output
      new.sentence
      publisher "publisher" output.check
      address output
    }
    { format.chapter.pages "chapter and pages" output.check
      new.block
      format.book.crossref output.nonnull
    }
  if$
  format.edition output
  format.date "year" output.check
  format.isbn output
  format.doi output
    format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {incollection}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  crossref missing$
    { format.in.ed.booktitle "booktitle" output.check
      format.bvolume output
      format.number.series output
      format.chapter.pages output
      new.sentence
      publisher "publisher" output.check
      address output
      format.edition output
      format.date "year" output.check
    }
    { format.incoll.inproc.crossref output.nonnull
      format.chapter.pages output
    }
  if$
  format.isbn output
  format.doi output
    format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {inproceedings}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  crossref missing$
    { format.in.ed.booktitle "booktitle" output.check
      format.bvolume output
      format.number.series output
      format.pages output
      address empty$
    { organization publisher new.sentence.checkb
      organization output
      publisher output
      format.date "year" output.check
    }
    { address output.nonnull
      format.date "year" output.check
      new.sentence
      organization output
      publisher output
    }
      if$
    }
    { format.incoll.inproc.crossref output.nonnull
      format.pages output
    }
  if$
  format.isbn output
  format.doi output
    format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {conference} { inproceedings }

FUNCTION {manual}
{ output.bibitem
  author empty$
    { organization empty$
    'skip$
    { organization output.nonnull
      address output
    }
      if$
    }
    { format.authors output.nonnull }
  if$
  new.block
  format.btitle "title" output.check
  author empty$
    { organization empty$
    { address new.block.checka
      address output
    }
    'skip$
      if$
    }
    { organization address new.block.checkb
      organization output
      address output
    }
  if$
  format.edition output
  format.date output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {mastersthesis}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  "Master's thesis" format.thesis.type output.nonnull
  school "school" output.check
  address output
  format.date "year" output.check
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {misc}
{ output.bibitem
  format.authors output
  title howpublished new.block.checkb
  format.title output
  howpublished new.block.checka
  howpublished output
  format.date output
  format.issn output
  format.url output
  new.block
  note.r output
  fin.entry
  empty.misc.check
}


FUNCTION {phdthesis}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.btitle "title" output.check
  new.block
  "PhD thesis" format.thesis.type output.nonnull
  school "school" output.check
  address output
  format.date "year" output.check
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {proceedings}
{ output.bibitem
  editor empty$
    { organization output }
    { format.editors output.nonnull }
  if$
  new.block
  format.btitle "title" output.check
  format.bvolume output
  format.number.series output
  address empty$
    { editor empty$
    { publisher new.sentence.checka }
    { organization publisher new.sentence.checkb
      organization output
    }
      if$
      publisher output
      format.date "year" output.check
    }
    { address output.nonnull
      format.date "year" output.check
      new.sentence
      editor empty$
    'skip$
    { organization output }
      if$
      publisher output
    }
  if$
  format.isbn output
  format.doi output
    format.arxiv output
  format.doiq output
  format.urlq output
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {techreport}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  format.tr.number output.nonnull
  institution "institution" output.check
  address output
  format.date "year" output.check
  format.url output
  new.block
  note.r output
  fin.entry
}

FUNCTION {unpublished}
{ output.bibitem
  format.authors "author" output.check
  new.block
  format.title "title" output.check
  new.block
  note "note" output.check
  format.date output
  new.block
  "\!" output
  fin.entry
}

FUNCTION {default.type} { misc }

MACRO {jan} {"January"}

MACRO {feb} {"February"}

MACRO {mar} {"March"}

MACRO {apr} {"April"}

MACRO {may} {"May"}

MACRO {jun} {"June"}

MACRO {jul} {"July"}

MACRO {aug} {"August"}

MACRO {sep} {"September"}

MACRO {oct} {"October"}

MACRO {nov} {"November"}

MACRO {dec} {"December"}

MACRO {acmcs} {"ACM Computing Surveys"}

MACRO {acta} {"Acta Informatica"}

MACRO {cacm} {"Communications of the ACM"}

MACRO {ibmjrd} {"IBM Journal of Research and Development"}

MACRO {ibmsj} {"IBM Systems Journal"}

MACRO {ieeese} {"IEEE Transactions on Software Engineering"}

MACRO {ieeetc} {"IEEE Transactions on Computers"}

MACRO {ieeetcad}
 {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}

MACRO {ipl} {"Information Processing Letters"}

MACRO {jacm} {"Journal of the ACM"}

MACRO {jcss} {"Journal of Computer and System Sciences"}

MACRO {scp} {"Science of Computer Programming"}

MACRO {sicomp} {"SIAM Journal on Computing"}

MACRO {tocs} {"ACM Transactions on Computer Systems"}

MACRO {tods} {"ACM Transactions on Database Systems"}

MACRO {tog} {"ACM Transactions on Graphics"}

MACRO {toms} {"ACM Transactions on Mathematical Software"}

MACRO {toois} {"ACM Transactions on Office Information Systems"}

MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}

MACRO {tcs} {"Theoretical Computer Science"}

READ

FUNCTION {sortify}
{ purify$
  "l" change.case$
}

INTEGERS { len }

FUNCTION {chop.word}
{ 's :=
  'len :=
  s #1 len substring$ =
    { s len #1 + global.max$ substring$ }
    's
  if$
}

FUNCTION {sort.format.names}
{ 's :=
  #1 'nameptr :=
  ""
  s num.names$ 'numnames :=
  numnames 'namesleft :=
    { namesleft #0 > }
    { nameptr #1 >
    { "   " * }
    'skip$
      if$
      s nameptr "{vv{ } }{ll{ }}{  ff{ }}{  jj{ }}" format.name$ 't :=
      nameptr numnames = t "others" = and
    { "et al" * }
    { t sortify * }
      if$
      nameptr #1 + 'nameptr :=
      namesleft #1 - 'namesleft :=
    }
  while$
}

FUNCTION {sort.format.title}
{ 't :=
  "A " #2
    "An " #3
      "The " #4 t chop.word
    chop.word
  chop.word
  sortify
  #1 global.max$ substring$
}

FUNCTION {author.sort}
{ author empty$
    { key empty$
    { "to sort, need author or key in " cite$ * warning$
      ""
    }
    { key sortify }
      if$
    }
    { author sort.format.names }
  if$
}

FUNCTION {author.editor.sort}
{ author empty$
    { editor empty$
    { key empty$
        { "to sort, need author, editor, or key in " cite$ * warning$
          ""
        }
        { key sortify }
      if$
    }
    { editor sort.format.names }
      if$
    }
    { author sort.format.names }
  if$
}

FUNCTION {author.organization.sort}
{ author empty$
    { organization empty$
    { key empty$
        { "to sort, need author, organization, or key in " cite$ * warning$
          ""
        }
        { key sortify }
      if$
    }
    { "The " #4 organization chop.word sortify }
      if$
    }
    { author sort.format.names }
  if$
}

FUNCTION {editor.organization.sort}
{ editor empty$
    { organization empty$
    { key empty$
        { "to sort, need editor, organization, or key in " cite$ * warning$
          ""
        }
        { key sortify }
      if$
    }
    { "The " #4 organization chop.word sortify }
      if$
    }
    { editor sort.format.names }
  if$
}

FUNCTION {presort}
{ type$ "book" =
  type$ "inbook" =
  or
    'author.editor.sort
    { type$ "proceedings" =
    'editor.organization.sort
    { type$ "manual" =
        'author.organization.sort
        'author.sort
      if$
    }
      if$
    }
  if$
  "    "
  *
  year field.or.null sortify
  *
  "    "
  *
  title field.or.null
  sort.format.title
  *
  #1 entry.max$ substring$
  'sort.key$ :=
}

ITERATE {presort}

SORT

STRINGS { longest.label }

INTEGERS { number.label longest.label.width }

FUNCTION {initialize.longest.label}
{ "" 'longest.label :=
  #1 'number.label :=
  #0 'longest.label.width :=
}

FUNCTION {longest.label.pass}
{ number.label int.to.str$ 'label :=
  number.label #1 + 'number.label :=
  label width$ longest.label.width >
    { label 'longest.label :=
      label width$ 'longest.label.width :=
    }
    'skip$
  if$
}

EXECUTE {initialize.longest.label}

ITERATE {longest.label.pass}

FUNCTION {begin.bib}
{ preamble$ empty$
    'skip$
    { preamble$ write$ newline$ }
  if$
  "\begin{thebibliography}{"  longest.label  * "}" * write$ newline$
}

EXECUTE {begin.bib}

EXECUTE {init.state.consts}

ITERATE {call.type$}

FUNCTION {end.bib}
{ newline$
  "\end{thebibliography}" write$ newline$
}

EXECUTE {end.bib}
LMR_B_LT/lmdLT.cls · 63 KB

63 KB — too long to show here. It arrives with the project.

LMR_B_LT/orcid-eps-converted-to.pdf — binary, 155 KB

LMR_B_LT/ror.png — binary, 19 KB

LMR_B_LT/x.bib · 432 B
@preamble{ "\newcommand{\nosort}[1]{}" }


@ARTICLE{articleID,
  AUTHOR =       {Author},
  TITLE =        {Title},
  JOURNAL =      {Journal},
  YEAR =         {2025},
  volume =       {1},
  number =       {2},
  pages =        {3--6},
  doi =          {0024.2222},
}

@BOOK{BookID,
  AUTHOR =       {Author },
  TITLE =        {Book Title },
  PUBLISHER =    {Publisher},
  YEAR =         {2025},
  address =      {address},
}


Pranesimo _sablonai/main.tex · 2 KB
\documentclass[a4paper]{article}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[english, lithuanian]{babel}
\usepackage[L7x]{fontenc}
\usepackage{lmodern}

\usepackage[symbol]{footmisc}
\renewcommand{\thefootnote}{\fnsymbol{footnote}}

\begin{document}
\pagenumbering{gobble}

\begin{center}
{\Large \bf Pranešimo pavadinimas\footnote{Tyrimus finansavo Lietuvos mokslo taryba. Granto numeris LMT-10}}
\end{center}

\begin{center}
{\underline{\large A Autorius$^{\dag}$}, B Autorius$^{\dag}$, C Autorius$^{\ddag}$ }\\
\ \\
$^{\dag}$ Institucija \\
$^{\ddag}$ Institucija
\end{center}

\begin{center}
Sekcija
\end{center}

\vskip 15pt
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Nunc sed id semper risus in hendrerit gravida. Ultrices neque ornare aenean euismod elementum nisi quis eleifend. Semper quis lectus nulla at volutpat diam. Volutpat blandit aliquam etiam erat velit scelerisque in dictum non. Vestibulum mattis ullamcorper velit sed ullamcorper morbi. Eros donec ac odio tempor. Id cursus metus aliquam eleifend mi. Rhoncus aenean vel elit scelerisque mauris. Felis imperdiet proin fermentum leo vel orci porta. Senectus et netus et malesuada fames ac turpis egestas sed. Lectus magna fringilla urna porttitor rhoncus dolor. Ornare suspendisse sed nisi lacus sed viverra tellus in. Augue neque gravida in fermentum et sollicitudin ac orci phasellus. Dictum varius duis at consectetur lorem donec massa sapien faucibus. Facilisis volutpat est velit egestas dui. Habitant morbi tristique senectus et netus et malesuada. Sed sed risus pretium quam vulputate dignissim suspendisse in est.

\begin{thebibliography}{1}
\bibitem{HB98} Huynen, M.~A. and Bork, P. 1998. Measuring genome evolution. {\em Proceedings of the National Academy of Sciences USA} 95:5849--5856.
\bibitem{CA} Caprara, A. 1997. Sorting by reversals is difficult. In: {\em
Proceedings of the First Annual International Conference on Computational
Molecular Biology (RECOMB 97),} New York: ACM. pp. 75-83.
\bibitem{Rei91} Reinelt, G. 1991. {\em The Traveling Salesman - Computational
Solutions for TSP Applications.} Berlin: Springer Verlag.
\end{thebibliography}

\end{document}

The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗