{environments} is for general questions related to (La)TeX environments. For questions about environment subcategories like {lists}, {quoting} environments, or {floats} use the appropriate tag instead.

learn more… | top users | synonyms (3)

1
vote
2answers
161 views

Testing if \BODY is empty in Environ

I would like to test whether the string in \expandafter\long\expandafter\xdef\csname\currfilebase\Introduction is empty so that the section is not displayed. This environment introduction is defined ...
1
vote
1answer
187 views

Combine listings package with my own enviroment [duplicate]

Possible Duplicate: How to use different lstset settings for listings? I have defined my own enviroment as: \newenvironment{codegui}[3]{% \def\tmplanguage{#1}\relax ...
1
vote
2answers
1k views

In Lyx turn greyed out text into comments

In Lyx I would like to convert greyed out text into comments. The Lyx environment is lyxgreyedout. I have considered switching to another IDE already and it is not an acceptable solution. The ...
1
vote
1answer
245 views

How to make my unusual environment accept one argument?

I cannot find a good title to express my question. Therefore, please parse the following code first. Minimal Code \documentclass[dvips,dvipsnames,cmyk,table]{book} ...
0
votes
0answers
67 views

what is interfering with the new environment here?

Basically I wanted to modify the description list so that the first word(s) are underlined and bold If you compile this file. \documentclass{article} \usepackage{soul} ...
0
votes
1answer
109 views

Strange white line with \lstnewenvironment

I'm trying to write a \lstnewenvironment for my LaTeX class but I have a strange behaviour. Here's my code : \lstnewenvironment{console} { \lstset { ...
0
votes
1answer
301 views

Can't use caption in new environment

I am trying to make some consistent tables and looked into the nenenvironmentcommand. However, I am having trouble having a caption and using the defined environment at the same time. newenvironment ...
0
votes
0answers
77 views

Is there a way I can get the LaTeX environment? [duplicate]

Possible Duplicate: Where do I find out how a command/environment is defined? Is there a way I can get LaTeX environment for a given set-up? For example I want to get the value of some ...
-1
votes
1answer
512 views

restating a theorem using theomac.sty

I am trying to restate a theorem environment using theomac.sty which floats around, following a suggestion I received here: how do I refer back to counters? The package I downloaded loads well, but ...