-
Hi, Thank you @joaomlourenco for creating this template! I recently submitted my PhD thesis, which I had typset using the Novathesis template (version 6.4.7), and UMinho did not accept it due to the following: “Devolução do processo pois não está conforme o Despacho RT-31/2019. Ponto 16. ".... fonte NewsGotT e uma dimensão de 12 para a letra de texto ..." - a dimensão da tese está com a dimensão de 11,96.” It seems that the definition of 1 pt in LaTeX is different from the standard used in Postscript/Word/etc. LaTeX calls the Postscript standard “big point” (bp). I tried to fix this by changing the memoir setup to 12 bp instead of 12 pt in the 0_memoir.tex file and also in the univ-defaults.ldf file, but this didn’t work and it resulted in a file with an even smaller font size (I’m assuming it used the default fontsize for memoir instead). Is there any way I could change the novathesis.cls to use bp instead of pt/to convert between the two? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 31 replies
-
@dlrsb I'm not sure if we should be happy or cry with your message. Cry because 11.96 vs 12.00 is absolutely imperceptible by any terms except detailed analysis of the PDF internals, and they rejected the submission based on this claim. But, on the on the hand, we may be really happy, as it seems that is the only issue remaining to be solved. :) I found the solution, but I'm not sure how to make it work for you, depends on which precise version (commit) you are using, but try adding one(-by-one) of the following to your "Config/5_packages.tex": \AtBeginDocument{\@setfontsize\normalsize{12bp}{14.5bp}}
\AtBeginDocument{\makeatletter\@setfontsize\normalsize{12bp}{14.5bp}}
\AtBeginDocument{@setfontsize\normalsize{12bp}{14.5bp}\makeatother}
\AtBeginDocument{\makeatletter\@setfontsize\normalsize{12bp}{14.5bp}\makeatother} I believe one of the above should work. Please let me know that it really worked for you. I have added the fix to the uminho configuration file. Newer versions will be ok. :) |
Beta Was this translation helpful? Give feedback.
-
It works in the template. BTW, why did you replace the covers? |
Beta Was this translation helpful? Give feedback.
-
This is much unexpected. At least, one PhD thesis with the LaTeX 12pt font size was already accepted. What is your school? |
Beta Was this translation helpful? Give feedback.
-
@joaomlourenco looks like sending samples to the School of Engineering's Scientific Council was a shot in the foot. |
Beta Was this translation helpful? Give feedback.
-
Dear @b-pereira et all,
|
Beta Was this translation helpful? Give feedback.
-
Open \p@=1bp It will do the trick. Please confirm. NOTE: it seems it does not do the trick. It should but it does not. I'll investigate further. |
Beta Was this translation helpful? Give feedback.
-
Answer@dlrsb I found the answer. It works for all the cases that you specified like the "Statement of Integrity" title or "List of Figures" in the Contents, bold and italic fonts. Check the image at the end of the answer. Given that this template uses The scaling factor is 12/11.955 = 1.003764115 and it gives 12pt on the spot (not 11.99pt). Go to \setmainfont{NewsGotT}[
Ligatures=TeX,
Mapping=tex-text,
Path = NOVAthesisFiles/FontStyles/Fonts/,
UprightFont=n015003t.ttf,
BoldFont=n015006t.ttf,
AutoFakeSlant=0.15,
BoldSlantedFont=n015006t.ttf,
BoldItalicFont=n015006t.ttf,
BoldSlantedFeatures={FakeSlant=0.15},
BoldItalicFeatures={FakeSlant=0.15},
Scale = 1.003764115 % ------------------------------- HERE
]
\setfontfamily\newsgott{n015003t.ttf}[
Ligatures=TeX,
Mapping=tex-text,
Path = NOVAthesisFiles/FontStyles/Fonts/,
Scale = 1.003764115 % ------------------------------- HERE
]
\setfontfamily\newsgottbf{n015006t.ttf}[
Ligatures=TeX,
Mapping=tex-text,
Path = NOVAthesisFiles/FontStyles/Fonts/,
Scale = 1.003764115 % ------------------------------- HERE
]
\setfontfamily\newsgottbfit{n015006t.ttf}[
Ligatures=TeX,
Mapping=tex-text,
Path = NOVAthesisFiles/FontStyles/Fonts/,
BoldItalicFeatures={FakeSlant=0.15},
Scale = 1.003764115 % ------------------------------- HERE
]
\setfontfamily\newsgottit{n015003t.ttf}[
Ligatures=TeX,
Mapping=tex-text,
Path = NOVAthesisFiles/FontStyles/Fonts/,
ItalicFeatures={FakeSlant=0.15},
Scale = 1.003764115 % ------------------------------- HERE
]
\setfontfamily\newsgottsl{n015003t.ttf}[
Ligatures=TeX,
Mapping=tex-text,
Path = NOVAthesisFiles/FontStyles/Fonts/,
AutoFakeSlant=0.15,
Scale = 1.003764115 % ------------------------------- HERE
] Also, to do this don't add @joaomlourenco point definition because it will set the main font to 12.045 pt.
|
Beta Was this translation helpful? Give feedback.
-
@b-pereira and @dlrsb There was a problem with the main font. @b-pereira suggestion of changing the scale is, indeed, the perfect solution! Congrats on the idea. Please submit a patched Now, concerning the mono fonts, the inter-line spacing, etc… my advice is “don't create problems where there is none!” Submit again and let them point out (or not) other problems. |
Beta Was this translation helpful? Give feedback.
Answer
@dlrsb I found the answer.
It works for all the cases that you specified like the "Statement of Integrity" title or "List of Figures" in the Contents, bold and italic fonts. Check the image at the end of the answer.
Given that this template uses
\fontspec
for News Got T the way to do it is to scale all News Got T font definitions with theScale
option.The scaling factor is 12/11.955 = 1.003764115 and it gives 12pt on the spot (not 11.99pt).
Go to
NOVAthesisFiles/FontStyles/FontStyles/newsgott.ldf
and addScale = 1.003764115
to all NewsGotT definitions, like below:\setmainfont{NewsGotT}[ Ligatures=TeX, Mapping=tex-text, Path = NOVAthesisFiles/FontStyles/Fonts/, UprightFont…