Questions tagged [technical-environment]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
0 answers
91 views

How to write a multiple argument environment within a newcommand?

In my custom class file, I have a command that generates a new environment: \newcommand{\MakeThEnv}[4]{ \DefaultFrame{#1}{#2} \theoremstyle{#3} \newtheorem{#2T}{#4} \newenvironment{#2}{\begin{#2Box}...
user avatar
2 votes
2 answers
192 views

What is wrong with the following environment definition?

I want to define an environment to hide text, with warning about it before and after in the pdf-output. What is wrong with the following definition? \newenvironment{foldit} {NB! NB! FOLDED TEXT BELOW\\...
user avatar
  • 3,675
4 votes
1 answer
122 views

An environment of tcolorbox to draw vertical lines configurable in numbers and in color?

I was inspired by the code of Ignasi in the following link: Mark (highlight) a paragraph (\item{…}) with a squiggly line across several pages I modified it to do the following command: which draws #1 ...
user avatar
4 votes
3 answers
100 views

Saving the content of an environment suchas to use it somewhere else

I would like to save the content of an environment to use later with a macro at several places. Here is the real use case. I have an environment to draw "probability" trees. I want to save ...
user avatar
  • 11.5k
4 votes
2 answers
75 views

if-condition for next command

After I started building my own environments, I was wondering, if there is a if-condition, that checks what the next command is, and then gives the option to run something before the next command. A ...
user avatar
  • 366
1 vote
1 answer
48 views

Drawings of rulers (centimeter & inches) mysteriously appear in headers and footers

This is the MWE: \documentclass{scrreprt} \usepackage{scrlayer-scrpage} \begin{document} Hello world. \end{document} And the result: (plus something similar in the footer) I'm using Overleaf. I ...
user avatar
2 votes
1 answer
283 views

Verbatim LaTeX content of an environment exported to an external file

Is there a way to export the content of an environment to an external file without blocking the action of the environment ? Typically in the following example, I would like to keep the content of the ...
user avatar
  • 11.5k
1 vote
1 answer
366 views

How can I make these types of lines?

How can I make these types of lines?
user avatar
0 votes
1 answer
254 views

An environment for displaying math text in mathttt font with blank lines in between (Isabelle)

How can I create an environment that does the above? I want to be as close to Isabelle as possible(see picture). My best alternative is to define an environment as in the answer to my other question ...
user avatar
5 votes
1 answer
500 views

Settings for new environment

I'm creating a new document based on another being successful, but it's too long to use as a MWE. Anyway, I'm trying to create a new environment, but it's missing something I do not know what to look ...
user avatar
  • 1,621
0 votes
1 answer
81 views

installing getnonfreefonts in VirtualBox - Unknown option error

I am have trouble installing the nonfreefonts. When I execute getnonfreefonts -sys -a I get Unknown option: y. If I run for example getnonfreefonts -user --version I get Unknown option: e. I am ...
user avatar
  • 247
0 votes
1 answer
593 views

How to make a new environment be verbatim inside \scalebox with listings package?

After @JPi answer on How to use \scalebox around my environment? and comment pointing to the question Verbatim in environ’s \BODY I tried: Writing the contents to a file Print it on verbatim mode, ...
user avatar
  • 4,365
0 votes
1 answer
542 views

How to rename the comment or verbatim environment?

Based on the question How to rename or "copy" a latex environment I am tried to rename the comment environment to myenvironment: \documentclass[10pt,a5paper,twoside]{memoir} \usepackage[T1]...
user avatar
  • 4,365
3 votes
4 answers
5k views

How to use \scalebox around my environment?

I tried putting scalebox{.2} while defining my new environment, but it is not being applied: \documentclass[10pt,a5paper,twoside]{memoir} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \...
user avatar
  • 4,365
1 vote
1 answer
44 views

Hiding/commenting out a nested table

Continuing the question File ended while scanning use of \next, while using \begin{comment} on macro definition another example would be when there is a table inside the redefined command redefined by:...
user avatar
  • 4,365
1 vote
0 answers
67 views

File ended while scanning use of \next, while using \begin{comment} on macro definition [duplicate]

On the question How to replace a command with a dummy one? I learned to do: \documentclass[10pt,a5paper,twoside]{memoir} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[brazil]{...
user avatar
  • 4,365
4 votes
2 answers
537 views

How to replace a command with a dummy one?

On the question How to create a dummy generic environment replacement? I learned how to replace an generic envinronment with a dummy one. Until now I had success replacing then as replacing \...
user avatar
  • 4,365
0 votes
2 answers
312 views

How to create a dummy generic environment replacement?

I am trying to create a debug mode where I can comment out most things on the document. For now I was able to replace commands like \currenttime from datetime package with \def\currenttime{Current ...
user avatar
  • 4,365
3 votes
1 answer
162 views

New environment using the `multicols` environment

In the following code, I want to define a customized version of the environment multicols. The output is good but the compilation sends the following message : \begin{submulticols} on input line 95 ...
user avatar
  • 11.5k
1 vote
1 answer
317 views

steinmetz package comma problem

MWE \documentclass{article} \usepackage{steinmetz} \begin{document} $220\phase{0^{\circ}}$ $220\phase{0{,}5^{\circ}}$ $220\phase{0\phantom{{,}}\!\!^{\circ}}$ %<-- My solve \end{document} output ...
user avatar
  • 3,210
1 vote
1 answer
291 views

How to make an item bolder in description environment

Does anyone know how to make an item bolder in description environment : i tried to add \textbf{ } like this \item [\textbf{{\textarabic{سورة الإخلاص }}}] I have the following segement of code, ...
user avatar
  • 4,174
1 vote
1 answer
350 views

Improving a poorly used theme of a beamer presentation

I have completed a technical presentation, but I have tried many times to customized to improve the appearance of the PaloAlto. Very Very...Long Conf Title cannot be accommodated in the side bar, ...
user avatar
5 votes
2 answers
1k views

Online tex storage

I have quite a number of tex files on my laptop. Recently my phone went broken and thus all my data are lost. I worry the same might happen to my laptop. So I am wondering is there an online site ...
user avatar
  • 717