# Tag Info

0

I fixed it by replacing \lstlistoflistings with: {% \renewcommand{\cftfigurename}{\listingname\space} \lstlistoflistings }

2

In both cases you get the error ! File ended while scanning use of \TX@get@body. In the first case LaTeX is looking for \end{tabularx}, which it doesn't find because it's hidden inside \end{solution}. In the second case \tabularx makes LaTeX look for \end{tcolorbox}, which is the parent environment when \tabularx is processed, but the problem is the same, ...

1

I found an alternative way, by "reconstructing" tcolorbox using framedmd: % in Preamble: \usepackage[framemethod=TikZ]{mdframed} \newenvironment{solution} { \mdframed[roundcorner=7pt,backgroundcolor=gray!10,linewidth=1.5pt] \tabularx{\textwidth}{lX} } { \endtabularx \endmdframed }

5

This exploits that atbegshi, which is loaded by eso-pic, puts the contents of the page in a box, \AtBeginShipoutBox. This box can be copied. The following is a proof of principle and works regardless of tcolorbox. It does, however, assume that the user is careful enough to confine the stuff on the left side of the page. There are many ways in which one can ...

1

Something like that: \documentclass{article} \usepackage{scontents} \pagestyle{empty} \setlength{\parindent}{0pt} \begin{document} \section{Definitions} Some text here... \begin{scontents}[print-env=true,store-env=definitions] First definition stored in memory. \end{scontents} More text here... \begin{scontents}[print-env=true,store-env=definitions] ...

2

\global can only be used before a tex primitive assignment. If you use it before a macro then it will perhaps make the first internal assignment in that macros expansion global, or it may do nothing or it may generate an error, depending on the internal implementation of the macro. Certainly for a coffin that requires several linked assignments for the box ...

1

If i understand you correct, this might be the answer: \declaretheorem[numberwithin=section, frame,name=la definitione]{definition} (again) straight from the documentation... http://tug.ctan.org/macros/latex/exptl/thmtools/thmtools.pdf (1.1 Elementary definitions) To save you from having to look up the name of the key every time, you can also use “title=...

1


1

In your specific example, defining a new environment like aa won't work since the environment aa is defined by \aa and \endaa, and the former (\aa) is already defined by default as Angstrom. You could create \newproblemset to completely ignore whether a command is already defined using the following definition: \newcommand{\newproblemset}[1]{% \...

2


3

There is a package for this: \documentclass[10pt]{article} \usepackage{comment} %\includecomment{forshort} \excludecomment{forshort} \begin{document} Something in the whole course. \begin{forshort} Just a summary... \end{forshort} \end{document}

1


1

Even with the example from your own answer I still get some warnings into the .log-file: pdfTeX warning (ext4): de stination with the same identifier (name{test.1.1}) has been already used, dupl icate ignored [...] pdfTeX warning (ext4): destination with the same identifier (name{thm.1.2}) has been already used, duplicate ignored In my opinion these "...

0

Ok it's a little embarrassing, apologies to @UlrichDiez who probably spotted this and then took my bad reply. So I added in some of my old code and slowly got more hints what was wrong. It turned out I had the idea of #1 and ##1 the wrong way around. The counter issue was still a problem, but somehow adding the alias counter (from original code) helped the ...

0

Textpos isn't designed to place textblock environments on pages other than the current one, so I think that's a non-starter for your particular problem. I've added an answer to your linked question, which might be helpful.

1

You are not providing any screenshot for Example style, so I've defined my own, and the codings are : \newenvironment{example}{\bgroup\par\noindent\textbf{Example}\par% $}{$\egroup} Please paste the above codings after \begin{document} and then try...

0


0

Try to use center environment like this: \begin{center} Section title \end{center} or the command centering like this : \begingroup \centering \colorbox{mygrey} { {\rlap{\MakeUppercase{\bf #1}}\hspace{\linewidth}\hspace{-2\fboxsep}} Section title } .... ....

0

Updating biblatex to version >= 3.13 solves the issue. See the question referenced as duplicate.

Top 50 recent answers are included