Tag Info

Hot answers tagged

6

I think you could use \pagetotal for this. Subtract it from \textheight to get the amount of space remaining. \documentclass[10pt]{article} \newdimen\spaceleft \spaceleft=\textheight \multiply\spaceleft by -1 \usepackage{lipsum} \begin{document} \lipsum[1-3] \advance\spaceleft by \pagetotal \multiply\spaceleft by -1 \typeout{Space on last page:} ...


5

Put the content of minipage inside a node. You can get rid of minipage and use node itself. \documentclass{article} \usepackage{lipsum}% \usepackage{fullpage}% %% use geometry instead \usepackage{tikz}% \usepackage{graphicx}% \begin{document} \begin{tikzpicture} \node[inner sep=0pt,outer sep=0pt,text width=0.5\textwidth](a){% ...


5

You should use \input rather than \include for cases such as this where it is not a whole part of a document which might be compiled alone (e.g. a chapter or section or something). See this question for details. Note, in particular, that you cannot use \include in the preamble. \documentclass{standalone} \input{preamble} \begin{document} ...


4

I used the background package to watermark versions of a document with \today. It uses tikz nodes which allows a lot of customizations but has useful default values so you don't have to care: MWE: \documentclass{article} \usepackage{lipsum} \usepackage{graphicx} \usepackage{background} \backgroundsetup{contents={\includegraphics[scale=0.4]{cc.png}}} ...


3

Here, I \smashed the graphic, so that it appears to TeX to take up zero vertical space. If you need it higher, let me know. \documentclass{article} \usepackage[demo]{graphicx} \title{ \leavevmode\smash{\includegraphics[width=0.5\textwidth]{logo}}\\ The Title } \author{% The Author } \date{\today} \begin{document} \maketitle \end{document}


3

I don't think TikZ is needed. There may be easier ways of doing this but I'd go with (something like)... \documentclass[varwidth, border=.75in]{standalone} \usepackage{lipsum} \usepackage{xcolor} \usepackage{graphicx} \begin{document} {\Large\bfseries Title} \emph{Subtitle} \vskip1ex \valign{&\vfil#\cr \hsize=0pt ...


3

Fixed after installing the latest XQuartz: http://xquartz.macosforge.org/landing/ The problem seems to be related to the fact that X11 was erased during the upgrade.


3

Actually, X11 is not erased but moved to /opt/X11. So, the simplest solution would probably be to manually add the symbolic link from /usr/X11 to /opt/X11: sudo ln -s /opt/X11 /usr/X11


2

It is error-prone, but I'm not sure hacking the .bst is the way to go: seems like a lot of work for a very specialized use. I might simplify your approach with something like: \newcommand{\picnbib}[2]{% % #1 = picture call ; #2 the bibliography reference (NB: I used biblatex) \begin{columns} \begin{column}{0.4\textwidth} \begin{center} ...


2

Another approach to doing this is with Bibulous in place of BibTeX or Biblatex, and is worth noting because the implementation is straightforward. Using the example bib database file below @Book{Lamport-1994, author = {Leslie Lamport}, title = {LaTeX: A Document Preparation System: User's Guide and Reference Manual}, edition = {2}, year = {1994}, ...


2

Perhaps something like this, I include teh figure both as a single column figure and as a double column figure spreading across the next page. I also removed all formatting commands from inside section heads, and removed the "manual" section numbering. \documentclass[10pt, conference]{IEEEtran} \usepackage[demo]{graphicx}% so it makes black blobs ...


2

A simplified version from Peter Grill's answer to the question already linked by Steven B. Segletes, combined with the mechanisms of the background package (using the everypage hooks to draw under the text) could solve your need for (1.) absolute positioning of (2.) multiple images as (3.) watermarks. Code and example: \documentclass{article} ...


1

Do you need to make changes to the image at the SVG stage? If not then you could simply export your graph as a PDF following the instructions here. However, you may prefer to use GNUplot's epslatex output mode an input the figure that way, this would give you much better control over the text elements of the graph since the are controlled by LaTeX. ...


1

You have got: source PDF target PDF The PDF format is a box and I have no idea how you produce this source PDF. My guess is that the source PDF contains the graphs in a format which can not be used directly by pdfLaTeX, but "fortunately" there is a background software included in your TeX-installation, which produces a large jpg or an eps file from your ...


1

On second thought, specifying clickable areas by absolute coordinates is too much work. \documentclass[11pt]{beamer} \usepackage{graphicx} \usepackage{caption} \usepackage{mwe} \begin{document} \begin{frame}{Demo} \hypertarget{Demo}{} \centering \hyperlink{demo1}{% \includegraphics[width=0.45\textwidth,height=0.35\textheight]{example-image}} \hfil ...


1

Other way is following the @Bernard's indication. In addition i added the caption package for fine tuning the captions moreover of the command \captionof{...}{...} to put captions outside of tables or figures. I think you should put something like \usepackage{cuted} \usepackage{caption} \captionsetup[figure]{textfont={bf,large}} in the preamble, and ...



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