📄 main.tex
字号:
\documentclass[a4]{book}
\usepackage{graphicx}
\usepackage{fullpage}
\usepackage{code}
\CodeNoNumber
\newenvironment{codecase}[1]{\subsection{#1}}{}
\usepackage[sort]{natbib}
\newcommand{\citeasnoun}{\citet}
\renewcommand{\cite}{\citep}
%\emergencystretch=\hsize
\lefthyphenmin=2
\righthyphenmin=2
%\tolerance=9999
%\setcounter {topnumber}{7}
\renewcommand {\topfraction}{0.99} % common default: 0.8
\renewcommand {\bottomfraction}{0.99} % common default: 0.8
\setcounter {totalnumber}{14} % common default: 3
\renewcommand{\topfraction}{0.999}
\renewcommand {\textfraction}{0.01} % common default: 0.2
\renewcommand {\floatpagefraction}{0.99} % common default: 0.5
\newcommand{\dgrs}{$^{\circ}$}
\newcommand{\twiddle}{\char126}
\newcommand{\pflist}
{ \renewcommand{\labelitemi}{$\triangleright$}
\setlength{\itemsep}{0mm}
\setlength{\parsep}{0mm}
\setlength{\partopsep}{0mm}
\setlength{\topsep}{0mm}
\setlength{\parskip}{0mm} }
%\newcommand{\usage}[1]{
% \noindent
% \begin{tabular}{|l|}\hline
% Command: {\bf #1}\\
%\hline\end{tabular}\\
%\noindent}
\newenvironment{packed_itemize}{
\begin{itemize}
\renewcommand{\labelitemi}{$\triangleright$}
\setlength{\itemsep}{1pt}
\setlength{\parskip}{0pt}
\setlength{\parsep}{0pt}
}{\end{itemize}}
\newcommand{\newusage}{\ \\\noindent\makebox[\textwidth]{\hrulefill}}
\newcommand{\usage}[1]{ \begin{packed_itemize} \item {\it Command:} {\tt #1} \end{packed_itemize}}
\newcommand{\ctt}[1]{{\tt #1}}
\newcommand{\packet}[1]{\framebox{#1}}
\title{
YARP Protocol Specification 2.0 \\
(*** draft ***)
\thanks{
This document specifies YARP network protocol version 2.0,
and a companion utility. The
protocol and utility is based on code by Giorgio
Metta, Paul Fitzpatrick, Lorenzo Natale, and many others.
}
}
%
% For one-to-one authur/affil correspondence
\author{Paul Fitzpatrick (paulfitz@liralab.it)}
\begin{document}
\maketitle
%\begin{abstract}
%\end{abstract}
\pagenumbering{arabic}
\tableofcontents
\include{section-introduction}
\include{section-companion}
\include{section-connection}
\include{section-port}
\include{section-server}
\include{section-references}
\appendix
\include{section-implementation}
\include{section-tutorial}
\include{section-textmode}
\include{section-data}
\end{document}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -