# All Questions

14 views

### Weird invalid character error

I get this weird error with this code and I have no idea why: ! Text line contains an invalid character. l.45 ^^@ ^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^... A funny ...
7 views

### Combine several math symbols in one symbol properly

How to put several math symbols together in one and make it work as a single math symbol? It should be invulnerable to font size and scaling. For example I want to have this weird symbol: and I ...
13 views

### Drawing percolation configuration with TIKZ

I am trying to draw a site/bond percolation configuration. For the site percolation, which seem the easier one to draw, i was trying this probably too naive code: \documentclass{standalone} ...
10 views

### tikz overlay changes width of resizebox

I have a beamer frame with a large matrix. I want to add some annotations to it, for which I use tikz overlays. However, the matrix (I suppose that it is the resizebox, actually) changes its width ...
16 views

### Alternative to foreach loop to use an edef

I need to create some dynamic name macro and I want to create them from a coma separated list of parameter in #1 in one loop. foreach is not the solution because it forces the use of gdef and I want ...
18 views

### How do I prevent figure pages from interrupting passages?

I've written a text with some page-size figures in it. The problem is: The figure pages are interrupting sentences and paragraphs. The figures are supposed to be looked at for some time, so I'd like ...
7 views

### gb4e: phantom, spacing

Dear Stackexchange community, In order to provide my interlinerar examples with a pream, I use \pream and \pglt from this thread: gb4e: remove extra space below preamble/header lines This works ...
12 views

### Page break incorrect with sideways table

I'm having difficulty with a sidewaystable: after the section heading it will leave a whole page blank after having a separate page with the table. How can I get it on the same page? ...
16 views

### Problem with installing MiKTeX

I was trying to install MiKTeX 2.8.35553 and landed up with the following error. Can anybody tell me the exact installation source ? Thanks in advancce...
52 views

### A Good way to draw technical Diagrams

I'm currently writing a research paper. For that I need to create some diagrams like the one given below(it is taken from an existing paper). It's not clear so I wanted to make my own figure. I tried ...
25 views

### Extra section between part and chapter

I want to have an extra sectioning level under \part{}, say \subpart. It has no difference as for the location on the page or the size of the font with \part{} command. I tried titlesec but I ...
20 views

### Weird floating properties

I have a document that is arranged this way: However, I don't like this, because the order of my figures are messed up. What I would like to see is something like this: Can you tell me how to ...
15 views

### citet flat out refusing to work [duplicate]

appologies if i get the question format wrong, this is my first post. so im writing my thesis at the moment, and all of a sudden natbib seems to stop working entirely. im not sure why, but all of a ...
16 views

### split output into multiple files [duplicate]

Is there a way to automatically split the output into different PDF files? The reason is that I want to generate a document "paper.pdf" and a different document "supplementarymaterial.pdf", with ...
17 views

I'm using this example http://www.dickimaw-books.com/latex/minexample/index.html. And I have a problem with dots in my Introduction. How to insert dots for Wstęp? \chapter*{Wstęp} ...
12 views

### Problem with multicolumn

I'm working on a new environment based on tabularx and using some luatex functions. Actually, I have the following code. \documentclass[10pt,oneside]{article} \usepackage{luatextra} ...
14 views

### problem in installing MikTex2.9

I met failing in installing MikTex2.9 and I can't solve it . MiKTeX Setup 2.9.4503 Report Date: Thursday, May 05, 2016 Time: 10:34:29 OS version: Microsoft Windows 8 Business Edition, 64-bit (build ...
30 views

### A standard UN*X tool to pack a bunch of files in filectontents environment?

I was looking for something like: filectontents *.sty | cat - main.tex > newmain.tex It should be easy to write a script that iterating over its arguments, would wrap each in a filecontents ...
19 views

For a Question bank, which is a pdf-only CC edition, I defined hyperlinks and hypertargets as explained in Adding another answer hyperlinked to the question itself. To typeset more chapters as ...
36 views

### Expansion problem

In this example, I want to create nodes generically named (for the user) \N{a}, \N{b} ... in each macro but named differently (for tikz) to avoid confusion and overwriting when calling macro ...
44 views

### Doesn't the verbatim environment work with the standalone class?

I have the following code, which is as minimal as it could possibly be ( standalone 2015/07/15 v1.2): \documentclass{standalone} \begin{document} \begin{verbatim} Ciao \end{verbatim} \end{document} ...
40 views

### What does this bad box signify? And how to get rid of it?

I'm trying to compile some notes I've written using Latex (WinEdit 9.1 + MikeTex 2.9.5845 + Latex: AMS Article). Although it has compiled (when I select Compile on the Accessories menu), there is ...
23 views

### Paragraph delimiters that disappear at the tops and bottoms of pages (like \vspace)

Books of poetry, or collections of short prose expressions, are often delimited by ornaments. I would like a command that inserts an ornament between paragraphs, but that disappears at the top or ...
6 views

### Automatic Line Breaking Under Gradient Color Text

How could I add automatically line breaking for a gradient color text? I would like to add gradient color for separate words and long ones are just causing trouble. The code I am using is ...
20 views

### How to create an array while using latex \DeclareOption

I have a class in which an option is to state a code and the resulting program of study is represented at various points throughout a document. The option also changes a number of other blocks of text ...
11 views

### remove first page numbering in bibliography (bibtex)

How is it possible to remove the page number only on the first page of bibliography. I have these lines to generate the bibliography list: \bibliographystyle{abnt} \bibliography{references} I got ...
13 views

### Wrong URL characters in Dissertate template?

When I try to add a link in a chapter of the Dissertate template (https://github.com/suchow/Dissertate), the displayed characters in the URL are wrong in the resulting pdf. Wherever I try to make a ...
11 views

### chemical reactions: equilibrated reversible step symbol

I have no idea how to write this equilibrated reversible step of a surface reaction: . Is there a circled leftright harpoon in some package? or, how can I put that tiny circle in the middle of the ...
32 views

### In CONTEXT, how can I get the total number of chapters?

For total number of pages, one can use \lastcounter[userpage] to get the total number of pages in the document. Actually it gives the number on the last page (which is more interesting). Similar ...
36 views

### How to cite an epub or ebook with biblatex-dw?

Background Reading so-called electronic books is becoming increasingly common, not only as a leisure activity, but also as a serious means to do research. However, there is some reluctance to embrace ...
6 views

### Prevent column or page break in multicols with dtlforeach

I am trying to typeset an event program using data in a csv file. When I load the data, I would like to ensure that I avoid column (and page) breaks in the middle of a DTLforeach repeat (i.e., in the ...
19 views

### Trouble finding sty file, even though it's in ls-R

I'm on Linux (Mint 17.3 over Ubuntu 14.04), and have been reading around for how to get bibtex to understand a style file I've installed. Following the output of kpsewhich -var-value=TEXMFHOME, I ...
25 views

### Odd indentation after \newline, after Math text

So this happens whenever I try to insert a new line in my source code: The center equation is no longer centered! Why does that happen? I can't seem to figure out how to center it. Here's the ...
47 views

### How do TeX break paragraphs into lines when there is only two element in a pararaph?

Suppose we have the following code: \def\tp#1#2{#1\hskip 300cm minus 300cm\hbox{#2}} \tp{Hello}{World it is} and \def\tp#1#2{#1\hskip 300cm \hbox{#2}} \tp{Hello}{World it is} The first one gives ...
102 views

### Tricky macro expansion and list

I posted these two question Tricky macro expansion Tricky list Now I would like to merge the two issues: \documentclass{article} \makeatletter \newcounter{a@c} \newcounter{b@c} ...
57 views

### speech cards / palm cards

I wish to print a document in the form of speech/palm cards. That means, the text of the speech needs to be divided up by LaTeX automatically so that it fits into boxes of fixed dimensions ...
44 views

### Why is the decoration marker off center?

Description I am making a graph and am using a decoration marker to make square nodes between the circular ones. That had been working fine until I wanted to add a decoration between T_t and I_t ...
31 views

### 3D PDF cycling between views animation

I'm creating a 3D pdf with latex and movie15 and I added some views for my u3d object... Then I added turntable.js to manually change a view of the object... till now everything is fine It is ...
22 views

### The error of ' ! I can't find file `tikzlibraryarrows.meta.code.tex'.'

I want to draw some 3D cubes. I found a useful script on how to draw parallelepiped and cube with latex?. The part of code is as follows, \documentclass[border=5pt, multi, tikz]{standalone} ...
66 views

### How to mimic cards generated by passwordcard.org?

Assuming we have generated contents of card (i.e. excluding top header row and left indexing column) , for eg. with some pseudo-random generator script. How to render such to mimic the look of one ...
34 views

### Figure correctly compiled but TikzEdt gives an error

I'm using TikzEdt (version 0.2.3.0). I find it convenient since it produces .tikz files directly includable in the main document by an \input command. Everything works fine but, when I compile the ...
27 views

### Non-Ascii characters not displaying properly with memoir

I am trying to use non-english characters to work in memoir for a book I wrote. It is science fiction and I am 'making up' an alien language. While I am no linguist, this is only for a few sort ...
17 views

### jasa-template.zip used with LaTeX

jasa-template.zip was downloaded and now what? We do not know how to use it with our LaTeX written paper How does one unzip it?
33 views

### Problems using QT.cls

I am attempting to use the class file qt.cls, available at the journal's website, but when I try to compile, even just using their example document in TexShop v3.61, I get the error: and when I go ...
32 views

24 views

### How to Test for Page Style Inside eso-pic

I'm having trouble implementing this solution inside eso-pic: If pagestyle equal to... -- How should I ask it? It looks like \thepagestyle is coming out equal to "fancy" on every page, including ...
240 views

### Tricky expansion in macro

I wrote the following code \documentclass{article} \makeatletter \newtoks\a@toks \newtoks\b@toks \newcounter{a@counter}% \newcounter{b@counter}% \setcounter{a@counter}{0}% ...
15 views

### Full First Name of Author in Reference List

Can someone suggest a bibliographystyle where 1. Within the text, citations are only with surnames and year; say Brown and Rahman (2016). 2. But, in the reference list we have the full first name of ...