Tag Info

New answers tagged

4

I suggest, first of all, a key-value syntax. Then you can divide the space using a tabular with three equal size columns, with left, center and right alignment. The dedication is typeset only if present, and in a unique center aligned column, so its width will not influence the positioning of the other elements. \documentclass[11pt]{memoir} ...


0

I also had many problems with the title page in my thesis 'cause it wasn't exactly the format what I wanted and I needed some additional items on it. I solved the problem by making my own page in a separate file and including it into my document. I explained it here yesterday: http://tex.stackexchange.com/a/207949/63764 Maybe it will work for you if you ...


4

This is the rough approximation without tikz. With tikz, it is cake walk. \documentclass{book} \usepackage[pass]{geometry} \begin{document} \begin{titlepage} \newgeometry{left=2in,top=0cm,bottom=0cm} \noindent \begin{minipage}{\textwidth} \rule{1.5pt}{0.3\textheight}% Vertical line \vspace{5mm} \noindent {\Huge\bfseries Complexity \\[0.3\baselineskip] ...


0

Based on my answer at What are the ways to position things absolutely on the page?, I provide this MWE, and use \atxy{}{}{} to place the image at (0,0) on the page. The only quirk is that you must place the residual page text lower on the page manually, to avoid overlap. Here, I used a \vspace. \documentclass[10pt,a4paper]{report} ...


2

I'm not sure you really want this. \documentclass{tufte-handout} \geometry{showframe}% for debugging purposes -- displays the margins \usepackage{calc} \usepackage{lipsum} % just for the example \title[Investigating Alzheimer's Disease] {Investigating Alzheimer's Disease using Large Scale Models of Mammalian Thalamocortical Networks} ...


1

There are multiple options: Faking the look, like cfr proposed Including usinig \pdfpages package Anyway, the regular \maketitle must be changed or not used at all. I decided to use \maketitle and redefine it, to use \includepdf with the front page template. \documentclass[a4paper]{scrbook} %\usepackage[a4paper]{geometry} ...


1

Something like this? \documentclass{article} \usepackage[demo]{graphicx} \usepackage{titling} \begin{document} \title{Title} \author{Author} \begin{titlingpage} \begin{minipage}{.5\linewidth} \maketitle % this should be on the left \end{minipage} \begin{minipage}{.5\linewidth} \includegraphics{images/img1.pdf} % ...


2

The following patch to \makecvtitle in the casual style of [moderncv](http://ctan.org/pkg/moderncv) inserts a sub-photo caption with zero height (via\smash`). As such, it doesn't influence the vertical displacement of other resume content. \usepackage{etoolbox} \makeatletter \patchcmd{\makecvtitle}% <cmd> {\usebox{\makecvtitlepicturebox}}% ...


3

The page where \maketitle has effect uses the plain page style. Redefine it. \documentclass[12pt]{article} \usepackage{fullpage} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \fancyfoot[R]{Page \thepage} % redefine the plain page style \fancypagestyle{plain}{% \renewcommand{\headrulewidth}{0pt}% no rule above! \fancyhf{}\fancyfoot[R]{Page ...


2

Is this too much or too little? \documentclass{article} \begin{document} \title{Title} \author{ \rule{1in}{0pt}\and x\\ y\\ zzz \\ {\small \tt \{a\}@b.c} \\ \and tt \\ ww \\ vvv \\ {\small \tt xx@yy} } \maketitle \end{document}


2

The template is available from ShareLaTeX: % % LaTeX source of my resume % ========================= % % Heavily commented to to fit even LaTeX beginners (hopefully). % % See the `README.md` file for more info. % % This file is licensed under the CC-NC-ND Creative Commons license. % % Start a document with the here given default font size and paper size. ...


5

Package subfigure is obsolete for a long time. Use a modern alternatve like package subcaption: \documentclass{article} \usepackage{subcaption} \usepackage{mwe} \begin{document} \begin{figure} \begin{subfigure}{.49\textwidth} \centering A nice little title \includegraphics[width=\linewidth]{example-image-a} \caption{a ...


0

I found one solution but its not very attractive: We can use \put command from overpic package to do this such as: \usepackage[abs]{overpic} \begin{figure*}[t] \graphicspath{ {./images/} } \centering \subfigure[Original]{\put(10,60){Title 1} \includegraphics[]{2_o.eps}} \subfigure[Modified]{\put(10,60){Title 2} \includegraphics[]{2_k.eps}} \caption{Two ...


5

The \@title container is discarded by the article class after it has been used by \maketitle. You could jump the gun and redefine \title to have also an optional argument for the footer: \documentclass{article} \usepackage{lipsum} % just for the example \makeatletter \def\title{\@dblarg\niekas@title} \def\niekas@title[#1]#2{% \gdef\@title{#2}% for ...


5

If the paper has just one author and you use only the name, without affiliation and other info, you can do with \documentclass{article} \makeatletter \renewcommand{\author}[1]{\@breakauthor#1\@breakauthor} \def\@breakauthor#1 #2\@breakauthor{% \gdef\@author{#1 \textsc{#2}}% } \makeatother \begin{document} \author{Adam Uthor} \title{A nice paper} ...


2

The book class provides \frontmatter and \mainmatter to separate these two chunks. If you use them as in \documentclass[11pt]{book} \usepackage{lipsum} \usepackage[demo]{graphicx} \begin{document} \frontmatter \tableofcontents \listoffigures \listoftables \chapter{Unumbered Chapter} \lipsum[1-2] \mainmatter \part{First part} \chapter{First Chapter} ...


3

A solution consists in using \makebox[0pt] (or \clap, from the mathtools package). In the following code, I intentionally increased the horizontal margins to make the result more evident: \documentclass[a4paper,12pt]{report} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[showframe, ...


3

You can add a \hspace*{-"length"} at the beginning of the \mbox{}.


1

I would recommend writing a resume in the default article document class. However, since you're using res, you can use the following: \documentclass[margin,line]{res} \usepackage{graphicx} \renewcommand{\namefont}{\bfseries\LARGE} \begin{document} \name{\makebox[\textwidth]{Person's name\hfill \includegraphics[height=2\baselineskip]{example-image}}} ...


1

One way would be to use a tabular type of environment as the \NameAndPhoto macro does, or without packages use an \hfill between the name and image and then draw the \rule yourself: Code: \documentclass{article} \usepackage{tabularx} \usepackage{graphicx} \newcommand*{\NameAndPhoto}[2]{% \noindent \begin{tabularx}{\linewidth}{@{}Xr@{}} ...


1

Use the package fancyhdr. The minimal example is below. \documentclass{article} \usepackage{fancyhdr} \usepackage{graphicx} \renewcommand{\headrulewidth}{0pt} % this is the line thickness under the header - 0pt for no line \renewcommand{\footrulewidth}{0pt} % and above the footer \pagestyle{fancy} % to apply your fancy header and footer ...


0

You have to find the correct location inside \makecvtitle and patch it using etoolbox. moderncv doesn't provide a hook explicitly for this kind of adjustment. The following patch adjusts for the placement: \usepackage{etoolbox} \patchcmd{\makecvtitle}% <cmd> {\usebox{\makecvtitlepicturebox}\\[2.5em]}% <search> ...


3

An alternative is use of textcase package with commands \lowercase{...}. Further info can be found here textcase. Test file and class files are from SIAM. Also to compile, one needs to use Use latex -> dvips -> ps2pdf rather than pdflatex. Please see SIAM compiling. Code \documentclass[]{siamltex1213} \usepackage[overload]{textcase} \title{This ...


5

The macro you're looking to edit is \titlefont. From the class code: ... \renewcommand*{\titlefont}{\Huge\mdseries\upshape} ... \renewcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2!85}{#1}}} ... So you can just give \renewcommand*{\titlefont}{\Huge\rmfamily\mdseries\upshape} in your preamble (supplying whichever switches you want) and you ...


1

Without using external packages, you could tinker with the definition of the \@makechapterhead macro given in book.cls. (Note that the following approach works for the book documentclass and is not guaranteed to work under other classes.) \documentclass{book} \usepackage{lipsum}% dummy text \makeatletter \def\@makechapterhead#1{% \vspace*{50\p@}% ...


2

You could try this. Play around with the 0.42em until the hanging looks good for you. \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{titlesec} \titleformat{\chapter}[hang]{\Huge\bfseries}{\chaptertitlename\ \thechapter.}{0.42em}{} %\titleformat{\chapter}[display]{\normalfont\huge\bfseries}{\chaptertitlename\ ...



Top 50 recent answers are included