Skip to content

Commit

Permalink
#2903: natbib
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Mar 1, 2024
1 parent 70f5a6b commit f4b24bc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
1 change: 0 additions & 1 deletion paper/DEPENDS.txt
Expand Up @@ -3,7 +3,6 @@ hard algorithmicx
hard algpseudocodex
hard anyfontsize
hard babel-russian
hard biblatex
hard biber
hard cancel
hard catchfile
Expand Down
3 changes: 2 additions & 1 deletion paper/aspell.en.pws
Expand Up @@ -56,4 +56,5 @@ GOTO
unary
decoratee
cmtt
attr
attr
acmart
12 changes: 8 additions & 4 deletions paper/eolang-paper.tex
Expand Up @@ -20,12 +20,11 @@
% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
% SOFTWARE.

\documentclass[sigplan,nonacm,natbib=false]{acmart}
\documentclass[sigplan,nonacm]{acmart}
\settopmatter{printfolios=false,printccs=false,printacmref=false}
\usepackage[utf8]{inputenc}
\usepackage[maxnames=1,minnames=1,maxbibnames=100,natbib=true,citestyle=authoryear,bibstyle=authoryear,doi=false,url=false,isbn=false,isbn=false,backend=biber]{biblatex}
\addbibresource{main.bib}
\usepackage[T2A,T1]{fontenc}
\usepackage{natbib} % for \citep and \citet
\usepackage{stmaryrd} % for arrows, like \mapstochar
\let\Bbbk\relax\usepackage{amssymb} % for special symbols
\usepackage{amsmath}
Expand All @@ -50,6 +49,9 @@
\usepackage{pgffor} % to enable \foreach
\usepackage{mathtools} % for matrix* environment

\usepackage{silence}
\WarningFilter{acmart}{\vspace should only be used to provide space above/below}

\tolerance=1500
\raggedbottom
\setlength\headheight{21pt}
Expand Down Expand Up @@ -176,7 +178,9 @@ \section{Related Work}
\section{Acknowledgments}
\input{sections/acks}

\printbibliography
\raggedright
\bibliographystyle{ACM-Reference-Format}
\bibliography{main}

\clearpage

Expand Down
5 changes: 2 additions & 3 deletions paper/sections/syntax.tex
Expand Up @@ -221,8 +221,7 @@ \subsection{Data Objects and Tuples}
r.times 3.14 > circumference
\end{ffcode}
This syntax would be translated to XMIR (XML based
data format explained in \cref{sec:xmir}):
This syntax would be translated to XMIR (XML based data format):
\begin{ffcode}
<o name="circle"> (*@\label{ln:xml-circle}@*)
Expand Down Expand Up @@ -342,7 +341,7 @@ \subsection{Decorators}
center > @ (*@\label{ln:circle-phi}@*)
[p] > is-inside
lte. > @
^.@.distance \(.p |\)\label{ln:circle-phi-2}$|
^.@.distance $.p (*@\label{ln:circle-phi-2}@*)
^.radius (*@\label{ln:circle-end}@*)
\end{ffcode}
Expand Down

0 comments on commit f4b24bc

Please sign in to comment.