# Tag Info

7

No extra packages needed. Just use \newpage \ \newpage: my current page \newpage \ % The empty page \newpage The next page

7

With \def\makeheadline{} Completed box being shipped out [1] \vbox(166.26378+0.0)x142.26378 .\vbox(142.26378+0.0)x142.26378, glue set 123.31934fill ..\glue(\topskip) 0.0 ..\hbox(6.94444+1.94444)x142.26378, glue set 107.81926fil ...\hbox(0.0+0.0)x0.0 ...\tenrm X ...\glue 3.33333 plus 1.66498 minus 1.11221 ...\tenrm b ...\kern0.27779 ...etc. ..\glue(\parskip) ...

5

Few things to know first# \pagestyle{<style>} is a LaTeX native command that sets the current style to <style>. LaTeX has four predefined styles: plain, empty, headings, and myheadings. Several packages extended the number of predefined styles, such as fancyhdr, and titleps. Further info in this thread. If not set by the class/package, the ...

5

5

One workaround for your main issue is using minipage for placing the image inside the table cell with centering and the full width of the cell. You can then use \vspace to adjust its vertical alignment. You can change the number of -0.8 at \vspace{-0.8\baselineskip} for shifting the image up or down in the cell. You then obtain something like this: Full ...

5

You should never measure things in the preamble. Font settings might be delayed at begin document. Do the setting at the right place: \AtBeginDocument{\settototalheight\headerTotalHeight{\headerContents}} Now, if you want to know why this used to run but now fails? A change in tcolorbox.sty, aimed at exploiting LuaTeX color management if available, has been ...

4

So the task is to have a logo on every frame where the frametitle is actually typeset. Let's have a look into the theme what it does and where it defines it. Normally frametitles are defined in the outer theme, therefore let's have a look into beamerouterthemefocus.sty, which defines two named templates for the frametitle: \defbeamertemplate*{frametitle}{...

4

4

A tcbraster needs some envelope as a minipage to be put into a box. For your applications, I would use tcboxedraster which is a raster inside a tcolorbox which can be saved for later. IMHO, the height has not to be computed, because the height is already know (2cm). \documentclass{exam} \usepackage{graphicx} \usepackage[xparse,breakable,raster,skins]{...

4

Like this? \documentclass[a4paper,10pt]{article} \usepackage[hmargin=2cm,top=4cm,headheight=6cm,footskip=65pt]{geometry} \usepackage{graphicx} \usepackage{array, makecell, multirow} \newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} % clear header and footer \renewcommand\headrulewidth{0pt} % no ...

4

I have interpreted your objectives as follows: Don't render chapter-level and section-level header strings in UPPERCASE Strip out the "Chapter" prefix string and remove the "dot" after the chapter number and the section number Don't typeset the chapter and section header strings in a slanted font shape. In the book document class, the ...

4

The trouble is that also \part uses the plain page style, which you have redefined to suit your needs. Worse, \part does issue a \newpage in order to force an empty verso page; your manual \thispagestyle{empty} comes thus too late. I think the only way here is to patch the definition of \part. Either copy/paste the original definition from book.cls in your ...

4

4

You can set the header in a \colorbox in the centre only, and then spread the contents to the left/right/centre as needed. \documentclass{article} \usepackage{fancyhdr,xcolor} \usepackage{lastpage,lipsum} \pagestyle{fancy} \fancyhf{} \fancyhead[C]{% \setlength{\fboxsep}{0pt}% Remove \fbox gap \colorbox{blue!15!white}{% \makebox[\textwidth]{% ...

4

As I stated in my comment, the section number \thesection must be communicated through a mark (for \thechapter this isn't necessary as chapters always start at a new page). But normal LaTeX doesn't have an extra mark for this section number, so I use the extramarks package with the \extramarks command and \firstrightxmark and \firstleftxmark. \documentclass{...

3


3

Just ran into this problem with the new ACM template and tried (unsuccessfully) a number of possible solutions. Then ran across this solution while carefully reading the class documentation. Pass the nonacm option to the \documentclass command. See Table 2 in the acmart class documentation. Example: \documentclass[manuscript,screen,timestamp,authordraft,...

3

Change the \fancyhead[L]{...} to \makeatletter \fancyhead[L]{% % thank egreg for his help in comment \ifnum\value{chapter}=0\else\chaptername\ \thechapter\ --\ \fi\leftmark } \makeatother and add \chaptermark{Introduction} after \chapter*{Introduction} help. With this change, the second page of unnumbered chapter "Introduction" will have its left ...

3

For coloring table rows you need to load xcolor option with option table (which use colortbl package) and than use command \rowcolor{<color>}: \documentclass{article} \usepackage[table]{xcolor} \begin{document} \begin{center} \begin{tabular}{|p{3cm} | p{3cm} |} \hline \rowcolor{gray!30} Title1 & Title2 \\ \hline Item1 & ...

3

Basing only on the information you provided, I'd say: \documentclass{article} \usepackage{helvet} \renewcommand{\familydefault}{\sfdefault} \begin{document} \textsc{Academic Achievements}\hrulefill \end{document} Which gives

3

This is surprisingly tricky! One technique is to play a game with \footnoterule. Normally that is designed to take up no space. But you can deliberately set it up to insert space and therefore move the footnotes down below the bottom of the text block. Something like (you would need to play with the values). The additional footskip is to make sure the page ...

3

You can also use \fancypagestyle to create new page styles if empty and plain are not quite what you wanted. \documentclass[openright]{book} \usepackage[utf8x]{inputenc} \usepackage{reledmac} \usepackage{reledpar} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \fancyhf[CFE,CFO]{\thepage} \fancyhead[CE]{\itshape\ Heading Left } \fancyhead[CO]{\itshape\ ...

3

The rule is removed by setting \headrulewidth to 0pt. As to the rules at the top and bottom of the paper sheet, it is simpler to do that with eso-pic: \documentclass[9pt, legalpaper]{article} \usepackage[legalpaper,margin=0.5in]{geometry} \usepackage{lipsum} \usepackage[svgnames]{xcolor} \colorlet{highlight_colour}{SteelBlue} % ==============================...

3

Directly saving tcbraster environment into box in preamble raises Missing \begin{document} error, caused by the \noindent at the end of \begin{tcbraster}. Hence I wrap tcbraster into a minipage environment. The \settototalheight from calc package is also used. This works but I'm afraid it is not the perfect solution. \documentclass{exam} \usepackage{...

3

You can set \fancyfoot wherever you want (better after a \clearpage command, of course). \documentclass{article} \usepackage{fancyhdr,lastpage} %Footer defined \pagestyle{fancy} \fancyhf{} \begin{document} \pagenumbering{roman} % Roman page-numbering for initial content \fancyfoot[C]{\thepage} Some initial content \newpage Some more initial content \...

3

Fairly simple using memoir: \documentclass{memoir} \usepackage[portuguese]{babel} \usepackage{lipsum} \chapterstyle{bianchi} \begin{document} \chapter{Introduç\~ao} \section{Some subsection} \lipsum \end{document}

3

Here is an example of how it can be done: \documentclass[12pt, a4paper,oneside]{book} \usepackage{geometry} \usepackage{newtxtext} \usepackage[svgnames]{xcolor} \usepackage{graphicx} \usepackage[newlinetospace]{titlesec} \titlespacing*{\chapter}{0pt}{*-4}{*8} \titleformat{\chapter}[block]{\sffamily\bfseries\Huge\rlap{\hspace*{\textwidth} \scalebox{0.06}{\...

3

Welcome to TeX.SE. I changed the header-includes syntax and put the definition of the microtype macro, MT@is@composite, into a file called mystyles.sty and then just added mystyles.sty to the header-includes section. All those extra packages you are loading, and \definecolor and \pagenumber commands could be added to mystyles.sty if you wanted to do that. ...

3

To add a footnote rule you need to redefine it add to your preamble: \renewcommand\footnoterule{\hspace{-1em}\rule{columnwidth}{0.5pt}} However, be advised, the style file intentionally removes the rule with \footrule{}. Therefore, if you are sending something to an IEEE conference, you should keep the footnote without the rule.

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