0
votes
0answers
16 views

image into framewithtitle environment (memoir class)

I need to add image or figure into boxes for my phd document, so i try using the framewithtitle environment defined in page 276 of memoir class documentation. % !TEX encoding = UTF-8 Unicode % -*- ...
3
votes
1answer
48 views

Problem with an environment definition

I know it is an easy and quite specific request but I've been on it all day and I cannot really understand what's wrong! \documentclass[12pt,a4paper]{report} \usepackage[T1]{fontenc} ...
5
votes
2answers
65 views

Newenvironment wrapper around widetable

I'm trying to create a custom environment figs based on widetable, using \newenvironment. \documentclass{article} \usepackage{widetable} ...
2
votes
0answers
98 views

Gantt chart is not drawn and give “! LaTeX Error: Environment gantt undefined.” [closed]

I am writing a report for FYP in Ubuntu 13.10 in TexMaker, with document class and use different files use for chapters. I write the code below in the chapter1.tex for draw a gantt chart ...
4
votes
1answer
63 views

Shared counter (between description environments) results in “undefined control sequence” [closed]

The objective is to share the counter SharedCTR1 across the description environments. The following code works with only one description environment, but not with both. \documentclass{report} ...
1
vote
1answer
1k views

File ended while scanning use of \frame [closed]

I am a beginner in Latex. My code: \documentclass[xcolor=dvipsnames]{beamer} \mode<presentation> \usetheme{Antibes} \usecolortheme[named=Green]{structure} \title[HUM-THE SABHAl]{Training ...
0
votes
1answer
119 views

TeXShop cannot print hello world

I'm running TeXShop on a mac. My latex environment somehow has somehow stopped working and can no longer even print hello world. Here's my complete latex document: \documentclass{article} ...
2
votes
0answers
156 views

TikZ externalize causing problems with template

I have a large document (I'm using pdflatex with Eclispe and TeXlipse) with many (many) TikZ graphics (math function plots, most of them). In order to reduce (drastically I hope) compilation time I ...
6
votes
1answer
49 views

Using \begin{collect*} in a new \newenviroment

I'm not terrible experienced with latex, an I'm trying to wrap up the \begin{collect*} command with some common arguments used into its own enviroment, but I'm having trouble getting the whole thing ...
0
votes
0answers
118 views

File ended while scanning the use of \@newenv

I am trying to create a diary in LaTeX. I have found a relevant question using latex to keep a diary. I believe that ferahfeza gave a prety answer however there are some points that are not working. ...
0
votes
0answers
31 views

Fixing LaTeX errors “Environment table undefined.” [duplicate]

I have written the following TeX program in KWrite editor to make a table. \begin{table}[t] \centering \caption{test table} \begin{tabular}{c c c} \hline one &\ two & \three\[0.5ex] hline 1 ...
3
votes
1answer
59 views

Error with nested environment and forced linebreak inside tabbing

I reduced the offending code to this: \documentclass[12pt,a4paper,notitlepage]{report} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \begin{document} \newenvironment{foo}{}{} ...
12
votes
4answers
331 views

Opaque error messages given by common environments

This is a public-interest question. The title of the question Why does this error keep popping up even though I clearly fixed it? poignantly expresses a fundamental truth of LaTeX usage: sometimes ...
2
votes
1answer
65 views

System: XeLaTeX, Circumstance: Automation, PROBLEM: error message “missing \item”

I am currently generating PDF's with variable contents from a template I made. Data is fetched from a database and used to create reports. This has been working greatly until recently I needed to ...
5
votes
1answer
85 views

Can I redefine \begin so that it does not complain about undefined environment

I'd like to be able to do the following kind of thing: \documentclass{standalone} \begin{document} Foo \begin{MyUndefinedEnv} Bar \end{MyUndefinedEnv} \end{document} without LaTeX complaining ...
6
votes
1answer
457 views

How to declare a new environment similar to abstract in a report?

Similar questions have been asked, but none have answered my particular problem. I am trying to declare in a report a new environment which would be similar to the abstract environment. I have looked ...
3
votes
1answer
176 views

afterpage + list = missing \item

I'm trying to use the afterpage package to automatically insert text at the top of each page (please see my other question Section reminders at the top of each page?) but I'm having trouble. ...
9
votes
2answers
82 views

Can I redefine an environment to generate an error?

I know how to use \renewenvironment to redefine an environment, but instead of changing formatting, I'd like to have any use of the environment generate an error (log and abort). Is there a way to do ...
0
votes
1answer
2k views

Why am I getting this “Missing $ inserted” error in an algorithm figure just like all my other algorithm figures?

I'm writing a paper in LaTeX, and I'm getting a strange "Missing $ inserted" error when I try to compile the paper using pdflatex, but only if it contains the following code. \begin{algorithm*}[tbh] ...
4
votes
1answer
2k views

Undefined control sequence with pgfgantt package when creating Gantt chart

I'm attempting to make a Gantt chart in my LaTeX document with the pgfgantt package. However, when I try to compile, it gives me undefined control sequence at the first \gantttitle between the {7} and ...
7
votes
2answers
2k views

Unable to create multiple timelines using chronology.sty

I wanted to create a document that contains multiple timelines on one page. I am using chronology.sty, which uses TikZ, to accomplish this. However, I get an error when I try to create more than one ...
1
vote
1answer
374 views

Why does pdfLaTeX fail when I try to use `begin{lstlisting}` inside a user-defined environment?

I'm having trouble with the listings package. I can't compile the following minimal example through pdfLaTeX: \documentclass[a4paper, 11pt, twoside, openright, english]{memoir} \usepackage{listings} ...
0
votes
1answer
2k views

Problems with captions in the environment wrapfigure

I'm dealing with a rather weird issue. Using the enviroment \wrapfigure, I receive an error message undefined control sequence \float@caption ... oxrestore ... \normalize @fs@capt ... let alone ...
2
votes
1answer
1k views

Implementing “aside” environment for explaining details of calculation

I would like to have parts of the text set in smaller time with different indentation, and separated from the rest of the text visually (e.g. by horizontal rules). I would like to use this to set off ...
19
votes
4answers
6k views

Making a new environment combining equation and split

I'm trying to define a new environment that consists of a split environment inside an equation environment. But I'm getting an error. Here's what I'm doing: \documentclass[a4paper,12pt]{article} ...