Hot answers tagged

57

Combining results from the questions cited in my comments... namely, doncherry's use of the fts "Teen Spirit" font (http://www.tug.dk/FontCatalogue/teenspirit/) referenced at How do I make my document look like it was written by a Cthulhu-worshipping madman?. I also used my answer at What are the ways to position things absolutely on the page? Below, I ...


4

Although you have all graphics organized by pairs into a floatrow, all floatrows are placed inside one figure which can not be broken between pages. If you declare each floatrow inside and independent figure environment, each figure will float and be distributed over different pages. It's possible to force pgfplots size with axis' size option. In this ...


4

In your preamble \documentclass{article} \begin{document} \ifdefined\screenview screenview % set margins for screen \else PDF % set margins for PDF \fi \end{document} On command line pdflatex "\def\screenview{} \input{whatever.tex}" Note: I've no idea what the extra braces in \screenview{} are for, but they do seem to be necessary.


4

You can reset the margins in \@makefntext % !TeX encoding = UTF-8 \documentclass[letterpaper,12pt,oneside]{book} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage[spanish]{layout} \usepackage{graphics,graphicx} \usepackage[bottom=2.5cm,top=3cm,left=1.8cm,right=1.8cm,footnotesep=0.5cm]{geometry} % ,showframe \usepackage[flushmargin]{...


3

I think this is best answered in Section 2.1 (Laying out the page / Introduction). I'll quote the paragraph here: There are three main parts to a page: the page itself, the typeblock, and the margins separating the typeblock from the edges of the page. Of slightly lesser importance are the running headers and footers, and possibly marginal notes. ...


3

Here is a solution with tasks. If you want sections tobe in small caps, you can redefine \sectionfont in the preamble. Note the syntax \sc, \bf, it is deprecated and should be replaced with the switches \scshape, \bfseries, \itshape or the commands \textsc{…}, \textbf{…}, \textit{…}. \documentclass[margin,line]{res} \usepackage[inline]{enumitem} \setlist[...


3

You can adjust the \itemindent inside algorithmic environment, as it uses \list internally. \documentclass{article} \usepackage[noend]{algorithmic} \renewcommand{\algorithmicrequire}{\bf function} \renewcommand{\algorithmicensure}{\bf end} \def\PROCEDURE{\normalfont\REQUIRE} \def\ENDPROCEDURE{\ENSURE~} \algsetup{indent=11pc} \begin{...


2

In general I don't think that you can do this automatically. TeX typesets paragraph by paragraph. It is only after a paragraph is set does TeX check if there should have been a pagebreak in the middle of it. If so TeX breaks the page, puts the remainder of the typeset paragraph at the top of the next page, and then carries on with the next paragraph. This ...


1

The usual classes take a draft option whereby any overlong line (or other typeset material) is marked by a black box in the margin. \documentclass[...,draft,...]% % {memoir} % or % {book} % or {report} % or % {article} % or others The classes can also take a final option which does not mark overfull lines (this is a default option so there is no need ...


1

You'll have problems with the marginal notes, if you use them. However, one centimeter for the binding is normally too much. \documentclass[a4paper]{amsbook} \usepackage{showframe,lipsum} \calclayout % just to be on the safe side \addtolength{\oddsidemargin}{1cm} \addtolength{\evensidemargin}{-1cm} \begin{document} \mainmatter \chapter{Test} \lipsum[1-...


1

Expanding on David's approach at the cited question (Automatically stretch table to evenly fill horizontal space?). The syntax \autotable{columns}content\endautotable places the content into a temporary tabular box using the specified columns (see ADDENDUM for environment form of solution). If it is undersized, it uses David's approach with the dimension ...


1

B5 paper at twelve point size with enlarged leading is a guarantee for bad typesetting and, indeed, the result is among the worst I've seen. Anyway, if you have to use a class, why bother with changing its setup? \documentclass[openright,twoside,b5paper,12pt,fleqn]{psd_thesis} \linespread{1.5}\selectfont % the class does the wrong thing \usepackage{...


1

If you're okay with an algorithmic that doesn't break across the page boundary, you can set the entire thing inside a varwidth box. Then you can move it around in whichever way you want: \documentclass{article} \usepackage{varwidth} \usepackage[noend]{algorithmic} \renewcommand{\algorithmicrequire}{\textbf{function}} \renewcommand{\algorithmicensure}{\...


1

There is actually no problem; it's just how recent versions of the software deal with output page dimensions. The fundam class is from 1998 and its pagination parameters are set so that the text block appears (almost) centered on A4 paper. However, recent versions of LaTeX try to better cope with the problem, so they do set the paper width and height based ...


1

Just changing the horizontal margin to 2.5cm, it can fit text width using tabularx and threeparttable: \documentclass[a4paper, 10pt]{article} \usepackage[hmargin=2.5cm, vmargin=3cm, showframe]{geometry} \usepackage{amssymb,amsmath, array, float, subfig} \usepackage{ragged2e, setspace} \usepackage{pdflscape} \usepackage{graphicx, natbib, cite} \...


1

The simple way to put it is that \caption likes to be inside a minipage. BTW, I modified "Dep.Var.Name." to fit the p{} field. I take it all those packages are there to test compatibility? \documentclass[a4paper,10pt]{article} \usepackage[margin=3cm]{geometry} \usepackage{amssymb,amsmath, array, float, subfig} \usepackage{ragged2e, setspace} \...


1

This isn't exactly a solution to your problem, but a suggestion on how you could improve the look of it, and make it fit into the text. I realise this may not be something that you can use, but I don't think you should violate the margins. Remove the repeating header title Variable, as it is already in the leftmost header. I don't see a reason for ...


1

The simple answer is the command \marginpar{} or, for a bit more control, the package marginnote. Their usage is described here. The example in the question above was created with the following code: \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{marginnote} \begin{document} Once upon a time, in the ...


1

The easiest thing to do is to place an oversized image inside of a box that is the normal \textwidth in size. \documentclass{article} \usepackage{graphicx} \usepackage{lipsum} \begin{document} \lipsum[1] \begin{figure}[ht] \includegraphics[width=\textwidth]{example-image-A} \end{figure} \begin{figure}[p] \makebox[\textwidth]{\includegraphics[width=1.3\...


1

You may use \reversemarginpar to have notes on the left side of the page and nolist option to create a note not listed in the ToDo's and Notes area. To create a note listed but not in the text, I propose to add an inline, nolist note after \listoftodos command, but I hope someone else will find a better solution! \documentclass[a4paper,12pt]{article} \...



Only top voted, non community-wiki answers of a minimum length are eligible