Hot answers tagged

12

You can make the argument of \aux delimited by a space, so it operates word-by-word, rather than token-by-token (which is why it doesn't work with accented characters: they are made of multiple tokens). \documentclass[12pt]{article} \usepackage{graphicx} \usepackage{lcg} % decoration \def\effect{} \def\decorateEND{\decorateEND} \edef\decorate#1#2{% \...


8

Here is a solution based on this answer. \documentclass[12pt]{article} \usepackage{graphicx} \usepackage{lcg} \usepackage{soul} \makeatletter \def\SOUL@soeverytoken{% \efect{\the\SOUL@token}} \makeatother \newcommand{\jumpingbox}[1]{\rand\raisebox{\therand pt}{\fbox{#1}}} \newcommand{\rotationbox}[1]{\rand\rotatebox{\therand}{\fbox{#1}}} \def\decorate#1#...


3

Heavily depends on your document class. Can you provide a minimum working example? A few lines of code, as short as possible, that one can copy and paste to overleaf? Assuming you use the scrartcl class, you simply call all relevant macros again like this: \documentclass[titlepage]{scrartcl} \begin{document} % Make english title \title{English ...


2

Since you have tagged this "journal-publishing", if you are planning to submit your article to the AMS (you are using amsart), please remove the geometry resetting. The page width is very important in deciding line breaks and layout of displays. If you change it, especially to make it wider (as you have done here), if you submit the article to a journal ...


2

Is your objection to the running header on the top of every page? You can suppress this by adding \pagestyle{plain} before \begin{document}.


2

Define your own title with -- https://en.wikibooks.org/wiki/LaTeX/Title_Creation \documentclass[11pt]{article} \makeatletter \def\course#1{\gdef\@course{#1}} \def\@course{\@latex@warning@no@line{Hey you, no \noexpand\course given}} \def\@maketitle{% \newpage \null \vskip 2em% \begin{flushright}% \let\footnote\thanks \vskip 1.5em% ...


2

I think there is a missunderstanding ... To visualize the typing area and the margins you can use package showframe. In the following MWE I corrected some class options to get rid of the corresponding warnings in the log file ... With the following MWE \documentclass[% ngerman, % pdftex, % <==================================================== ...


2

includepdf sets \fboxrule to zero, and so the rules are no longer seen. You can reset this in the page command: \documentclass{report} \usepackage{pdfpages} \usepackage{titlesec} \usepackage{titletoc} \usepackage[toc,page]{appendix} % renamming stuff \renewcommand{\appendixname}{Annexe} \renewcommand{\appendixpagename}{Annexes} \renewcommand{\...


2

You employ a lot of manual shifts. All of those can be avoided with ytick=data. The errors also get fixed that way. This addresses the main point, namely the errors, and point 1 of your list. Since I am a fan of one question per question, I stop here, the more though since I thought that point 2 was addressed by Torbjørn T. in a very recent answer, which I ...


1

Here is a solution with the xhfill package, and titlesec with option [explicit]: \documentclass{report} \usepackage{geometry} \usepackage[explicit]{titlesec} \usepackage{xhfill} \titleformat{\chapter}[block] {\filcenter\bfseries\Huge} {\xrfill[0.4ex]{3pt}\ \thechapter.} {0.3em} {#1\ \xrfill[0.4ex]{3pt}} \begin{document} \chapter{Introduction} \end{...


1

See if this works: \renewcommand{\thesubsubsection}{\arabic{subsubsection}} \titleformat{\subsubsection} [block] {\vspace{0.1cm}\fontsize{14}{12} \selectfont\raggedright} % <------ Added \raggedright, here {\fontsize{10}{12} \selectfont SECTION\ \thesubsubsection} {0.3em} {\leading{18pt}\bfseries\fontsize{14}{12} \selectfont}[\vskip 0.5ex \titlerule] \...


1

I have seen solutions for the book document class which redefine the \makechapter command, but I'm not sure how to do that for amsbook. Here's a set of instructions that you will let you achieve your formatting objectives while using the amsbook class: \usepackage{etoolbox} % for '\patchcmd' macro \makeatletter \patchcmd{\@makechapterhead}{7.5pc}{3.75pc}{}...


1

in report the table of contents is set with \chapter* and all chapter level headings start a new page in that class. So \maketitle is not forcing a page break because of the option but the following chapter does. You are starting the text with \section rather than \chapter which already looks odd in report class, as the numbering is then 0.1, 0.2, ...


1

One way to do that if you don't need the normal behaviour of labeltitle (so this idea is probably a non-starter with author-title-based styles) would be to reconfigure labeltitle resolution so that you get back the desired type of title \documentclass[british]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} \usepackage{...


1

See, if the following MWE will give what you after: \documentclass[a4paper,11pt]{article} \usepackage{hyphenat} \begin{document} \begin{titlepage} \raggedleft \rule{1pt}{\textheight} \hspace{0.05\textwidth} \parbox[b]{0.75\textwidth}{ \raggedright \Huge Title: This is the title of the report and it is quite a long title so ...


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