|
193 | 193 | \makeatother
|
194 | 194 |
|
195 | 195 | % \newcommand{\passthrough}[1]{#1}
|
196 |
| -\newcommand{\passthrough}[1]{\lstset{mathescape=false}#1\lstset{mathescape=true}} |
| 196 | +\newcommand{\passthrough}[1]{\lstset{mathescape=false}#1\lstset{mathescape=true}} |
197 | 197 | \lstset{defaultdialect=[5.3]Lua}
|
198 | 198 | \lstset{defaultdialect=[x86masm]Assembler}
|
199 | 199 | $endif$
|
|
229 | 229 | $if(graphics)$
|
230 | 230 | \usepackage{graphicx}
|
231 | 231 | \makeatletter
|
232 |
| -\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi} |
233 |
| -\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi} |
234 |
| -\makeatother |
235 |
| -% Scale images if necessary, so that they will not overflow the page |
236 |
| -% margins by default, and it is still possible to overwrite the defaults |
237 |
| -% using explicit options in \includegraphics[width, height, ...]{} |
238 |
| -\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio} |
239 |
| -% Set default figure placement to htbp |
240 |
| -\makeatletter |
| 232 | +\newsavebox\pandoc@box |
| 233 | +\newcommand*\pandocbounded[1]{% scales image to fit in text height/widthAdd commentMore actions |
| 234 | + \sbox\pandoc@box{#1}% |
| 235 | + \Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}% |
| 236 | + \Gscale@div\@tempb{\linewidth}{\wd\pandoc@box}% |
| 237 | + \ifdim\@tempb\p@<\@tempa\p@\let\@tempa\@tempb\fi% select the smaller of both |
| 238 | + \ifdim\@tempa\p@<\p@\scalebox{\@tempa}{\usebox\pandoc@box}% |
| 239 | + \else\usebox{\pandoc@box}% |
| 240 | + \fi% |
| 241 | +} |
241 | 242 | \def\fps@figure{htbp}
|
242 | 243 | \makeatother
|
243 | 244 | $endif$
|
|
330 | 331 | % get rid of language-specific shorthands (see #6817):
|
331 | 332 | \let\LanguageShortHands\languageshorthands
|
332 | 333 | \def\languageshorthands#1{}
|
| 334 | +$if(selnolig-langs)$ |
| 335 | +\ifLuaTeXAdd commentMore actions |
| 336 | + \usepackage[$for(selnolig-langs)$$it$$sep$,$endfor$]{selnolig} % disable illegal ligatures |
| 337 | +\fi |
| 338 | +$endif$ |
333 | 339 | $endif$
|
334 | 340 | $for(header-includes)$
|
335 | 341 | $header-includes$
|
336 | 342 | $endfor$
|
337 |
| -\ifLuaTeX |
338 |
| - \usepackage{selnolig} % disable illegal ligatures |
339 |
| -\fi |
340 | 343 | $if(dir)$
|
341 | 344 | \ifPDFTeX
|
342 | 345 | \TeXXeTstate=1
|
|
434 | 437 | \begin{document}
|
435 | 438 | \begin{titlepage}
|
436 | 439 | \vspace{1.5in}
|
437 |
| - |
| 440 | +
|
438 | 441 | \begin{center}
|
439 | 442 | \begin{huge}
|
440 | 443 | The Soar User's Manual \vspace{10pt} \\
|
441 | 444 | Version \SoarVersionMajor.\SoarVersionMinor.\SoarVersionRevision \vspace{20pt} \\
|
442 | 445 | \end{huge}
|
443 | 446 | \vspace{36pt}
|
444 |
| - |
445 |
| - |
| 447 | +
|
| 448 | +
|
446 | 449 | \begin{large}
|
447 | 450 | \vspace{20pt}
|
448 | 451 | John E. Laird, Clare Bates Congdon, \\
|
449 | 452 | Mazin Assanie, Nate Derbinsky and Joseph Xu \\
|
450 | 453 | \vspace{20pt}
|
451 | 454 | \end{large}
|
452 |
| - |
| 455 | +
|
453 | 456 | \vspace{20pt}
|
454 | 457 | \begin{large}
|
455 | 458 | Additional contributions by: \\
|
|
462 | 465 | Division of Computer Science and Engineering\\
|
463 | 466 | University of Michigan \vspace{.3in} \\
|
464 | 467 | \end{large}
|
465 |
| - |
| 468 | +
|
466 | 469 | Draft of:
|
467 | 470 | \today
|
468 |
| - |
| 471 | +
|
469 | 472 | \end{center}
|
470 |
| - |
| 473 | +
|
471 | 474 | \vspace*{0pt plus 1filll}
|
472 | 475 | {\em
|
473 | 476 | Errors may be reported to John E. Laird (laird@umich.edu)\\
|
474 | 477 | \\
|
475 | 478 | }
|
476 | 479 | Copyright \copyright\ 1998 - \the\year, The Regents of the University of Michigan
|
477 | 480 | \vspace{.1in}
|
478 |
| - |
| 481 | +
|
479 | 482 | Development of earlier versions of this manual were supported under
|
480 | 483 | contract N00014-92-K-2015 from the Advanced Systems Technology Office of
|
481 | 484 | the Advanced Research Projects Agency and the Naval Research Laboratory,
|
482 | 485 | and contract N66001-95-C-6013 from the Advanced Systems Technology
|
483 | 486 | Office of the Advanced Research Projects Agency and the Naval Command
|
484 | 487 | and Ocean Surveillance Center, RDT\&E division.
|
485 |
| - |
| 488 | +
|
486 | 489 | \newpage
|
487 | 490 | \setlength{\parskip}{3pt}
|
488 | 491 | \normalsize
|
489 | 492 | \setlength{\parskip}{8pt}
|
490 |
| - |
| 493 | +
|
491 | 494 | \end{titlepage}
|
492 | 495 |
|
493 | 496 | $if(abstract)$
|
|
0 commit comments