# All Questions

178 views

### macro for glossaries counter

I want custom my glossaries, and specially I want to have something like My glossary entry, its signification (see p. 1), if this entry mentioned only once or My glossary entry, its signification ...
117 views

### Environment which sends text conditionally to an appendix?

I am writing a paper and would like an environment that has the following property. If some flag is set to "true" in the preamble, all text wrapped in that environment is sent to the appendix. If the ...
111 views

### customed index with dotfill in frontmatter

I wanted to custom my index so I used a latex makeindex -s myfile.ist texfile.idx latex compilation. myfile.ist contains : % heading_prefix "{\\bfseries\\hfil " heading_suffix "\\hfil}\\nopagebreak\...
588 views

### Align text to left, equation in center

I want to write down some equations, with some commentary between the equations. However, the equations need to be aligned and I want the commentary to be aligned to the left. My code is: \begin{...
220 views

### Making the unnumbered Bibliography chapter in memoir into a numbered chapter

My supervisor has told me my references section needs to be numbered. However, I do not know how to make that happen. I read somewhere about redefining the \printbibliography command within the memoir....
249 views

### TikZ and tikzorbital: problem with background

It looks like tikzorbital package is not compatible with background library of basic TikZ. As you see in the picture below, just p_y displayed (do not pay attention to notations in MWE). It displays ...
970 views

### Print counter value minus 1

I have defined a new counter that keeps increasing each time I call the macro that's using it. How can I print the counter value minus one? Something like \value{\theCounter-1} but formatted for text? ...
118 views

### Page number within diamond box

I want to insert diamond around page numbers of my thesis file. I am using thesis documentclass. The pages numbers appear on top right corner.
429 views

### I need occasional Hebrew letters in my English text

I am writing a humanities work in book format with LyX 2.1.2 in Linux Mint 17. I need text output in PDF format in an English language document with a few occasional words in Greek, and Hebrew. I ...
151 views

### What is this typography in this variable?

I am wondering how to get "gamma2" to have the same font as in Doing gamma2 = \Gamma (\alpha + 2) gives the wanted equation, but "gamma2" does not have the font of the example. How can I get ...
32 views

### How come the texnansi-encoding didn't work for the Symbol-font?

I've been installing PostScript Type 1 fonts in TeXLive, where I've used the texnansi encoding. Everything worked very well with every PS Type 1 font I tried, except when I came to the Symbol font, ...
418 views

### Publication style for Algorithms

I want to make own paragraphs for algorithms by numbering them appropriately. I do not need any fancy things - white background, no borders and black font are ok. I am trying to write in Springer ...
2k views

### Trouble with \usepackage [german] {babel}

All I wanted was to use an umlaut here and there in my paper, so I loaded the above package. I still did not get a decent umlaut. Since I saw that german was popping up in places where it shouldn't ...
317 views

### Adding space in ToC between the part number and part title

I am running into some formatting trouble with memoir and the \part commands. In the table of contents, as the number of parts add up, the space between the part number, i.e. "III" and the part ...
91 views

### An extra margin is added when used \begin{center}

In my MWE I use \frame{\includegraphics....} to find what happens \documentclass[12pt,a4paper,oneside,openany]{book} \usepackage{graphicx} \begin{document} \begin{center} \fbox{\includegraphics[...
904 views

### Insertion of blank pages in Thesis using document class Thesis

I am writing my thesis and want to insert blank pages after Declaration, Abstract, Acknowledgments, etc. and also after each chapter so that the next chapter/ section starts from odd-numbered page. I ...
198 views

### Opinions: Circuit_macros or circuitikz ? what is better? [closed]

I'd gladly read your opinions on Circuit_macros pros and cons, as well as yours on circuitikz. Gives the macro more variables to play with? Is the circuitikz language easier? Macro use seems far more ...
212 views

### How can a bring a middle paragraph out of the enumerate environment? [duplicate]

When a text is in the enumerate environment, all the text is indented under the numbers. How can I remove the indentation from the text in the middle of the enumerate environment? This is what I am ...
479 views

### Error in hyperref package [closed]

I'm trying to color all links by using this option: \usepackage[colorlinks=true,allcolors=blue,breaklinks,draft=false]{hyperref} When compiling my .tex file, I get the error Package keyval error:...
118 views

### Are .vf-files really needed in LaTeX in order to use PostScript Type 1 fonts?

I have adapted several PS Type 1 fonts for use with TeXLive. What I found out, is that only three types of font-files are needed, which are a .map-file, .tfm-files and .pfb-files. However, at http://...
24 views

### Problem with scaling

The code below work without [scale=0.5]. Any idea how to get it to work with [scale=0.5]? \documentclass{article} \usepackage{graphics} \begin{document} \includegraphics[scale=0.5]{logo.jpg} \end{...
96 views

### Problem with PPower4

I am new to ppower4. I have installed it from here. I have followed all the instructions given there. After installation I tried to run test example. I am getting pdf file but I am unable to post ...
116 views

### How can I typeset code region comments to the left of an algorithm? [duplicate]

I'm looking for a way to add region comments to an algorithm. A comment should appear left of the listing and mark the corresponding code region by, for example, a large curly bracket. Like summaries ...
130 views

### Conflict between mhchem and pdftooltip (pdfcomment package)?

I tried to hide some text into a pdftooltip, which was working fine up to now (when I used TeXLive 2011). I now upgraded to MacTeX 2014 and now I get an error, if there is a chemical formula in this ...
262 views

### Is there an easy way to have node border anchors centered on the borders?

I would like to place nodes with given distances relative to each other. For consistence with other drawings these distances have to be very accurate. Node border anchors are placed at the outer ...
53 views

When using pdflatex or latexmk in the Terminal (OS X) I can use the key "E" to jump to an error position in the sourcecode, if compiling hangs. However, this opens vim in Terminal and I'm not ...
48 views

### Where does LOW-9 comes from? [closed]

In Polish typography a quotation is put in between „ (U+201e) and right quotation mark ” (U+201d). The opening symbol is called "double low-9 quotation mark" in the Unicode. Where does it come from? ...
349 views

### show solution after each subquestion using exsheets package

I have a scrbook document with chapters and sections and each section contains a set of questions + solutions (using the exsheets package, with numbering reset in every section; see MWE below). Each ...
70 views

### Format a PGF Plot

I have a simple PGF plot using this code \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{figure*}[htpb] \centerline{ \hbox{ \begin{tikzpicture}[scale=0.6] \begin{axis}[enlarge x ...
65 views

### How may I left-align the following as a whole?

\documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{mathtools} \usepackage{IEEEtrantools} \begin{document} \begin{IEEEeqnarray*}{rCl} E&=&(ab)^{m}.\,\text{(...
138 views

### Table of variation [closed]

I am trying to make a table of function variation with tkz-tab package, like Problem is that I don't know how I could obtain arrows like in the image. My code is: \documentclass[11pt,b5paper]{...
46 views

### Using scalebox with href inside or how to scale a hyperlink

If I use scalebox with href, (as in \scalebox{0.5}{\href{mailto:someone}{shown mail address}}), then the hyperlink is not clickable anymore (meaning I can’t click on the shown mail address to mail to ...
951 views

### latexmk and ps2pdf on Mac OS (TextMate)

I just recently came across a TeX file which is working with eps-files, so that latexmk first generates a .dvi file. The conversion to .ps also works great, but after that latexmk is not able to ...
113 views

### Ignoring parts of text inside macro

Consider the following code: \documentclass{book} \usepackage{pgffor} \begin{document} \newcommand\containers{ \cont{aaa{\bf don't xstring me}aaa} \cont{bbb\large bbb} \...
89 views

### How to add audio file to longtable?

I am trying to make a long table that includes embedded audio files. Whenever I try adding files with media9, LaTeX won't create a pdf. Any suggestions on how to make a long table with embedded audio ...
223 views

### renewcommand the chapter in chinese problem

I move code from Miktex into Texlive. But I get errors: Run in Xelatex ! Undefined control sequence. \chaptername ->第\CJKnumber {\thechapter }章 l.33 \chapter{绪论} ...
18 views

### issue with \subsubheading with nested syntax

I am back with another issue. This time it is an ! Undefined control sequence for the following section of text: \subsubsection{\texbf{ \underline{Scenario 1 Path Loss:}}} In this scenario, we ...
182 views

### Why does \label not work in math mode when using [fleqn] with amsmath?

Try the following \documentclass[11pt]{article} \usepackage[fleqn]{amsmath} \begin{document} \newcounter{eqnthing}\setcounter{eqnthing}{0} $a+b=c\refstepcounter{eqnthing}\label{maththing}$ \par ...
310 views

### Natbib giving citation undefined

I have been doing citations using natbib without bibtex and manually entering citations. I keep getting an issue when compiling stating "Citation 'all citations' on page # undefined on input line #" \...
271 views

### How could I draw 4 mosfets in a same line? (attached picture)

I only know how to do one and in a unique line. How is it possible to put four together and well spaced as the picture I am showing? what I did until now: \usepackage{circuitikz} \begin{document} ...
115 views

### Problem with gb4e's spacing when using datatool

Say that I have a .csv file with sentences in IPA, their glosses, and their translations that I want to incorporate into a document. However, using datatool to loop over the .csv doesn't work with ...
132 views

### footnotes referencing previous footnotes BUT using parnotes package

I tried all but one of the 6 examples (adapting/hacking it to see if I could get it to work with parnotes) in the question: Multiple references to the same footnote with hyperref support - is there a ...
156 views

### Combine todonotes with mdframed to highlight paragraphs and write notes

I am trying to combine todonotes with mdframed to create a unifying command that allows to write todos and and highlight paragraphs at the same time. The syntax is \todo[<todo-options>]{<...
420 views

I am trying to install Texlive 2014 on my Windows 7 laptop. The issue is that when I run "install-tl-windows" in the command line, and I press next in the GUI that pops up, I get a message saying "...
300 views

### auto adjust node position in a binary tree

I'm trying to draw a binary tree using tikz. I use shift option to define the relative position of child nodes. But as the tree grows, the nodes start to overlap if I use a fixed shift. I'm able to ...
129 views

I am having issues with my minipages header -- the left most part that says "introduction" never changes. I would be happy even totally getting rid of, which I can't seem to do. %%%%%%%%%%%%%%%...
422 views

### Timeline improve look to get a better understanding

My timeline shows all the needed information. I now want to make it look nicer, but I don't know how. I thought about colors for each "type" and a better font, e.g. \textnormal{}. What would you ...
61 views

### How do I get TeX to recognize my class? [closed]

I have a file myclass.cls in a folder, and I made a new document that uses myclass. However, my class isn't being recognized as existing. I'm using TeXworks on a PC. How can I get the class working?