Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setspace with non standard point sizes. #6

Open
davidcarlisle opened this issue Jan 11, 2025 · 0 comments
Open

setspace with non standard point sizes. #6

davidcarlisle opened this issue Jan 11, 2025 · 0 comments

Comments

@davidcarlisle
Copy link
Member

https://tex.stackexchange.com/questions/734794/spurious-text-when-using-setspace-and-scrextend-with-decimal-font-size

here \@ptsize is 0.5 we could avoid the issue by rounding up(?) to the nearest integer before doing the \ifcase but if changing this area we might also want to support other values eg extsizes which leaves this command with its "natural" value rather than ten less.

\documentclass{article}\usepackage[fontsize=10.5pt]{scrextend}% 0.5 10.5, 12.59996

%\documentclass{article}\usepackage[fontsize=14.5pt]{scrextend}% 4.5, 14.5, 17.39995

%\documentclass[14pt]{extarticle} % 14, 14.4, 17
%\documentclass[12pt]{extarticle} % 12, 12, 14.5

\makeatletter
\show\@ptsize
\show\f@size
\showthe\baselineskip
\usepackage{setspace}

\begin{document}
\onehalfspacing
text
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant