Thank you so much. I was looking everywhere online for information on TeX's vertical spacing, and had little luck in tracking this down. I read Tex by Topic years ago and should have tried there!
\nointerlineskip works beautifully. I will look into the \makebox approach as well; it looks a lot ...
Search found 17 matches
- Mon Mar 04, 2024 11:18 am
- Forum: General
- Topic: Unexplained Vertical spacing outside of minipage
- Replies: 2
- Views: 5219
- Sun Mar 03, 2024 5:01 pm
- Forum: General
- Topic: Unexplained Vertical spacing outside of minipage
- Replies: 2
- Views: 5219
Unexplained Vertical spacing outside of minipage
Please help me understand what causes this extra space, or how to kill it.
To align multiple boxes vertically, without any additional space between them, I'm generating each box with a minipage environment, to exactly control the size (and eventually to use multi-paragraph text).
There is 1pt of ...
To align multiple boxes vertically, without any additional space between them, I'm generating each box with a minipage environment, to exactly control the size (and eventually to use multi-paragraph text).
There is 1pt of ...
- Wed Aug 30, 2023 10:21 pm
- Forum: General
- Topic: Generating different page layouts from the same source
- Replies: 3
- Views: 16183
Generating different page layouts from the same source
Thank you for the suggestions. I have it working, so this is an academic question only.
I've tried \LoadClass{scrartcl}, as you suggested, and \LoadClassWithOptions{scrartcl}; both produce only A4 documents.
When I include \show\@classoptionslist, it does include paper=letter for the letter ...
I've tried \LoadClass{scrartcl}, as you suggested, and \LoadClassWithOptions{scrartcl}; both produce only A4 documents.
When I include \show\@classoptionslist, it does include paper=letter for the letter ...
- Tue Aug 29, 2023 5:21 pm
- Forum: General
- Topic: Generating different page layouts from the same source
- Replies: 3
- Views: 16183
Generating different page layouts from the same source
I found a workaround. I still have no idea why \@classoptionslist stopped working, but instead of setting the paper size, I simply let it default to A4 then set it before the document begins.
mwe.cls
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{mwe}
% if letterleaf is defined in the Makefile, use ...
mwe.cls
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{mwe}
% if letterleaf is defined in the Makefile, use ...
- Tue Aug 29, 2023 2:22 pm
- Forum: General
- Topic: Generating different page layouts from the same source
- Replies: 3
- Views: 16183
Generating different page layouts from the same source
What's the best way to generate two versions of a document, on different paper sizes, from the same source, using a custom class based on scrartcl?
Context: I have a number of different documents, and have to apply the same formatting to each of them for consistency. Because the format depends on ...
Context: I have a number of different documents, and have to apply the same formatting to each of them for consistency. Because the format depends on ...
- Wed Jul 01, 2009 9:14 pm
- Forum: General
- Topic: Legal Question: licencing a new package
- Replies: 1
- Views: 1509
Legal Question: licencing a new package
I have done a number of Google searches on this and I've found a lot of debate but no answers.
Basically: I am looking for practical advice. If I define a new LaTeX package using an existing one, what restrictions does the license of the existing package place on the new package?
I am writing a ...
Basically: I am looking for practical advice. If I define a new LaTeX package using an existing one, what restrictions does the license of the existing package place on the new package?
I am writing a ...
- Sun Jun 28, 2009 4:27 pm
- Forum: General
- Topic: Calculating \parshape
- Replies: 1
- Views: 3635
Re: Calculating \parshape
I can't say that I understand the problem, but I now have a workaround.
The \@verbatim command (called at the start of a verbatim environment) does, indeed, throw a new paragraph (potentially up to two), using the \@@par command, and it does so to prevent any current \parshape from taking effect ...
The \@verbatim command (called at the start of a verbatim environment) does, indeed, throw a new paragraph (potentially up to two), using the \@@par command, and it does so to prevent any current \parshape from taking effect ...
- Sat Jun 27, 2009 8:49 pm
- Forum: General
- Topic: Calculating \parshape
- Replies: 1
- Views: 3635
Calculating \parshape
I'm experimenting with changing the shape of paragraphs inside a LaTeX document.
I currently have a command (called from \everypar) that generates the \parshape arguments, and executes it by outputting it to a file and then using \input. I'm sure it could be improved by using either \aftergroup or ...
I currently have a command (called from \everypar) that generates the \parshape arguments, and executes it by outputting it to a file and then using \input. I'm sure it could be improved by using either \aftergroup or ...
- Sun Oct 19, 2008 4:29 pm
- Forum: General
- Topic: Making pages with different widths
- Replies: 5
- Views: 3903
Making pages with different widths
Is it possible to tell LaTeX not to break a page except at a paragraph break (i.e. only break pages at the end of a paragraph)?
I've still had no luck in trying to get this to work by changing the page width inside a paragraph. According to a friend of mine, I've accidentally hit one of the ...
I've still had no luck in trying to get this to work by changing the page width inside a paragraph. According to a friend of mine, I've accidentally hit one of the ...
- Sun Aug 31, 2008 3:54 pm
- Forum: General
- Topic: Making pages with different widths
- Replies: 5
- Views: 3903
Making pages with different widths
Thanks for your suggestions. I've been trying these packages but so far have had no luck in changing the page width in the middle of a paragraph.
This example illustrates the problems I'm having with changepage:
\documentclass{letter}
\usepackage{lipsum}
\usepackage{changepage}
\begin{document ...
This example illustrates the problems I'm having with changepage:
\documentclass{letter}
\usepackage{lipsum}
\usepackage{changepage}
\begin{document ...