Tag Info

Hot answers tagged

6

I'm not sure if the following is the solution you are looking for. The box stretches into the page margin and marginnote is used to add margin notes: \documentclass[twoside]{scrartcl} \usepackage[breakable, many]{tcolorbox} \usepackage{changepage} \usepackage{lipsum,marginnote} \NewTColorBox[auto counter,number within=section]{solution}{+O{}}{% ...


5

Referencing the geometry package documentation, marginparsep modifies \marginparsep, separation between body and marginal notes. Hence setting marginparsep=⟨length⟩ to, say 0pt would make this separation zero. \usepackage[showframe, marginparsep=0pt, top=0.5in, bottom=0.5in, left=1in, ...


5

You could do this... \documentclass{memoir} \begin{document} Hello my name is Gaussler and I have a problem with footnotes before linebreaks. If the word is sufficiently long, the line breaks look just \footnote{Footnote}\nolinebreak\hspace{0pt}superhypoerproblematic and I don't know what to do about it, so can you help me solve this problem? It would ...


5

The amsart class makes the precise choice of always centering displays with respect to the overall margins, even in lists where the left margin is shifted. Your redefinition of mathdisplay has several defects, as you realized. The solution is simpler: remove \fullwidthdisplay from \everydisplay. I added also an align environment to show that it works, too. ...


4

Within the default Article (Standard Class) (see you Document > Settings... > Document Class tab), the Title (Author and Date) is set using a macro called \@maketitle (inside article.cls. This is what that macro looks like: \def\@maketitle{% \newpage \null \vskip 2em% \begin{center}% \let \footnote \thanks {\LARGE \@title \par}% \vskip ...


4

It's the choice of the document class designer, of memoir in this case. Although your title mentions default margins, you show memoir which has a larger margin it seems to me: %\documentclass[twoside,a5paper]{memoir} \documentclass[twoside,a5paper]{article} \usepackage{geometry} \usepackage{lipsum,microtype} \begin{document} \noindent\lipsum[1-22] ...


3

You don't need tabbing; just make a command that typesets the verse number in a zero width box: \documentclass{article} \usepackage[margin=1.5cm]{geometry} \usepackage{lipsum} % just for the example \usepackage{xeCJK} \setmainfont{Linux Libertine O} \setCJKmainfont{Hiragino Mincho Pro} \newcommand{\versenum}[1]{% ...


2

\centering is a bit too much here and won't be appropriate if there is following text. Use \begin{center}...\end{center] escaped with a preceeding \leavevmode: \documentclass{memoir} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath,amssymb,geometry,graphicx,amstext} \usepackage[amsmath]{ntheorem} % margin theorem ...


2

My original \kern0pt approach suffered from breaking hyphenation. So far, the only remedy I have found is to manually supply hyphenatation points to the word following the footnote. In this case, the \kern or \hskip is unnecessary. \documentclass{memoir} \begin{document} Hello my name is Gaussler and I have a problem with footnotes before linebreaks. ...


2

The actual page is set up with a very large margin paragraph width that contains the sectional units. Here's a view on the first page with you set with the showframe key added to geometry: To stick with the current setup, you need to add to your preamble \usepackage{changepage} and then use \begin{adjustwidth}{-\marginparwidth}{0pt} <your letter ...


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 ...


1

The calendar environment requires at least one \calday command for typesetting, otherwise it complains. Amongst other issues: Either \begingroup \centering .... \endgroup \begin{center}...\end{center} for the 'same' effect, however with additional spacing above and below. Use \usepackage{geometry} package (not done in my solution) to change the page ...


1

You school does strange stuff there. KOMA provides option titlepage=firstiscover that uses different margins for the first typeset titlepage. You can change the margins by redefining them. It should be noted, that KOMA provides its own package for setting the header, fancyhdr should not be used. Uncomment package showframe to better spot the differences. ...


1

I had same same issue and discovered, that for more recent versions of KOMA-Script (from 3.12 on), there is the option titlepage=firstiscover present to achieve exactly, what you were looking for. Just use it as option for your documentclass: \documentclass[titlepage=firstiscover]{scrbook} With \renewcommand*{\coverpagetopmargin}{0mm} ...



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