newenvironment without using environ package Announcing the arrival of Valued Associate #679:...

Does the universe have a fixed centre of mass?

Why are two-digit numbers in Jonathan Swift's "Gulliver's Travels" (1726) written in "German style"?

Is there a verb for listening stealthily?

Does a random sequence of vectors span a Hilbert space?

What is a more techy Technical Writer job title that isn't cutesy or confusing?

Why can't fire hurt Daenerys but it did to Jon Snow in season 1?

Found this skink in my tomato plant bucket. Is he trapped? Or could he leave if he wanted?

Is a copyright notice with a non-existent name be invalid?

Short story about astronauts fertilizing soil with their own bodies

Can two people see the same photon?

Is it OK to use the testing sample to compare algorithms?

Is there a spell that can create a permanent fire?

Is the time—manner—place ordering of adverbials an oversimplification?

How to make triangles with rounded sides and corners? (squircle with 3 sides)

Does the transliteration of 'Dravidian' exist in Hindu scripture? Does 'Dravida' refer to a Geographical area or an ethnic group?

Derived column in a data extension

malloc in main() or malloc in another function: allocating memory for a struct and its members

How do Java 8 default methods hеlp with lambdas?

Is this Half-dragon Quaggoth boss monster balanced?

Determine whether an integer is a palindrome

Besides transaction validation, are there any other uses of the Script language in Bitcoin

As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?

systemd and copy (/bin/cp): no such file or directory

Did John Wesley plagiarize Matthew Henry...?



newenvironment without using environ package



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How to isolate / confine / contain a new font inside of a NewEnviron (new environment using eviron package))LaTeX newenvironment with nested bracesCross-reference of custom environments created with environ and TikZ packageCollecting contents of LaTeX environmentCan the hygiene problem of environ and newenviron be eliminated completely?The Environ package misbehaviour on empty contentHow do I prevent text overflow when using savebox?Putting custom environment (using environ package) start and ends in commandsexcludecomment fails when used with newenvironment“environ” package and nested environments won't work












0















I want to create a new environment without using the environ package, which conflicts with other packages that I have. I can create the command like this when using environ package.



NewEnviron{MyCommand}{foo{BODY}}


and then envoke foo{content} using



begin{MyCommand} content end{MyCommand}


Instead of



foo{content}


Is there a way to create the same environment without using the environ package? Thanks










share|improve this question























  • What conflict? I know of none.

    – egreg
    17 mins ago











  • Welcome to TeX.SX! Can you please expand the code snippet that you have posted to a full minimal working example. It is much easier to help you if we can start with some compilable code that illustrates your problem. A MWE should start with a documentclass command, include any necessary packages and be as small as possible to demonstrate your problem. At the moment we have to reverse engineer what you can doing based on incomplete information.

    – Andrew
    8 mins ago
















0















I want to create a new environment without using the environ package, which conflicts with other packages that I have. I can create the command like this when using environ package.



NewEnviron{MyCommand}{foo{BODY}}


and then envoke foo{content} using



begin{MyCommand} content end{MyCommand}


Instead of



foo{content}


Is there a way to create the same environment without using the environ package? Thanks










share|improve this question























  • What conflict? I know of none.

    – egreg
    17 mins ago











  • Welcome to TeX.SX! Can you please expand the code snippet that you have posted to a full minimal working example. It is much easier to help you if we can start with some compilable code that illustrates your problem. A MWE should start with a documentclass command, include any necessary packages and be as small as possible to demonstrate your problem. At the moment we have to reverse engineer what you can doing based on incomplete information.

    – Andrew
    8 mins ago














0












0








0








I want to create a new environment without using the environ package, which conflicts with other packages that I have. I can create the command like this when using environ package.



NewEnviron{MyCommand}{foo{BODY}}


and then envoke foo{content} using



begin{MyCommand} content end{MyCommand}


Instead of



foo{content}


Is there a way to create the same environment without using the environ package? Thanks










share|improve this question














I want to create a new environment without using the environ package, which conflicts with other packages that I have. I can create the command like this when using environ package.



NewEnviron{MyCommand}{foo{BODY}}


and then envoke foo{content} using



begin{MyCommand} content end{MyCommand}


Instead of



foo{content}


Is there a way to create the same environment without using the environ package? Thanks







environments






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 17 mins ago









GeorgeKGeorgeK

82




82













  • What conflict? I know of none.

    – egreg
    17 mins ago











  • Welcome to TeX.SX! Can you please expand the code snippet that you have posted to a full minimal working example. It is much easier to help you if we can start with some compilable code that illustrates your problem. A MWE should start with a documentclass command, include any necessary packages and be as small as possible to demonstrate your problem. At the moment we have to reverse engineer what you can doing based on incomplete information.

    – Andrew
    8 mins ago



















  • What conflict? I know of none.

    – egreg
    17 mins ago











  • Welcome to TeX.SX! Can you please expand the code snippet that you have posted to a full minimal working example. It is much easier to help you if we can start with some compilable code that illustrates your problem. A MWE should start with a documentclass command, include any necessary packages and be as small as possible to demonstrate your problem. At the moment we have to reverse engineer what you can doing based on incomplete information.

    – Andrew
    8 mins ago

















What conflict? I know of none.

– egreg
17 mins ago





What conflict? I know of none.

– egreg
17 mins ago













Welcome to TeX.SX! Can you please expand the code snippet that you have posted to a full minimal working example. It is much easier to help you if we can start with some compilable code that illustrates your problem. A MWE should start with a documentclass command, include any necessary packages and be as small as possible to demonstrate your problem. At the moment we have to reverse engineer what you can doing based on incomplete information.

– Andrew
8 mins ago





Welcome to TeX.SX! Can you please expand the code snippet that you have posted to a full minimal working example. It is much easier to help you if we can start with some compilable code that illustrates your problem. A MWE should start with a documentclass command, include any necessary packages and be as small as possible to demonstrate your problem. At the moment we have to reverse engineer what you can doing based on incomplete information.

– Andrew
8 mins ago










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485966%2fnewenvironment-without-using-environ-package%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485966%2fnewenvironment-without-using-environ-package%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

Castillo d'Acher Características Menú de navegación

Connecting two nodes from the same mother node horizontallyTikZ: What EXACTLY does the the |- notation for...