# Tag Info

3

If you want to creat a document with only one page and sized according size of an inserted graphic, standalone class can help you. It crops the output file to contents. Following code uses TiKZ to insert a graphics as a tikzpicture node. Every node contains certain inner sep between its contents and border. With inner sep=0pt there won't be any white margin ...

3

As mentioned in your comment, you are using an old version of moderncv. Yours is version 1.5.1, the current one is 2.0.0. Because I have only the current one installed I can show you only an MWE for the current version. The current version uses different command names, that's at last your problem. Before we can check where your problem comes from we ...

3

Command \areaset from package typearea (KOMA-Script bundle) sets the dimensions of the text body, i.e. the width and the height of the text area and as optional argument a binding offset (BCOR). As a result of the layout calculation by typearea the foot margin will be be nearly twice as high as the top margin. So it is not possible to get your desired ...

3

Putting vertical space before the frame title does not solve the problem for the frames without a title. You could instead try increasing the \headsep: \addtolength{\headsep}{0.6cm}

3

Unfortunaly there is no MWE in the question. So I do not know which KOMA-Script class is used and if the document is onesided or twosided. So here is an example for twosided scrbook using geometry and scrlayer-scrpage. If you use the outdated package scrpage2 or fancyhdr (not recommended for use with KOMA-Script) see here. ...

2

It takes two runs to locate the image correctly. \documentclass{scrartcl} \usepackage[utf8]{inputenc}% start of gratuitous packages \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage[ total={512pt,512pt}, papersize={512pt,512pt}]{geometry} \addtolength{\oddsidemargin}{-13pt} ...

2

You have two possibilities: discontinue itemize for inserting image define new environment, which will do this just for image. In second case try: \documentclass{article} \usepackage{changepage} \makeatletter \newenvironment{restoretext}% {\@parboxrestore% \begin{adjustwidth}{}{\leftmargin}% }{\end{adjustwidth} } \makeatother ...

2

Package classicthesis sets the page layout using typearea. So change the margins to your needs after loading classicthesis. \documentclass[ oneside, 12pt, a4paper, %footinclude=true, %headinclude=true, ]{scrbook} \usepackage{lipsum}% dummy text \usepackage[linedheaders,parts,pdfspacing]{classicthesis} \usepackage[total={17cm,25cm}, top=3cm, ...

2

I wouldn't mix geometry and LaTeX syntax, and write simply \documentclass[twoside,10pt]{report} \usepackage[papersize={169mm,239mm},top=37mm,text={111mm,165mm},centering]{geometry} \usepackage{lipsum} \begin{document} \lipsum[0-5] \end{document} The behavior you noticed is due to the one-inch driver margins: roughly, the margin is not given by ...

2

If you don't specify the width for marginal notes, geometry uses the default 65pt with a default \marginparsep of 11pt. Its heuristics lead to a text width of 338.5863pt, over a 483.69684pt page width, with equal margins at either side, so the margin width is 72.55527pt; since 65+11=76 is larger than the available margin, a warning is issued. If you ...

1

The sign in the picture come from the package bclogo obtain with the command \bcattention.

1

Rob Oakes says that; The memoir class, by Peter Wilson, may be the Great Start of Africa of LaTeX document classes. In the right hands, it can be used to typeset nearly any type of book imaginable. And it turns out, that with a little bit of trickery, you can use its \marginpar and sidecaption environments to automatically incorporate ragged marginalia ...

1

Thanks Steven for the hint and reference Emulating article class margins with the geometry package pass is the key which keeps the original settings and also allows to create a new command with custom options. I added pass parameter to the geometry package and after the \newpage and I did setup the custom margin via \newgeomtery command ...

1

First: your given code has nothing to with class moderncv, so I deleted the tag moderncv. Second: Looking at the given code the best practice seems to be to add a linebreak to start the doi number in the next line. But that yould cause great spaces in the line before. so the best way is to add also a command \hfill to get no big spaces and no warning ...

1

I'd simply use a macro \exercise. There you can also internally step a counter for referencing. The numbers are put in the margin as requested. \documentclass{article} \newcounter{exercise} \setcounter{exercise}{0} \newcounter{subexercise} \setcounter{subexercise}{-1} \renewcommand\thesubexercise{\arabic{exercise}\alph{subexercise}}% ...

1

When you do a minipage, the contents is wrapped inside a \vbox (or \vtop or \vcenter, but the cases are the same), which is set to the width of the widest box in it. In this case, the widest boxes are the lines of the paragraph in adjustwidth, which are \textwidth+0.5in wide; the adjustment on the left is not taken into account, because it's obtained by an ...

1

My 2 cents to the question. I had the same problem with a thesis template, but I solved this issue by loading the geometry package (which is required in my document to get a B5 paper size) after the pdfx package and I had to do it in the template class. It may be useful to load a color profile (e.g. FOGRA39) in the metadata. See the pdfx manual for details. ...

1

I solved my problem with the enumitem package. \RequirePackage{calc} \newlength{\textleftmargin} \setlength{\textleftmargin}{3cm} \RequirePackage{enumitem} \setlength{\leftskip}{\textleftmargin} \setlist[itemize]{leftmargin=\textleftmargin} \setlist[enumerate]{leftmargin=\textleftmargin} ...

1

It's wrong to use center to begin with. In the following example I used the PDF for another answer; in the second page I added the same heading, in order to see that they're typeset in the same way. \documentclass[12pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[brazilian]{babel} ...

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