% Shared layout extracted from the supplied Megrez English paper. % Use with \documentclass[10pt,a4paper]{article} and pdfLaTeX. \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{singlecolumn}[2026/11/10 Megrez-style English article] \RequirePackage[T1]{fontenc} \RequirePackage{lmodern} \RequirePackage[margin=22mm,headheight=14pt]{geometry} \RequirePackage{amsmath,amssymb,booktabs,tabularx,array,multirow,fix-cm} \RequirePackage{tikz} \usetikzlibrary{arrows.meta,positioning,fit,calc,shapes.geometric,backgrounds} \RequirePackage{xcolor,enumitem,fancyhdr,caption,microtype,titlesec} \RequirePackage[unicode,colorlinks=true,linkcolor=blue!45!black, citecolor=blue!45!black,urlcolor=blue!45!black]{hyperref} % Colors and diagram styles follow the reference paper. \definecolor{fmInk}{HTML}{222222} \definecolor{fmGray}{HTML}{6B7280} \definecolor{fmBlue}{HTML}{0072B2} \definecolor{fmBlueBg}{HTML}{EAF3FA} \definecolor{fmGrayBg}{HTML}{F3F4F6} \definecolor{fmOrange}{HTML}{D55E00} \definecolor{fmOrangeBg}{HTML}{FCEFE6} \definecolor{fmGreen}{HTML}{009E73} \definecolor{fmGreenBg}{HTML}{E6F5F0} \setlength{\parskip}{0.18em} \setlength{\parindent}{1.1em} \setlength{\emergencystretch}{2em} \setlength{\abovecaptionskip}{4pt} \setlength{\belowcaptionskip}{2pt} \setlength{\textfloatsep}{8pt plus 2pt minus 2pt} \setlength{\intextsep}{6pt plus 2pt minus 2pt} \setlist{nosep,leftmargin=1.8em} \captionsetup{font=small,labelfont=bf} \titlespacing*{\section}{0pt}{1.1ex plus 0.2ex minus .2ex}{0.5ex} \titlespacing*{\subsection}{0pt}{0.8ex plus 0.2ex minus .2ex}{0.35ex} % Keep the short title brief enough to leave room for the right header. \newcommand{\runningtitle}{Short Paper Title} \newcommand{\reporttype}{Technical Report} \pagestyle{fancy} \fancyhf{} \fancyhead[L]{\small\runningtitle} \fancyhead[R]{\small\reporttype} \fancyfoot[C]{\thepage} % The standard plain first page, selected by \maketitle, matches the reference. \newcommand{\keywords}[1]{\par\noindent\textbf{Keywords:} #1\par} \newcommand{\tool}[1]{\texttt{\small\detokenize{#1}}} \newcommand{\dif}{\mathop{}\!\mathrm{d}} \newcolumntype{Y}{>{\raggedright\arraybackslash}X} \newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}} \tikzset{ every picture/.style={font=\fontsize{8}{10}\selectfont,text=fmInk}, box/.style={draw=fmInk,line width=.55pt,rounded corners=2pt,align=center, inner sep=3.2pt,minimum height=7.5mm}, agentbox/.style={box,draw=fmBlue,line width=.85pt,fill=fmBlueBg}, databox/.style={box,fill=fmGrayBg}, gate/.style={box,draw=fmOrange,line width=.75pt,fill=fmOrangeBg}, okbox/.style={box,draw=fmGreen,line width=.75pt,fill=fmGreenBg}, edge/.style={-{Stealth[length=3.8pt,width=2.8pt]},line width=.6pt}, interact/.style={{Stealth[length=3.8pt,width=2.8pt]}- {Stealth[length=3.8pt,width=2.8pt]},line width=.6pt}, feedback/.style={edge,dashed,draw=fmGray}, lab/.style={font=\fontsize{7}{8.5}\selectfont,fill=white,inner sep=1.2pt}, layer/.style={font=\fontsize{7.5}{9}\selectfont\bfseries, text=fmGray,rotate=90,anchor=south} } \endinput