Tag Info

New answers tagged

0

This moves the entire section to page 2. \documentclass{article} \usepackage{lipsum} \usepackage{marginnote} \begin{document} \lipsum[2-6] \section{Section} \strut\marginnote{Note}% This text should follow the section heading without a page break in between! Uncommenting \verb|\marginnote{Note}| fixes things. \end{document} This moves ...


2

After correcting your MWE a little bit that it works, it gives result as you desire: \documentclass[oneside, letterpaper, 12pt]{report} \usepackage{graphicx} \usepackage{lipsum} \begin{document} \chapter{bla} \lipsum[1] \appendix % \renewcommand\thesection{\Alph{section}}% possible alternative \renewcommand\thechapter{\Alph{chapter}} % ...


1

Almost always in such cases you need a list rather than minipages or tables. here I use a list that borrows from enumerate and description to handle the enumeration counter but use the optional argument of \item to set the points. \documentclass[a4paper,12pt]{report} \usepackage{geometry} \geometry{a4paper,left=18mm,right=18mm, top=3cm, bottom=2cm} ...


4

Using \begin{table} alone is equivalent to \begin{table}[tbp] Change all occurrences of \begin{table} in BilagC3.tex into \begin{table}[!htbp]


1

There is a cheap answer in the standard LaTeX document classes: When there are no other floats (figures or tables) around, you can use a float to achieve what you want: 1) At begin of the next page: \begin{figure}[t] \C \end{figure} 2) At end of the current page (i.e. before pagebreak) \begin{figure}[b] \C \end{figure} When you have to deal with ...


2

Here is one example using the \AddThispageHook feature of the everypage package, which as you will see upon compilation, converts to red font between pages 1 and 2, which is after the actual invocation point. \documentclass{article} \usepackage{everypage,lipsum,xcolor} \begin{document} \lipsum[1] \AddThispageHook{\color{red}} \lipsum[2-8] \end{document} ...


1

I think I may have found a solution: (based on this question and answer) % !TEX TS-program = xelatex \documentclass[showtrims]{memoir} \usepackage{tikz} \setstocksize{11in}{8.5in} \settrimmedsize{8.5in}{5.5in}{*} \settrims{1in}{1in} \setulmarginsandblock{1in}{1in}{*} \setlrmarginsandblock{1in}{.75in}{*} \checkandfixthelayout \newcounter{headeronpage} ...


4

FWIW, in ConTeXt you can use \startpostponing to print content on a particular page. For example, to position text (or float) on the next page, use: \starttext .... \startpostponing[+1] ... \stoppostponing ... \stoptext To position text or float on a particular page (say 20), use \startpostponing[20] ... \stoppostponing \starttext .... % Content must ...


1

Since standalone class doesn't define things like chapters, you will have to do your own formatting. \documentclass[border=.25in,multi={minipage}]{standalone} \usepackage{lipsum} \setlength{\textwidth}{5in}% constant width document \newcounter{chapter} \newcommand{\chapter}[1]{% Chapter title \refstepcounter{chapter}% \centerline{\large\textbf{Chapter ...


2

multicol and longtable are not designed for such use and table environment don't allow page break. Here a solution with paracol package \documentclass[12pt,a4paper,final]{report} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{relsize} \usepackage{paracol,lipsum} \usepackage[frenchb]{babel} %\columnratio{.5} %\columnsep =10pt ...


5

The package detects this and warns that the final frame segment at the page break is empty. It does however output the segment, otherwise you would not get the final border of the frame. here though you only have side borders so (I think, I don't know this code that well) it is safe just to discard the final segment. It seems to work here at least. (See ...


1

I can show how to set this feature in plain TeX with OPmac. The \begitems and \enditems are redefined. First one reads the data from REF file (this is similar like aux in LaTeX). The result of such reading is the \lastitem macro where the number of items in the current items-list is stored. The second one (\enditems) saves the \itemnum (i.e. the number of ...


2

You were just unlucky. With \rule{373.44246pt}{505pt} It takes 2 pages, with section 2 and the image on page 2. With \rule{373.44246pt}{510pt} It takes 3 pages, with blank page 2. However TeX does warn in that case Overfull \vbox (4.90276pt too high) has occurred while \output is active Normally an overfull vbox does what you might expect and ...


0

Ok I solved my question looking from another post. So if it is judged as a duplicate can be removed. Here is a MWE with my desired output: \documentclass[a4paper,11pt,titlepage,twoside,openright]{book} \usepackage[makeindex,acronym,numberedsection,counter=chapter,nonumberlist]{glossaries} \usepackage[titletoc, page]{appendix} \newacronym{abc}{ABC}{Alpha ...


0

You can add without any writing, just go to menu bar. As simple as that:



Top 50 recent answers are included