# Tag Info

0

Your questions have no easy answer, but I've found a different approach which works and can be of your interest. But first, your questions: I don't know how to properly deal with underscores in filenames using your approach. The general advice is to avoid them (but my proposed approach will allow them) I don't know why that happens, somehow the internals ...

2

Change \@maketitle in hitec.cls or redefine it in the preamble. Example: \documentclass[a4paper]{hitec} \usepackage{lipsum} \makeatletter \def\@maketitle{% \newpage \null \leavevmode\setbox0=\lastbox \hspace{-\leftmarginwidth} {\fboxsep2em\fboxrule3pt \fbox{\begin{minipage}{\dimexpr\fullwidth-4em-6pt} {\Large\bfseries \@title \par} ...

1

The title page is created by \maketitlepage. If you look in the class file puthesis.cls you will find the definition of this macro. What I suggest you do is copy this, as below, and modify it as appropriate for your second title page (as you don't give the details it is hard to do this for you!). I am not sure whether you want to print both title pages in ...

0

I'm sure there is a package for that, but here is a solution based on redefining the maketitle command (for the article class). Create a style file (I saved as titlecolor.sty') with the following content (I copied this from thebook.clsfile and add the\color` command to the title, you can change the format): \renewcommand\maketitle{\begin{titlepage}% ...

1

If we redefine the \maketitlepage macro to always set the title page ragged right (instead of justified), it will improve the line wrapping. Add the following to the preamble of your document (between the \documentclass and \begin{document} lines): \renewcommand{\maketitlepage}{% \cleardoublepage \begin{fullwidth}% \sffamily \RaggedRight\sloppy% ...

1

You can add the name and the subtitle to the \chapter* command; adjust the dimensions in the definition of \summary until you're satisfied. \documentclass{report} \usepackage{geometry} \geometry{letterpaper,margin=1in} \usepackage{newtxtext} \newcommand{\summary}[2]{% \chapter*{% \parbox{\textwidth}{% \centering #1\\[1.5ex]% the title and ...

1

Probably, this is one of those rare cases in which it is preferable to add another answer, rather then editing the one I already gave; indeed, I dislike my previous answer so much that I’ll probably remove it. The following, obvious solution is much neater: \documentclass[a4paper,twoside,titlepage]{article} \usepackage[T1]{fontenc} \usepackage[ a4paper, ...

2

Remove the \null\hfill that forms part of the printing of \@title. If my "arrange the first name and the family name among each other" you mean swap them around, then you should swap around the placement of \@firstname and \@familyname in the code. \documentclass[11pt,a4paper]{moderncv} \usepackage[utf8]{inputenc} \moderncvstyle{casual} ...

3

Because you are loading scrlayer-scrpage: Remove the (unnecessary) redefinitions of \sectionmark and \subsectionmark and use the possibilities of scrlayer-scrpage. \usepackage{scrlayer-scrpage} \automark{chapter}% -> section does not rewrite \markright \clearpairofpagestyles \renewcommand{\chaptermarkformat}{} \addtokomafont{pagehead}{\small} ...

4


0

I solved this problem changing the way to compile. Right now I'm compiling with pdfLatex. The "build and view" uses the following chain: DVI->PS->PDF chain But have some problems with a new presentation. I want to put images, but when compiling and view the presentation, the images are shown in black and white. I have the package of graphicx in the preamb. ...

4

For \author, date, and \title there is an optional argument, that is used in the structure of the frame (i.e. the footline) so you could use \title[Group Theory]{A longer title of the talk concerning Group Theory} \author[short name]{My full name} \institute[My Inst.]{Full Institut Name} % logo of my university ...

0

This is an other method. You entierly define here your title page. This template is to be modified. % ------------------------------------------------------------------------- % Definitions (do not change this) % ------------------------------------------------------------------------- \makeatletter \def\printtitle{{\centering \@title\par}}\makeatother % ...

4

\maketitle creates a cover page of its own with the specified parameters (everything that is in \title, \author and a few other commands). Try again without the \maketitle command.

0

One way of doing it is to use the \input inside a frame. For example \documentclass[demo]{beamer} \usepackage{filecontents} \begin{filecontents}{\jobname title.tex} \begin{titlepage} \begin{center} % Upper part of the page. The '~' is needed because \\ % only works if a paragraph has started. \includegraphics[width=0.15\textwidth]{./logo}~\\[1cm] ...

1

The only thing I can think of is to patch the definition of the titlepage environment: \documentclass[a4paper, twoside, 14pt]{extreport} \usepackage{etoolbox} \makeatletter \patchcmd{\titlepage} {\setcounter{page}\@ne} {} {}{} % Also: \patchcmd{\endtitlepage} {\if@twoside\else\setcounter{page}\@ne\fi} {} {}{} \makeatother ...

1

The easiest way is to use the notitlepage option \documentclass[a4paper, twoside, 14pt,notitlepage]{extreport} \title{Page resetting title} \author{J Smith} \begin{document} \pagenumbering{arabic} first page \newpage second page \newpage third page \maketitle \newpage fifth page \newpage sixth page \end{document}

1

It's very easy, with xparse, to define a command that prints what you want: \usepackage{xparse} \NewDocumentCommand{\module}{om}{% {\Large\IfValueT{#1}{#1: }#2\par}% } The {#1: } part is printed if you call \module[PH588]{Mathematical Techniques}, but not with the call \module{Mathematical Techniques} If you need the optional module number and the ...

1

The right solution is 0) \def\module[#1]#2{\gdef\mod@no{#1}\gdef\mod@title{#2}} This defines \module macro for the usage \module[num]{text}. This macro defines \mod@no as num and \mod@title as text. It means that you can use later \mod@no which expands to num and \mod@title which expands to text. This is exactly, what you need. Your bad attepts: 1) ...

3


2

The article class assumes that footnotes in the title are for “thanks” and appear at the end of the title, not counting for its centering. You can avoid this by making it not redefining \@makefnmark; since it says \def\@makefnmark{...}, I change it into \def\aaaBBBcccDDD{...} that is unlikely to be found in your title. \documentclass{article} ...

1

According to authors instructions for Lecture Notes in Computer Science, you must use \email{<email address>} within \institute{} and therefore you should not obtain the style that you are looking for(*). Compile llncs.doc (in spite of the extension, is really a LaTeX file) with pfdlatex to see the instructions for authors. This is a MWE extracted ...

Top 50 recent answers are included