New answers tagged

2

page floats are only created if the float occupies enough of the page. In twocolumn mode it must be fuller than \dblfloatpagefraction whose value is by default 0.5. If you make it smaller (or the float fuller) it will not be moved to the end of the document: \documentclass[twocolumn]{article} \usepackage{lipsum} \renewcommand\dblfloatpagefraction{0.1} \...


3

The aastex61 class defines \section to do \def\section{% \if@firstsection \maketitle \global\@firstsectionfalse \setcounter{footnote}{\thefront@matter@foot@note}% \let\footnotetext=\old@foot@note@text \let\footnotemark=\old@foot@note@mark \clearpage \if@two@col \twocolumngrid \fi \fi \@startsection{section}{1}{\z@}{9pt ...


0

Have you try this : https://stackoverflow.com/questions/55552325/unwanted-page-break-after-maketitle ? I think it could work in your particular case.


2

Technically no problem: \documentclass{scrbook} \usepackage{blindtext} \usepackage[T1]{fontenc} \RedeclareSectionCommand[ style=section] {chapter} \begin{document} \chapter{First chapter} \label{CLA:first-chapter} \blindtext{} \chapter{Second chapter} \label{CLA:second-chapter} \blindtext{} \end{document} But why? A chapter is more or less by ...


1

Move the \addsec and the \subsection command to the pagecommand option of the first page: \documentclass[12pt,headings=Standardklasse,listof=totoc,numbers=noenddot]{scrartcl} \usepackage{showframe} \usepackage[left=2.50cm, right=2.50cm, top=2.50cm, bottom=2.00cm, footskip=1cm]{geometry} \usepackage[onehalfspacing]{setspace} \usepackage[main=ngerman, english]...


2

I guess that the longabstract is assumed to be more than one page long, so centering it in a page doesn't make sense. The definitions of the environments should go in the preamble. Avoid commands you don't know about, such as \null, and use standard LaTeX commands instead. Here the short abstract is vertically centered; remove the leading \vspace*{\fill} ...


0

Thanks to @UlrikeFischer comments, I now figure out the answer: Just delete the beginning \vfill in these environments. \documentclass[12pt]{book} \usepackage{setspace} \usepackage{lipsum} \begin{document} \clearpage \newenvironment{shortabstract}% {\cleardoublepage\thispagestyle{empty}\null\begin{center}% \bfseries \LARGE Short Abstract \end{center}...


0

I was not able to achieve the result using supertabular, but using a calstable from the package cals, works well. I defined a centred calstable with one column. Each cell consists of a new standard tabular environment with five centred columns (you may use a calstable instead). I emptied the calstable’s header row to ensure that yo did not get the same row ...


2

You can use \filbreak (The TeXbook, page 111). The most interesting macro that plain TeX provides for page make-up is called \filbreak. It means, roughly, “Break the page here and fill the bottom with blank space, unless there is room for more copy that is itself followed by \filbreak.” Thus if you put \filbreak at the end of every paragraph, and if your ...


1

Adding \setlist[enumerate,2]{beginpenalty=10000} to the preamble will do that (see section 3.5 "Penalties" in the enumitem manual).


0

Great question and Welcome to TeX SE! Here is a solution to your problem. My answer was inspired by another Stack Exchange chat that you can consult: How to prevent a page break before an itemize list? The MWE \documentclass[12pt,a4paper,sans]{moderncv} % possible options include font size ('10pt', '11pt' and '12pt'), paper size ('a4paper', '...


2

Well, the template you are using is build to have only one page ... If you need more you can fool the environment tweety which is defined as: \newenvironment{twenty}{% \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}ll} }{% \end{tabular*} } The issue here is that an tabular can not span pages ... So one possibility would be to use longtable I did not ...


12

Using collectbox and trimclip we can realize what you want in a more general way, that is, for any box. I added some optional arguments for additional clipping (e.g. for dealing with content that exceeds its bounding box). \documentclass{scrbook} \usepackage{mwe} \usepackage{trimclip} \usepackage{xparse} \makeatletter \newcommand\doublepagesplitoverlap{...


1

Well, one possibility is to use \usepackage{xltabular} to be able to use a combination of package longtable and tabularx. Then it is important that you have to redefine the header and footer of the table for the different pages like this: \caption{Summarized Analysis of Structured, OO, ADL \& WSO Approach}% \label{table:...


0

I had the same problem I swapped \pagebreak or \break or \newpage which all did not work in overleaf I swapped them for the command: \clearpage which doesn't clear the page, it puts the text on a clear page. That's what im using now.


Top 50 recent answers are included