From ffbfd14f075d0dac486f94bc1eb601de63b11582 Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Wed, 31 Aug 2022 14:29:51 -0600 Subject: [PATCH] Remove embedded fontspecs for further font work --- src/Copyright.tex | 1 - src/Dedication.tex | 2 +- src/Epigraph.tex | 6 ++---- src/Half_Title.tex | 4 ++-- src/SNOUG.tex | 20 +++++++++++--------- src/Title.tex | 14 ++++---------- 6 files changed, 20 insertions(+), 27 deletions(-) diff --git a/src/Copyright.tex b/src/Copyright.tex index ae4c27e..3f48a0d 100644 --- a/src/Copyright.tex +++ b/src/Copyright.tex @@ -9,7 +9,6 @@ % This document is licensed under the Creative Commons Attribution 4.0 % International Public License (CC BY-SA 4.0) by Jeff Moe. % -\fontspec{lmroman12-regular.otf} \clearpage\null\vfill \begingroup diff --git a/src/Dedication.tex b/src/Dedication.tex index 62dcb57..2a5fa3b 100644 --- a/src/Dedication.tex +++ b/src/Dedication.tex @@ -13,7 +13,7 @@ \thispagestyle{empty} \begin{vplace} \centering - \fontspec{lmroman12-regular.otf}\fontsize{12pt}{1em}\selectfont{Dedicated to free users} + Dedicated to free users \end{vplace} %%% END DEDICATION %%% diff --git a/src/Epigraph.tex b/src/Epigraph.tex index 18fa1c5..7ecf59d 100644 --- a/src/Epigraph.tex +++ b/src/Epigraph.tex @@ -19,10 +19,8 @@ \epigraphsourceposition{center} \epigraphtextposition{center} {\epigraph - {\fontspec{lmroman12-italic.otf}\fontsize{12pt}{1em}\selectfont - {Space should be claimed the libre way.}} - {\fontspec{lmroman12-regular.otf}\fontsize{12pt}{1em}\selectfont - {Libre Space Foundation}} + {Space should be claimed the libre way.} + {Libre Space Foundation} } \end{vplace} diff --git a/src/Half_Title.tex b/src/Half_Title.tex index d7b978c..c223b4b 100644 --- a/src/Half_Title.tex +++ b/src/Half_Title.tex @@ -13,9 +13,9 @@ \thispagestyle{empty} \begin{vplace} \centering - \fontspec{lmmonocaps10-regular.otf}\fontsize{20pt}{1em}\selectfont{SatNOGS Optical Unofficial Guide} + \LARGE{SatNOGS Optical Unofficial Guide} \\ - \fontspec{lmmonocaps10-regular.otf}\fontsize{14pt}{1em}\selectfont{\textcolor{red}{DRAFT}} + \LARGE{\emph{{\textcolor{red}{DRAFT}}}} \end{vplace} \null \vfill diff --git a/src/SNOUG.tex b/src/SNOUG.tex index 0882859..acf089b 100644 --- a/src/SNOUG.tex +++ b/src/SNOUG.tex @@ -71,9 +71,11 @@ leftmargin=1cm,rightmargin=1cm % http://mirrors.ctan.org/macros/latex/contrib/fontspec/fontspec.pdf \usepackage{fontspec} \defaultfontfeatures{Ligatures=TeX} % To support LaTeX quoting style -\setmainfont[Ligatures=TeX]{lmroman12-regular.otf} -\setmonofont{lmmono12-regular.otf} -\setsansfont[Ligatures=TeX]{lmsans12-regular.otf} +% To get font name, run: +% otfinfo -i `kpsewhich lmroman12-regular.otf` | grep "^Full name:" +\setmainfont[Ligatures=TeX]{LMRoman12-Regular} +\setmonofont{LMMono12-Regular} +\setsansfont[Ligatures=TeX]{LMSans12-Regular} \usepackage[normalem]{ulem} % underline \usepackage{floatpag} % Full page figures without page numbers. %%% END PREAMBLE FONTS %%% @@ -129,7 +131,7 @@ leftmargin=1cm,rightmargin=1cm \makechapterstyle{jebbaski}{% \renewcommand*{\printchaptername}{} % Clear out the chapter name (e.g. capĂ­tulo) \renewcommand*{\printchapternum}{} % Clear out the chapter number - \renewcommand*{\chaptitlefont}{\fontspec{GemunuLibre-ExtraBold.otf}\fontsize{20pt}{3em}\selectfont} % Set chapter title font +% \renewcommand*{\chaptitlefont}{\fontspec{GemunuLibre-ExtraBold.otf}\fontsize{20pt}{3em}\selectfont} % Set chapter title font \renewcommand*{\printchaptertitle}[1]{% \color{jebba-light-orange} \hrule\vskip\onelineskip \centering \chaptitlefont{##1}\par} @@ -261,7 +263,7 @@ leftmargin=1cm,rightmargin=1cm %%% END EPIGRAPH PAGE %%% %%% TABLE OF CONTENTS %%% -{\fontspec{lmroman12-regular.otf} +{%\fontspec{lmroman12-regular.otf} \maxtocdepth{subsection} \settocdepth{subsection} %\setsecnumdepth{subsection} @@ -324,7 +326,7 @@ leftmargin=1cm,rightmargin=1cm %\include{Acknowledgements} %%% END ACKNOWLEDGEMENTS PAGE %%% -\fontspec{lmroman12-regular.otf} +%\fontspec{lmroman12-regular.otf} % Format: % \chapterconf{Name of file to include}{Title of Chapter} @@ -342,7 +344,7 @@ leftmargin=1cm,rightmargin=1cm %% MAINMATTER CHAPTERS %%% % Default chapter font -\fontspec{lmroman12-regular.otf} +%\fontspec{lmroman12-regular.otf} % Format: % \chapterconf{Name of file to include}{Title of Chapter}{Subtitle} @@ -374,7 +376,7 @@ leftmargin=1cm,rightmargin=1cm %%% GLOSSARY %%% % Set font for glossary word. -\renewcommand*{\glsnamefont}[1]{\fontspec{GemunuLibre-Bold.otf}{#1}} +%\renewcommand*{\glsnamefont}[1]{\fontspec{GemunuLibre-Bold.otf}{#1}} \clearpage \printnoidxglossaries %%% END GLOSSARY %%% @@ -398,7 +400,7 @@ leftmargin=1cm,rightmargin=1cm \endgroup \pagebreak{} \thispagestyle{empty} -\fontspec{lmroman12-regular.otf} +%\fontspec{lmroman12-regular.otf} {\include{Colophon}} %%% END COLOPHON %%% diff --git a/src/Title.tex b/src/Title.tex index 1a2c5e8..ad8a1be 100644 --- a/src/Title.tex +++ b/src/Title.tex @@ -14,14 +14,10 @@ \begingroup \centering \begin{center} - \fontspec{GemunuLibre-ExtraBold.otf}\fontsize{58pt}{1em}\selectfont % - SatNOGS Optical \\ - \fontspec{LinLibertine_RI.otf}\fontsize{16pt}{0em}\selectfont % + \LARGE{SatNOGS Optical} \\ \emph{\textcolor{black}{\begin{turn}{15}Unofficial\end{turn}}} \\ - \fontspec{GemunuLibre-ExtraBold.otf}\fontsize{68pt}{1em}\selectfont % Guide\\ - \fontspec{GemunuLibre-ExtraBold.otf}\fontsize{14pt}{1em}\selectfont % - {Jeff Moe} + \itshape{Jeff Moe} \end{center} \par \par @@ -31,11 +27,9 @@ \par \par \null\vfill -\fontspec{LinLibertine_RI.otf}\fontsize{10pt}{3em}\selectfont % -{Loveland, Colorado, USA} +\itshape{Loveland, Colorado, USA} \par -\fontspec{LinLibertine_R.otf}\fontsize{12pt}{3em}\selectfont % -{2022} +2022 \end{center} \endgroup