Tag Info

Hot answers tagged

4

Your could try to copy the table to Excel and use the Excel2LaTeX Plug-In to convert it to LaTeX. You will still have to put some effort into adjusting the layout. However, this will save you from having to transfer all table entries manually.


3

You can tell LaTeX to use another input encoding locally: \documentclass[a4paper,12pt]{article} \usepackage[catalan]{babel} \usepackage[utf8]{inputenc} \usepackage{pgfplots} \usepackage{tikz} \begin{document} blà blà blà blà blà blà \begin{figure}[ht!] \centering \newlength\figureheight \newlength\figurewidth \setlength\figureheight{6cm} ...


3

If you run tex on the commandline, then by default it stops at an error and gives the question mark prompt to which you can type h (for help) or x to quit or s to scroll through future errors without stopping etc. Your editor (in common with most other such systems) is running tex in \scrollmode where tex doesn't stop on each error and acts as if you had ...


3

You can use the subcaption package. Try something like this. \documentclass{article} \usepackage[english]{babel} \usepackage{graphicx} \usepackage{subcaption} \begin{document} \begin{figure} \centering \begin{subfigure}{0.49\textwidth} \centering \includegraphics[width = \textwidth]{tikzexample2.png} \caption{Left figure} \label{fig:left} \end{subfigure} ...


3

Nice version \documentclass{article} \usepackage{array} \usepackage{booktabs} \usepackage{caption} \usepackage{siunitx} \begin{document} \begin{table} \centering \caption{Table example} \begin{tabular}{ S[table-format=4.2] S[table-format=3.2] } \toprule \textbf{Number} & \textbf{Probability} (\si{\percent}) \\ \midrule 0 & 100 \\ ...


2

The weird error just resolved by re-installing some packages: ms + xcolor + mptopdf Actually, update was not a cure for the problem, but the re-installing above target packages, could which be taken as prerequisites of TikZ into account, removed the issue. Now calling \usepackage{tikz} is possible, safely.


2

In 2.7.0, click on "View" and the click on "Show embedded PDF small".


2

Well , I created a new user command in Texmaker and I named it MAKEINDEX. The configuration of this new command is as follows: As you see, I added makeindex %.nlo -s nomencl.ist -o %.nls in the required command. Then, on my main.tex document, I run the sequence pdflatex -> MAKEINDEX -> pdflatex and it worked fine. Here is the output by the way. ...


1

I know this is a very late reply but I'm just writing this for someone else who might have the same problem. I am using Texmaker on Yosemite and had the same issue. This page solved it: http://www.swisswuff.ch/wordpress/?p=166 Cheers


1

The site http://www.tablesgenerator.com/ will generate code from a table copied and pasted from Word or Excel or a .csv. It isn't perfect, but it does a good, quick job of generating TeX code for a given table.


1

As you've noted, in order to make LaTeX split a long table across pages, it's necessary to use a longtable environment instead of nested table and tabular environments. The following example first shows the table produced by your code (with the code simplified here and there), followed by the same table produced using a longtable environment. The four key ...


1

I use currently Texmarker 4.2. If I want to switch between opened documents I need to use Alt+PgUp combination buttons. You can change it. Preferences -> Configurations -> Shortcuts and then you have to find what you want from the list. Good luck


1

May be is not what you wanted (since you have accepted a answer with two subcaptions) but is what your asked ("the second must not be given a caption"): \documentclass{article} \usepackage{graphicx,lipsum} \begin{document} \lipsum[2] \begin{figure}[h] % Do not use only [h] in real documents. \begin{minipage}[t]{.45\linewidth} ...



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