88 open=any]{scrbook}
99
1010\usepackage {amsmath,amssymb }
11- \usepackage {lmodern }
1211\usepackage {iftex }
1312\ifPDFTeX
1413 \usepackage [T1 ]{fontenc }
1918 \defaultfontfeatures {Scale=MatchLowercase}
2019 \defaultfontfeatures [\rmfamily ]{Ligatures=TeX,Scale=1}
2120\fi
21+ \usepackage {lmodern }
22+ \ifPDFTeX \else
23+ % xetex/luatex font selection
24+ \fi
2225% Use upquote if available, for straight quotes in verbatim environments
2326\IfFileExists {upquote.sty}{\usepackage {upquote }}{}
2427\IfFileExists {microtype.sty}{% use microtype if available
7275\makeatletter
7376\def\fps@figure {htbp}
7477\makeatother
78+ % definitions for citeproc citations
79+ \NewDocumentCommand\citeproctext {}{}
80+ \NewDocumentCommand\citeproc {mm}{%
81+ \begingroup\def\citeproctext {#2}\cite {#1 }\endgroup }
82+ \makeatletter
83+ % allow citations to break across lines
84+ \let\@cite@ofmt\@firstofone
85+ % avoid brackets around text for \cite:
86+ \def\@biblabel #1{}
87+ \def\@cite #1#2{{#1\if @tempswa , #2\fi }}
88+ \makeatother
7589\newlength {\cslhangindent }
7690\setlength {\cslhangindent }{1.5em}
7791\newlength {\csllabelwidth }
7892\setlength {\csllabelwidth }{3em}
79- \newlength { \cslentryspacingunit } % times entry-spacing
80- \setlength { \cslentryspacingunit }{ \parskip }
81- \newenvironment {CSLReferences}[2] % #1 hanging-ident, #2 entry spacing
82- { % don't indent paragraphs
83- \setlength {\parindent }{0pt}
93+ \newenvironment {CSLReferences}[2] % #1 hanging-indent, #2 entry-spacing
94+ { \begin { list }{}{ %
95+ \setlength { \itemindent }{0pt}
96+ \setlength { \leftmargin }{0pt}
97+ \setlength {\parsep }{0pt}
8498 % turn on hanging indent if param 1 is 1
8599 \ifodd #1
86- \let\oldpar\par
87- \def\par { \hangindent = \ cslhangindent\oldpar }
100+ \setlength { \leftmargin }{ \cslhangindent }
101+ \setlength { \itemindent }{-1 \ cslhangindent }
88102 \fi
89103 % set entry spacing
90- \setlength {\parskip }{#2\cslentryspacingunit }
91- }%
92- {}
104+ \setlength {\itemsep }{#2\baselineskip }}}
105+ {\end {list}}
93106\usepackage {calc }
94- \newcommand {\CSLBlock }[1]{#1\hfill\break }
95- \newcommand {\CSLLeftMargin }[1]{\parbox [t]{\csllabelwidth }{#1 }}
96- \newcommand {\CSLRightInline }[1]{\parbox [t]{\linewidth - \csllabelwidth }{#1} \break }
107+ \newcommand {\CSLBlock }[1]{\hfill\break #1\hfill\break }
108+ \newcommand {\CSLLeftMargin }[1]{\parbox [t]{\csllabelwidth }{\strut #1 \strut }}
109+ \newcommand {\CSLRightInline }[1]{\parbox [t]{\linewidth - \csllabelwidth }{\strut #1 \strut } }
97110\newcommand {\CSLIndent }[1]{\hspace {\cslhangindent }#1}
98111
99- \usepackage {amsmath }
100- \usepackage {booktabs }
101- \usepackage {caption }
102- \usepackage {longtable }
103112\usepackage [default ]{opensans }
104113\fontseries {lc}\selectfont
105114\definecolor {nmfsblue1}{HTML}{00467f}
106115\definecolor {nmfsblue2}{HTML}{007eb2}
107116\makeatletter
108- \makeatother
109- \makeatletter
110117\@ifpackageloaded {bookmark}{}{\usepackage {bookmark }}
111118\makeatother
112119\makeatletter
145152\newcommand *\listoflistings {\listof {codelisting}{List of Listings}}
146153\makeatother
147154\makeatletter
148- \@ifpackageloaded {caption}{}{\usepackage {caption }}
149- \@ifpackageloaded {subcaption}{}{\usepackage {subcaption }}
150- \makeatother
151- \makeatletter
152- \@ifpackageloaded {tcolorbox}{}{\usepackage [many ]{tcolorbox }}
153- \makeatother
154- \makeatletter
155- \@ifundefined {shadecolor}{\definecolor {shadecolor}{rgb}{.97, .97, .97}}
156155\makeatother
157156\makeatletter
157+ \@ifpackageloaded {caption}{}{\usepackage {caption }}
158+ \@ifpackageloaded {subcaption}{}{\usepackage {subcaption }}
158159\makeatother
159160
160161\usepackage {hyphenat }
176177\usepackage [pagecolor=none ]{pagecolor }
177178
178179
179-
180180% Set the titlepage font families
181181
182182
187187
188188% Set the coverpage font families
189189
190-
191-
192-
193-
194190\ifLuaTeX
195191 \usepackage {selnolig } % disable illegal ligatures
196192\fi
213209\subtitle {The subtitle}
214210\author {Jane Doe \and Eva Nováková \and Matti Meikäläinen \and Ashok
215211Kumar}
216- \date {1/1/23 }
212+ \date {2023-01-01 }
217213
218214\begin {document }
219215% %%%% begin titlepage extension code
246242\newcommand {\titlelocationbottom }{7in}
247243\newcommand {\titlealign }{left}
248244
249- \begin {scope }
250- {%
245+ \begin {scope }{%
251246\fontsize {50}{60.0}\selectfont
252247\node [anchor=north
253248west, align=left, rotate=0] (Title1) at ($ (current page.south west)+(\titlelocationleft ,\titlelocationbottom )$ ) [text width = 5in] {\textcolor {nmfsblue1}{\nohyphens {An
302297}
303298\end {scope }
304299
300+ % Date
301+ \newcommand {\datelocationleft }{6in}
302+ \newcommand {\datelocationbottom }{2in}
303+ \newcommand {\datelocationalign }{left}
304+
305+ \begin {scope }
306+ {%
307+ \fontsize {20}{24.0}\selectfont
308+ \node [anchor=north west, align=left, rotate=0] (Date1) at %
309+ ($ (current page.south west)+(\datelocationleft ,\datelocationbottom )$ ) [text width = 2.5in] {{\nohyphens {January
310+ 2023}}};
311+ }
312+ \end {scope }
313+
305314\end {tikzpicture }
306315\clearpage
307316\restoregeometry
343352\newcommand {\affiliationstyle }[1]{{#1}}
344353
345354\newcommand {\titlepageauthorblock }{
346- \authorstyle {Jane
347- Doe{\textsuperscript {1}}\textsuperscript {,}{\textsuperscript {2}}, Eva
348- Nováková{\textsuperscript {2}}, Matti
349- Meikäläinen{\textsuperscript {3}}\textsuperscript {,}{\textsuperscript {*}} and Ashok
350- Kumar{\textsuperscript {4}}\textsuperscript {,}{\textsuperscript {5}}%
351-
352- }}
355+ {\authorstyle {\nohyphens {Jane
356+ Doe}{\textsuperscript {1}}\textsuperscript {,}{\textsuperscript {2}}, \nohyphens {Eva
357+ Nováková}{\textsuperscript {2}}, \nohyphens {Matti
358+ Meikäläinen}{\textsuperscript {3}}\textsuperscript {,}{\textsuperscript {*}} and \nohyphens {Ashok
359+ Kumar}{\textsuperscript {4}}\textsuperscript {,}{\textsuperscript {5}}}}}
353360
354361\newcommand {\titlepageaffiliationblock }{
355362\hangindent =1em
356363\hangafter =1
357- \affiliationstyle {
358- {1}.~Northwest Fisheries Science Center, Conservation Biology
359- Division, 2725 Montlake Boulevard EastSeattle, Washington 98112
360- \par\hangindent =1em\hangafter =1%
361- {2}.~University of Washington, School of Aquatic and Fisheries Sciences
362- \par\hangindent =1em\hangafter =1%
363- {3}.~University of Kemijärvi, Department of Biological and Environmental
364- Science, Kylmäniementie 79, 98120, KEMIJÄRVI, Finland
365- \par\hangindent =1em\hangafter =1%
366- {4}.~University of Minnesota, Department of Mathematics
367- \par\hangindent =1em\hangafter =1%
368- {5}.~HØnefoss Institute, R Tradição 35, Portugal 2950-726
364+ { \affiliationstyle {
365+ {1}.~Northwest Fisheries Science Center,~ Conservation Biology
366+ Division,~ 2725 Montlake Boulevard EastSeattle, Washington 98112
367+ \par\hangindent =1em\hangafter =1{2}.~University of Washington,~School of
368+ Aquatic and Fisheries Sciences
369+ \par\hangindent =1em\hangafter =1{3}.~University of Kemijärvi,~Department
370+ of Biological and Environmental Science,~Kylmäniementie 79, 98120,
371+ KEMIJÄRVI, Finland
372+ \par\hangindent =1em\hangafter =1{4}.~University of Minnesota,~Department
373+ of Mathematics
374+ \par\hangindent =1em\hangafter =1{5}.~HØnefoss Institute,~R Tradição 35,
375+ Portugal 2950-726
369376
370377
371378\vspace {1\baselineskip }
372379*
\textit {
Correspondence: }~Matti Meikälä
[email protected] 373- }
380+ }}
374381}
375382\newcommand {\headerstyled }{%
376383{}
379386{}
380387}
381388\newcommand {\datestyled }{%
382- {1/1/23 }
389+ {2023-01-01 }
383390}
384391
385392
483490\setcounter {page}{1}
484491\end {frontmatter }
485492
486- % %%%% end titlepage extension code\ifdefined\Shaded\renewenvironment{Shaded}{\begin{tcolorbox}[frame hidden, borderline west={3pt}{0pt}{shadecolor}, enhanced, breakable, sharp corners, interior hidden, boxrule=0pt]}{\end{tcolorbox}}\fi
487-
493+ % %%%% end titlepage extension code
488494\renewcommand *\contentsname {Table of contents}
489495{
490496\setcounter {tocdepth}{1}
495501\mainmatter
496502\bookmarksetup {startatroot}
497503
498- \hypertarget {citation}{%
499- \chapter* {Citation }\label {citation }}
504+ \chapter* {Citation }\label {citation }
500505\addcontentsline {toc}{chapter}{Citation}
501506
502507\markboth {Citation}{Citation}
@@ -506,8 +511,11 @@ \chapter*{Citation}\label{citation}}
506511
507512\bookmarksetup {startatroot}
508513
509- \hypertarget {a-chapter}{%
510- \chapter {A chapter }\label {a-chapter }}
514+ \chapter {A chapter }\label {a-chapter }
515+
516+ \bookmarksetup {startatroot}
517+
518+ \chapter {Columbia River Chum }\label {columbia-river-chum }
511519
512520Lorem ipsum dolor sit amet, consectetur adipiscing elit. Clark (1993)
513521vitae ante quis dui egestas fringilla ac vitae justo (Ansley and Davis
@@ -530,8 +538,7 @@ \chapter{A chapter}\label{a-chapter}}
530538bibendum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce
531539viverra nulla elementum libero mollis, quis cursus velit sagittis.
532540
533- \hypertarget {general-location}{%
534- \section {General location }\label {general-location }}
541+ \section {General location }\label {general-location }
535542
536543Morbi iaculis eget augue eget facilisis. Etiam non orci dignissim,
537544efficitur purus viverra, pellentesque neque. Aliquam ornare, magna ut
@@ -540,18 +547,19 @@ \section{General location}\label{general-location}}
540547
541548\begin {figure }
542549
543- {\centering \includegraphics [width=4.48in,height=\textheight ]{text/../images/fig-map.png}
550+ \centering {
551+
552+ \includegraphics [width=4.48in,height=\textheight ]{text/../images/fig-map.png}
544553
545554}
546555
547556\caption {\label {fig-map }Morbi iaculis eget augue eget facilisis. Etiam
548557non orci dignissim, efficitur purus viverra, pellentesque neque. Aliquam
549558ornare, magna ut dictum mollis.}
550559
551- \end {figure }
560+ \end {figure }%
552561
553- \hypertarget {recent-trends}{%
554- \section {Recent trends }\label {recent-trends }}
562+ \section {Recent trends }\label {recent-trends }
555563
556564Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vitae
557565ante quis dui egestas fringilla ac vitae justo. Pellentesque quis magna
@@ -575,28 +583,32 @@ \section{Recent trends}\label{recent-trends}}
575583
576584\begin {figure }
577585
578- {\centering \includegraphics {text/Chapter1_files/figure-pdf/fig-CRchum-status-1.pdf}
586+ \centering {
587+
588+ \includegraphics {text/Chapter1_files/figure-pdf/fig-CRchum-status-1.pdf}
579589
580590}
581591
582592\caption {\label {fig-CRchum-status }Columbia River Chum. Log spawner count
583593trends.}
584594
585- \end {figure }
595+ \end {figure }%
586596
587- \hypertarget {population-raw-data}{%
588- \section {Population raw data }\label {population-raw-data }}
597+ \section {Population raw data }\label {population-raw-data }
589598
590599The raw data can be found in Table~\ref {tbl-CRchum-rawdata }. Nunc quis
591600euismod felis. Vestibulum gravida nisi mi, quis mollis velit ullamcorper
592601non. Aliquam tempus fringilla bibendum. Lorem ipsum dolor sit amet,
593602consectetur adipiscing elit. Fusce viverra nulla elementum libero
594603mollis, quis cursus velit sagittis.
595604
596- \hypertarget {tbl-CRchum-rawdata}{ }
597- \begin { longtable }{rr}
598- \caption {\label {tbl-CRchum-rawdata }Columbia River Chum. Raw Data. } \tabularnewline
605+ \begin { table }
606+
607+ \caption {\label {tbl-CRchum-rawdata }Columbia River Chum. Raw Data.}
599608
609+ \centering {
610+
611+ \begin {longtable* }{rr}
600612\toprule
601613YEAR & NUMBER\_ OF\_ SPAWNERS \\
602614\midrule
@@ -635,12 +647,17 @@ \section{Population raw data}\label{population-raw-data}}
6356472014 & 4792 \\
6366482015 & 11580 \\
637649\bottomrule
638- \end {longtable }
650+ \end {longtable* }
651+
652+ }
653+
654+ \end {table }%
639655
640656\bookmarksetup {startatroot}
641657
642- \hypertarget {conclusion}{%
643- \chapter {Conclusion }\label {conclusion }}
658+ \chapter {Conclusion }\label {conclusion }
659+
660+ \section {First off }\label {first-off }
644661
645662We want to reference the Interior Columbia Upper Columbia Entiat
646663population Table~\ref {tbl-CRchum-rawdata }. It is in Lorem ipsum dolor
@@ -690,38 +707,37 @@ \chapter{Conclusion}\label{conclusion}}
690707
691708\bookmarksetup {startatroot}
692709
693- \hypertarget {references}{%
694- \chapter* {References }\label {references }}
710+ \chapter* {References }\label {references }
695711\addcontentsline {toc}{chapter}{References}
696712
697713\markboth {References}{References}
698714
699- \hypertarget {refs}{ }
715+ \phantomsection \label {refs }
700716\begin {CSLReferences }{1}{0}
701- \leavevmode\vadjust pre{ \hypertarget { ref-ansley1981}{}} %
717+ \bibitem [ \citeproctext ]{ ref-ansley1981}
702718Ansley, H. L. H., and C. D. Davis. 1981. {`` Migration and Standing Stock
703719of Fishes Associated with Artificial and Natural Reefs on Georgia{'}s
704720Outer Continental Shelf.'' } Brunswick, Georgia, USA.
705721
706- \leavevmode\vadjust pre{ \hypertarget { ref-clark1993}{}} %
722+ \bibitem [ \citeproctext ]{ ref-clark1993}
707723Clark, W. G. 1993. {`` The Effect of Recruitment Variability on the
708724Choice of a Target Level of Spawning Biomass Per Recruit.'' } In, 233246.
709725Alaska Sea Grant College Program
710726AK{\textendash }SG{\textendash }93{\textendash }02.
711727
712- \leavevmode\vadjust pre{ \hypertarget { ref-collins1996}{}} %
728+ \bibitem [ \citeproctext ]{ ref-collins1996}
713729Collins, M. R., S. B. Van Sant, D. J. Schmidt, and G. R. Sedberry. 1996.
714730{`` Age Validation, Movements, and Growth Rates of Tagged Gag
715731(Mycteroperca Microlepis), Black Sea Bass (Centropristis Striata) and
716732Red Porgy (Pagrus Pagrus).'' } In, edited by F. Arrequin-Sanchez, J. L.
717733Munro, M. C. Balgos, and D. Pauly, 161--65. Makati City, Philippines:
718734ICLARM (International Center for Living Aquatic Resources Management).
719735
720- \leavevmode\vadjust pre{ \hypertarget { ref-deuel1968}{}} %
736+ \bibitem [ \citeproctext ]{ ref-deuel1968}
721737Deuel, D. G., and J. R. Clark. 1968. {`` The 1965 Salt-Water Angling
722738Survey.'' }
723739
724- \leavevmode\vadjust pre{ \hypertarget { ref-hardy1978}{}} %
740+ \bibitem [ \citeproctext ]{ ref-hardy1978}
725741Hardy, J. D., Jr. 1978. {`` Development of Fishes of the Mid-Atlantic
726742Bight. Vol. III. Aphredoderidae Through Rachycentridae.'' }
727743
0 commit comments