Search found 419 matches
- Mon Jul 22, 2024 3:22 pm
- Forum: MiKTeX and proTeXt
- Topic: Error: "Loading a class or package in a group. \usepackage" with .cls file
- Replies: 2
- Views: 4479
Error: "Loading a class or package in a group. \usepackage" with .cls file
Well, a class file lacks a document body---at least, there shouldn't be any in a class file to begin with--so a class file is not supposed to be compiled directly. Nor a style file, for that matter. Rather, create a .tex file that loads the class (or style) you're working on and compile that .tex fi...
- Fri Jul 12, 2024 11:54 am
- Forum: Fonts & Character Sets
- Topic: CE marking Topic is solved
- Replies: 2
- Views: 3426
CE marking Topic is solved
Well, according to symbols-a4 , the marvosym package provides such a mark as \CEsign . Alternatively, you could download the zip file with the mark provided on that site you mentioned, unpack it and put its contents somewhere LaTeX can find it (say, your work folder where your .tex file resides), th...
- Fri Jun 07, 2024 8:08 pm
- Forum: Fonts & Character Sets
- Topic: LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX. Topic is solved
- Replies: 19
- Views: 6863
LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX. Topic is solved
Hi Bob, sorry, I meant `input the same way as you did before that led to the error', but your zip helped already (if a bit long): The working instances of á are coded as c3 a1 (single á glyph), the non-working ones as 61 cc 81 (a followed by U+0301), so you've got two different kinds of encoding (I ...
- Fri Jun 07, 2024 12:14 am
- Forum: Fonts & Character Sets
- Topic: LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX. Topic is solved
- Replies: 19
- Views: 6863
LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX. Topic is solved
Hi Bob, sounds to me like your editor puts U+0061 and U+0301 (`a', followed by the `combining acute accent') into the .tex file, but when copying it here, the sequence gets translated into U+00E1 (á). You could (dis)prove this theory of mine by typing (not copying!) \documentclass{article} \usepacka...
- Mon Jun 03, 2024 7:58 pm
- Forum: Graphics, Figures & Tables
- Topic: TOC with unnumbered subsections
- Replies: 5
- Views: 2013
TOC with unnumbered subsections
If you look closely, you'll see I answered your last question before you asked it ;) (look at my comment after \setcounter{tocdepth}{3}) To recap, the standard classes define these sectioning commands with their, hmm, level values: ⋅ \part -1 (0 for article class) ⋅ \chapter 0 ...
- Sat Jun 01, 2024 10:38 am
- Forum: Graphics, Figures & Tables
- Topic: TOC with unnumbered subsections
- Replies: 5
- Views: 2013
TOC with unnumbered subsections
Well, besides that you're trying to set a counter that doesn't exist (tocnumdepth), even if you used the right name for it (tocdepth), you're setting it after you're outputting the TOC, so it would not have any effect on the TOC. The starred version of \section suppresses the incrementation of its s...
- Wed May 22, 2024 10:25 pm
- Forum: General
- Topic: Using datatool to structure a book of recipes Topic is solved
- Replies: 2
- Views: 4752
Using datatool to structure a book of recipes Topic is solved
I just tested the code and it fails to find Recipes.csv. How do I connect it so the code finds it? ~ Peter Just put it into a filecontents environment into your preamble, then the file will be created wherever the .tex file is run. \begin{filecontents*}{Recipes.csv} % dump contents here \end{fileco...
- Tue May 21, 2024 7:49 pm
- Forum: General
- Topic: xString - Problem with extracting from string Topic is solved
- Replies: 6
- Views: 11473
xString - Problem with extracting from string Topic is solved
Yes, that's called a significant space. A newline character from the input inserts a space in the output. It doesn't matter, if this newline character is part of the text body or part of a command definition. There's an easy way to `hide' this newline character, to prevent a command from adding spac...
- Thu May 16, 2024 7:18 pm
- Forum: General
- Topic: xString - Problem with extracting from string Topic is solved
- Replies: 6
- Views: 11473
xString - Problem with extracting from string Topic is solved
Yes, I think I do. What's keeping you from creating your own string-between? Could look like this: \documentclass{article} \usepackage{xstring} \newcommand{\stringToNumberTable}{One:1;Two:2;Three:3;} \newcommand*\mytmp{} \newcommand*\mystrbetween[3]{% \StrBehind{#1}{#2}[\mytmp]% \typeout{+++ (\mytmp...
- Wed May 15, 2024 9:33 pm
- Forum: General
- Topic: xString - Problem with extracting from string Topic is solved
- Replies: 6
- Views: 11473
xString - Problem with extracting from string Topic is solved
You're looking for the wrong ; character for second and third: the first occurance of ";" is before the first string ("Two:" / "Three:"). That's why nothing is returned. You could try \documentclass{article} \usepackage{xstring} \newcommand{\stringToNumberTable}{One:1;T...