Hot answers tagged

13

You need to say in \draw[decorate] ...; otherwise it draws an ordinary line ... So, try the following correction of your MWE: \documentclass{article} \usepackage{xcolor} \usepackage{tikz} \usetikzlibrary{calc,decorations.pathreplacing,calligraphy} \newcommand{\tikzmark}[1]{% \tikz[baseline={(#1.base)},remember picture]% \node[outer sep=0pt, inner ...


4

You don't have to guess dimensions, leave the computations to TeX. \documentclass{article} \usepackage[ paperheight=10.5in, paperwidth=8.27in, bindingoffset=0in, left=0.8in, right=1in, top=1in, bottom=1in, headsep=1.5\baselineskip, showframe,% just for the example ]{geometry} \usepackage{graphicx,varwidth} \begin{document} \begin{center}...


4

A solution with tikzpicture: \documentclass{article} \usepackage{tikz} \usepackage{graphicx} \usetikzlibrary{positioning} \begin{document} \begin{figure}[htb] \begin{minipage}{0.4\textwidth} \begin{tikzpicture} \node (img) {\includegraphics[scale=0.225]{example-image}}; \node[below=of img, node distance=0cm, yshift=1cm,font=\color{red}] {x-axis}; \...


3

Like this: For above picture you need enlarge width of the first \minipage that the caption can be placed in one line only ... In complete code below I made some small changes in comparison to your MWE. For the first table is used tabularx. With it I got better looks of tables and respective captions. \documentclass[12pt,a4paper]{report} \usepackage[...


3

I would like to suggest that you load the subcaption package and use side-by-side subtable environments. The one on the left will contain sub-tables (a) and (b), and the one on the right will contain sub-table (c). \documentclass{report} \usepackage{float} \usepackage{subcaption} \begin{document} \hrule % just to illustrate width of textblock \begin{...


3

Instead of having table environments inside minipages, use one table environment and two minipages inside that. You can have multiple captions inside the same table (or figure) environment. Note that with two minipages of 0.5\linewidth next to each other and a \quad space between, you'll get an overfull box and the second minipage poking a little bit into ...


2

Link which you provide, show the way how to managede your images. Using example-image from package graphics and change subfigure and included image width that consider width of minipage you can obtain: MWE for above image: \documentclass[]{article} \usepackage{graphicx} \usepackage{subcaption} \begin{document} \begin{figure} \begin{minipage}[t]{.48\...


2

You should really provide a MWE. I have tried and it seems to me that if you set the axis' lengths to absolute value in \begin{axis}, you will get same sized plot areas: \begin{axis}[height=4cm, width=4cm, %...


2

Solution suggested in comment works if captions have only one line of text. Better is instead of minipages to use tabularx andadjusbox as follows: \documentclass{article} \usepackage{caption} \usepackage{tabularx}% <-- added \usepackage[export]{adjustbox}% <-- added \begin{document} \begin{center} \begin{tabularx}{\textwidth}{*{2}{>{\centering\...


2

A first trial with tcolorbox -- The main issue are the header and footer settings, leading to overlapping. \documentclass{article} \usepackage{dashrule} \usepackage[english]{babel} \usepackage{blindtext} \usepackage{helvet} \renewcommand{\familydefault}{\sfdefault} \usepackage[most]{tcolorbox} \usepackage{fancyhdr} \usepackage{lastpage} \usepackage[margin=...


2

I think you're making life difficult for yourself with all those minipages and \hspaces. Use one minipage per "column", and make use of \uncover. \documentclass{beamer} \usepackage{amsmath} \begin{document} \begin{frame} \frametitle{What is a word?} \begin{minipage}[c]{.3\linewidth} \centering \uncover<1->{``cat''} \bigskip \uncover<2->{2} ...


2

Almost the same as Zarko's solution. I slightly enlarged the left-hand minipage, and suppressed both {} on both sides of the tables, but used a cropped \cmidrule instead of \midrule. Also, palatino is obsolete, as it modifies only the text font, andd cmmaths are still used, which is ugly with palatino text. So I replaced it with mathpazo(cf. the l2tabu ...


1

Here's a solution which uses the coffins provided by the LaTeX 3 project in place of a list. It relies only on functions published as public macros and considered stable by the developers. (That is, it doesn't use any of the newest experimental stuff - where the interface is likely to change - or anything internal - where things may change if the ...


1

Is this more or less what you want? I used the titling package, which defines 4 hooks to insert commands within the \maketitle command: \maketitlehooka, used before the _title command, \maketitlehookb, between \title and author, \maketitlehookc, between author and date, \maketitlehookd, after date. \documentclass{report} \usepackage[english , greek]{babel}...


1

Put the first \begin{minipage} just before \section{Imagenes}.


1

You can vastly simplify your code: the minipages are not needed, nor the center environments. Also, a figure environment can contain any number of \caption commands, so you just need one (and definitely no [H] option). Apply a \footnotesize command as soon as the figure environment starts. I also fixed the appearance of text subscripts to be upright. \...



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