Hot answers tagged

9

Something like this? Note that the images on the left are not all the same width because the images I used have different proportions. Provided yours have the same height:width ratio, they will match in width. \documentclass[letterpaper]{article} \usepackage[scale=1]{geometry} \usepackage{tikz,calc} \usetikzlibrary{positioning,calc} ...


8

You may also try the textpos-package. It has a good manual, and is easy to learn, even if you learn by trial and error. If you like me is not skilled in Tikz, maybe you find textpos easier to use. I have made the cover page, but you will have to link to your own files. Probably, you should harmonise the high and width of all picture in an external program, ...


6

Here's an example using images from my own computer. You can use your own. \documentclass[10pt]{book} \usepackage{graphicx} \usepackage{tikz} \usetikzlibrary{calc} \newcommand\myhoffset{0.75in} \newcommand\mytitlesep{1.00cm} \newcommand\portraitscalefactor{85/100} \newcommand\portraitheight{\dimexpr1in*\portraitscalefactor} ...


4

Here's one way: \documentclass{article} \usepackage{fancyhdr,stackengine,xcolor,graphicx} \fancypagestyle{mystyle}{ \chead{\stackinset{c}{}{c}{}{\textcolor{red}{\thepage}}{% \includegraphics[width=1cm]{example-image}}} } \pagestyle{mystyle} \begin{document} My text \end{document}


4

Package caption for such cases define macro \ContinuedFloat- To the float, which is continuation of previous one, you only add this macto after begin{figure}: \documentclass[11 pt]{book} \usepackage[draft]{pgf} \usepackage{lipsum} \usepackage{float} \usepackage{caption}% <-- added \begin{document} \lipsum[1-2] \begin{figure}[h] \centering ...


4

I'm a co-founder of Overleaf. Yep, that's a bug. Thanks for the MWE --- we'll try to get that fixed! In the mean time, if you change the trim or something else on the page, the preview will update. And, as you noticed, the PDF itself will show the right image if you download it.


3

Using my approach from What are the ways to position things absolutely on the page?. I show both how to make a full-page underlay, as well as inset underlays, using the syntax \atxy{x-loc}{y-loc}{underlay} \documentclass[12pt,letterpaper]{report} \usepackage[cam,width=4truein,height=6truein,letter,center] {crop} \usepackage[T1]{fontenc} ...


2

One possibility is that the PDF has been made without embedding (and subsetting) the fonts, which is often required by journals. To check, at least on a linux machine, you can use: [romano:~/education … Bio/Quizzes/Q2] % pdffonts t2-1.pdf name type encoding emb sub uni object ID ...


2

Not there are always issues with minipages. If fact, I found this the easiest approach for this type of cover. I left a MWE as the first page of the book document, since this would be suitable when the goal is the own PDF instead of the hard copy. (Sorry, no scientists nor tigers here, I found only landscapes and a pussycat in the image-gallery directory ...


2

Use width=\columnwidth and load package caption: \begin{frame} \begin{columns}[t] \column{.5\textwidth} \includegraphics[width=\columnwidth,height=3cm]{example-image-golden} \captionof{figure}{foo} \includegraphics[width=\columnwidth,height=3cm]{example-image-golden} \captionof{figure}{bar} ...


2

You can set the content in the sequence that you want them layered. With the above in mind, we can set the image in the Left header, which will be followed by setting of the Centred header: \documentclass{article} \usepackage{graphicx,fancyhdr,xcolor,lipsum} \fancyhead[C]{\textcolor{white}{\thepage}} ...


2

As I suggested in my comment, I wouldn't recommend include pictures of tables. I understand that creating large tables with the tabular environment can be somewhat tedious, but if you are tabulating data files, there is pgfplotstable that can be immensely helpful (it is distributed with PGFplots). Here's a small example of how it can be used: ...


2

First version, trying to improve You can use \usepackage{xcolor} and either the \color{colourname} command for the colors or \textcolor{colourname}{text}. For the watermark, the background package can be used, having some options to control the opacity and position of the image. (I have used some simple options to get a fast result) ...


1

Kyle, my suggestion perfectly work: Above image is generated by: \documentclass[12pt]{report} \usepackage{graphicx} \begin{document} \begin{figure}[h!]\centering \includegraphics[scale= 0.3]{example-image} \caption{A part of an MRS.} \label{fig:MRS} \end{figure} \end{document} If this doesn't happen with your real image, than it has blank space on the ...


1

I would recommend the background package for this. Admittedly, this is mostly because I know it mostly works. (However, it turns out, there is also a good reason to use something other than xwatermark if using a KOMA class. See below.) Solution with background package For example: \documentclass[11pt,ngerman,a4paper]{scrartcl} \usepackage{background} ...


1

The reason for the legend being offset like this is because the [b] option to the subfigure environment tells it to align the contents at the bottom; hence why the bottom of the legend is sitting at the same level as the bottom of the (c). If you want to align to each subfigures centres, use [c] and if you want to top of each subfigure to line up, use ...


1

With use of \sbox{...} you can measures the size of left images and then accommodate your image with legend to its height: \documentclass{article} \usepackage{subcaption} \usepackage{graphicx} \begin{document} \begin{figure} \begin{subfigure}[b]{0.5\textwidth} \centering \includegraphics[width=0.9\textwidth,trim=3mm 4mm 50mm 2mm, ...


1

You specify \fancyhead[CO] multiple times. Only the last one is used as the previous one gets overwritten. Try putting everything you want to center into one \fancyhead[CO] and try to achieve the "image above title" fe. with \\ or similar, ie.: \fancyhead[CO]{% \parbox{1.5cm}{\includegraphics[width=2cm]{C:/My_path/my_pic.png}}\\ {\Large ...


1

You can use \graphicspath{{foo}}\input{foo/1} .. \graphicspath{{bar}}\input{bar/1}



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