Tag Info

New answers tagged

4

Drop the call to \makelabels, which should print envelope labels at the end of your letter.


0

I found answer that I want; twocolumn. \documentclass[a4paper,twocolumn,12pt]{book} ... It is perfect working for me (tcolorbox and mdframed). Indeed, it is not working inside multicols environment. Thanks for guiding @Thomas F. Sturm and @Christian Hupfer.


1

Here's how to do this using ltxtable: Table goes in a separate file; environment longtable; with tabularx-style X column specifiers where needed. Insert the table using \LTXtable{<target-width>}{<file>}, setting the desired width and choosing the appropriate file which contains the longtable environment. One note: the center environment adds ...


0

A blank page can be caused by the figure (or table, etc) within the landscape environment exceeding the dimensions of the page's textwidth or textheight. In this case, we can manually define the page margins with \newgeometry{} and then revert back to the document default with\restoregeometry. For example: \documentclass{article} \usepackage{geometry} ...


3

A solution can be to redefine \cleardoublepage to be \clearpage locally to those chapters when you don't want that behavior. So just write {\let\cleardoublepage\clearpage% \input{Chapters/Abstract} \input{Chapters/Abstrakt} \input{Chapters/Acknowledgements} \tableofcontents \listoftables \listoffigures } and you should obtain what you want.


4

Here's another alternative. In any case, a change of the skin is the way to a solution. If the main skin is enhancedlast, the break sequence will be enhancedmiddle (first), enhancedmiddle (middle), enhancedlast (last). Using the subskin feature, I take this standard sequence and add the appropriate shadow options. This gives: \documentclass{article} ...


4

Yes, it's possible. I defined a new style and a new skin (similar to enhancedmiddle) allowing to do this (perhaps there's a simpler solution): \documentclass{article} \usepackage[a6paper]{geometry}% just for the example \usepackage{tcolorbox} \usepackage{lipsum} \tcbuselibrary{breakable,skins} \makeatletter \tcbset{ mybase@middle/.style={% ...


2

First, it is important to emphasize that there is no automatic breakability for a tcolorbox inside a multicols environment. There is only the possibility to insert manual break points using the break at option. This also means that these break points have to be manually readjusted if new material is inserted before such a box. I intended this feature for ...


4

Yes. Redefine \section to always issue \cleardoublepage: \let\oldsection\section% Store \section in \oldsection \renewcommand{\section}{\cleardoublepage\oldsection}% Prepend new \section with \cleardoublepage The above assumes you're using a twoside document class option and/or openright.


3

See Frank Mittelbach's answer to How to influence the position of float environments like figure and table in LaTeX? Here's the relevant passage from that answer Double-column floats are always deferred first When LaTeX encounters a page-wide float environment (indicated by a * at the end of the environment name, e.g., figure*) in two column-mode, it ...


1

This is a somewhat cleaner version of your code. At least it compiles without error. It uses changepage to adjust the margins on the first page. However, you must manage the page break and restore the margins in the body of your letter. At least, I cannot find a way to avoid that at the current time. The top/bottom margins don't need adjusting - we can just ...


8

It would almost certainly be better to generate \section{The beginning of everything} but otherwise remove the \samepage and add penalties before and after. {\vspace{0pt plus 3\baselineskip}% \pagebreak[1]% \vspace{2\baselineskip plus -3\baselineskip}% \centering Chapter 1\\*% \Large The beginning of everything% \nopagebreak \vspace*{\baselineskip}% ...


4

You can use the tcolorbox package with its listings library to add any fancy things to a listing: \documentclass{article} \usepackage{pifont,lipsum} \usepackage[skins,breakable,listings]{tcolorbox} \newtcblisting{scissors}{% enhanced jigsaw,breakable,size=small, colframe=black,colback=black!5!white, listing only, listing options={% put any ...


11

Update: 2015/01/06: I've uploaded the jumplines package to CTAN -- it's available there and on TeXLive now Note: this is a preliminary solution Some caveats to be solved! \documentclass[12pt,twocolumn]{article} \usepackage{tcolorbox}% \usepackage{blindtext}% \usepackage{xcolor}% \usepackage{hyperref} \tcbuselibrary{breakable} \newbox\articlebox% ...



Top 50 recent answers are included