Hot answers tagged

6 votes
Accepted

The second of two marginnotes in a Hebrew document is superimposed on the main text

This here seems to be the correct values. Attention! It doesn't handle reversemarginpar, and twoside hasn't been tested yet. \documentclass{article} \usepackage[bidi=basic,hebrew,provide=*,layout=...
5 votes

The second of two marginnotes in a Hebrew document is superimposed on the main text

Interestingly, marginnote takes into account RTL texts, but this feature is activated only when bidi is loaded. Apparently, it can be cheated in the following way: \documentclass{article} \usepackage[...
  • 8,551
4 votes

How to cover the entire page area with grid?

Although the question isn't clear, you apparently are trying to draw a grid on the background of a page. You can use either tikz package alone for a single page or combine it with background to get it ...
  • 911
2 votes
Accepted

Why does not this bottom margin change?

It's not working for a few reasons. Some of which I covered in my previous answer you linked to. You can't say \afterpage\aftergroup\atfirstpage{0}. Only \aftergroup is getting passed to \afterpage (...
  • 25.2k
2 votes

The second of two marginnotes in a Hebrew document is superimposed on the main text

Add the following piece of code after loading the marginnote package to (hopefully) correct marginnote's \@mn@if@RTL which is supposed to test whether the current text flow is RTL or not. \usepackage{...
  • 10.5k
2 votes
Accepted

Center a `tabular` table despite it overflowing the page slightly

You can use a \makebox[\linewidth][c]{…} to center (horizontal material like a tabular) independent from the width: \documentclass[a4paper]{article} \usepackage{caption} \begin{document} \begin{table} ...
  • 1,964
2 votes
Accepted

Fit formula into column

Two posibilitiea as mentioned in my comments: \documentclass[twocolumn]{article} \usepackage{lipsum} %\usepackage{newtxtext, newtxmath} \usepackage{nccmath} \begin{document} With smaller font as ...
  • 271k
1 vote
Accepted

How can I create margins in included pdf to print it properly

This puts a 1cm margin on all 4 sides. Slight fudge factors were needed to get a perfect fit. \documentclass[landscape,a4paper]{article} \usepackage{pdfpages} \usepackage{pgfmath} \usepackage[margin=...
  • 72.9k
1 vote
Accepted

Undesired Whitespace Between Start of Subsection and Start of Text

The reason behind the big gap stems from the fact that sectional units are bound to the first line of the paragraph following it. Otherwise, it would be weird to have a sectional unit at the bottom of ...
  • 580k
1 vote
Accepted

Nested list without indentation

You can use the wide key to make the label be part of the list text. \documentclass[a4paper]{article} \usepackage[a4paper, left=1cm, right=1cm, top=2cm, ...
  • 207k
1 vote
Accepted

\themysection numbers in left margin (scrbook)

Using \othersectionlevelsformat is useless. \documentclass[ 12pt, a4paper, bibliography=totoc, chapterprefix=false ]{scrbook} \usepackage[left=3.5cm,right=3.5cm,top=4cm,bottom=3.5cm]{geometry} ...
  • 1.0m
1 vote

How to force a table into page width?

You can use the colspec function in the tabularray package. Then, use colspec = {X[1]X[2]} to specify the ratio of the width of the table.

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