# All Questions

3 views

### How to automatically fill the space in a line in IEEE trans?

I am trying to insert a figure inside a subsubsection. Now after successfully inserting the figure i saw that my texts are not formatting quite nicely. . As shown in the figure the line As they showed ...
3 views

### TeXworks: Can you set a default preamble when opening a new document?

Is there any way to set a default preamble in TeXworks? So, when I open the program for a new document, can I set it to automatically have something written there; mainly I'm thinking of the pre-amble ...
10 views

### list of tables do not show all the tables

I'm writing my dissertation using my university's LaTex template. I wasn't sure what to show and what to not, so I'm attaching the template. I'm having a lot of trouble with the list of tables. At ...
10 views

### Vertex Label in tikz picture

I have drawn several graphs using tikz. Right now I am getting the vertex label inside the vertex. But I want the labels of vertices outside it. Also I want to draw two tickz pictures in one line. ...
5 views

### Adding “diagrams” to figures and tables / duplicate float?

I am writing a paper using KOMA script (scrartcl) and have a lot of tables, figures and diagrams: the latter really are nothing but figures but need to be counted separately and get their own list of ...
15 views

### How can i format this formula

I am new in Latex. How to write this formula in proper format in algorithm? I cannot write this formula in proper format. if (some condition) P=P+(W$i$*((W-P)/W$i$)) end
4 views

### Changing font family in memoir for page headers

I am using the memoir class with XeLaTeX and am using titleps to format my page headers. I need to change the font family only for the page headers because the main font I am using has no small caps. ...
15 views

### Slanted text in newtxmath

The \textsl and \textit appears to be same when I load the newtxmath,newtxtext package. Can anyone say why the error? My commands: \documentclass[12pt]{extarticle} \usepackage[margin=1in]{geometry} ...
4 views

### Spacing between Chapters and Appendix in \listoftheorems

I'm using the document class 'scrbook' and generate a list of theorems with the command \listoftheorems from the package 'thmtools'. Unfortunately, the vertical space between the last chapter and the ...
9 views

### tikz /.pic with double rotate?

dear tikzperts: how would I keep the orientation of the text in the box, so that the rotate inside the .pic will be additive to the one in the main text. \documentclass[border=3mm,12pt]{standalone} ...
6 views

### How to compile just one chapter, with bibliography of citations in that chapter?

I'd like to compile one chapter in a thesis, and include the bibliography, with only the citations found in that chapter. I am using \include and \includeonly to get just the chapter I want, but it ...
7 views

### Why does kpsewhich fail to find this file?

I'm trying to compile a file with context, and I get an error: I couldn't open style file cont-no.bst ---line 2 of file dissertation.aux : \bibstyle{cont-no : } I thought I would ...
3 views

### “No suitable columns” error when putting cases in tabulary

This code runs fine: \documentclass{article} \usepackage{amsmath} \usepackage{tabulary} \begin{document} \begin{tabulary}{\linewidth}{L} $M$\\ \end{tabulary} \end{document} But this code ...
31 views

### Cayley graph attempt

I tried modifying the latex code from a previous Cayley graph post on this site, but the arrows are not connecting correctly. The image looks ok for the first five nodes, then it falls apart. I'm ...
9 views

### Force “Figures Page” header to appear on every page of list-of-figures

This question builds upon the question asked and answered at Adding words figure and page to list of figures The expression i'm using is \listoffigures %ensures every page has ...
24 views

### Irregular spacing around a user-defined environment

I have defined an environment for consistently typesetting a pair of alternative assumptions being made. The idea is that wherever I make an assumption, the assumptions are indented and on the left ...
11 views

### Call a command where part of the command name is given as input?

This seems obvious but I can't seem to find what I need via a search (I can't figure out a good search term I guess). So what I'm looking for is to have a command that takes in a string, and then ...
22 views

### Animation with sinusoidally moving arrows

I am trying to create an animation using animateinline and it's my first. This is the frame layout: http://i67.tinypic.com/bfj7s2.jpg Below is my code so far. I can't figure out how to get the sine ...
15 views

### Change images in custom ToC

This works: Based on the answer http://tex.stackexchange.com/a/14964/36296, I put together a MWE which might look ugly, but works fine. At any place during the document I can change the picture to be ...
14 views

### How to use control symbols using \expandafter?

Suppose I want to typset P\' olya correctly in TeX but suppose my computer does not have the key invoking the character/symbol ' (This is of purely theoretical interest). Now, TeX lets you use \rq to ...
14 views

### How can I make a header not apply to the first page?

I'm using the mla13.sty package, and it puts a header with my last name and page number at the upper right of every page. How can I get it to not write this header only on the first page? (And of ...
11 views

### How to tie link formatting to text notthe bounding box in Adobe DC [on hold]

Im new to Adobe DC and having a remarkably silly problem with formatting links. Ive tried to Google this but cant get anything close, so here we are! What I want is to have the formatting for links ...
22 views

### Using dashed option for other fields

Some biblatex styles have a dashed option that replaces repeated authors' names with dashes. I want to do that for other fields besides the author. Here's a (not so) minimal working example: ...
50 views

### Conditional test inside command parameter

I want to call \includegraphics with parameter width= #1\textwidth if the number i have provided thru \mycmd is >= 1 and scale= #1 otherwise. I already saw this: Can I conditionally scale an image ...
13 views

### How to add acronym list

I want to add an list of acronyms that I can reference to continously in the text. Say if I write in the glossary \newacronym{ny}{NY}{New York} NY will appear in the document when I type \gls{ny}. ...
21 views

### Is there any way to reposition/shift the node text in tikz, without creating extra nodes?

I don't like the default positioning of the labels Q1 and Q2 below; is there a way to move or shift them relative to the circuit symbols? I know I could do \node[nigbt,label={something}] but it seems ...
50 views

### A Cayley graph in Latex [duplicate]

I know that questions like these are usually not well-received, but I need to make the following picture in latex. I don't know how to code with tikz, and if someone has any code for a similar ...
30 views

### Switching from amsrefs to biblatex

I always used amsrefs as my references package. However, it seems like biblatex is better supported, and more widely used (at least in this community). Compare 37 posts with the amsrefs tag to 3.6k ...
37 views

### Non-bold math in header with fancyhdr?

MWE: \documentclass[12pt,a4paper]{report} \usepackage{fancyhdr} \usepackage{etoolbox} \makeatletter %this is a hack to get the math in titles bold & italic, but not bold in table of contents ...
75 views

### Drawing an angled arrow pointing to text inside equation

I am trying to insert arrows between the terms of an equation explaining the partial results achieved. For example, in the following equation (I manually drew the arrows), V_i \frac{g_m}{1+g_mR_s} ...
50 views

### LuaTeX bug? Abrupt stop

I'm on Windows, with latest and fully updated MiKTeX. I try to compile a document with lualatex test.tex where test.tex is \documentclass{scrartcl} \usepackage{fontspec} \begin{document} code ...
26 views

### Connecting nodes of a duplicated graph

How can an edged be created between two copies of the same graph structure? The following is an example of the desired output (the labels don't need to be rotated with the object). Specifically I ...
46 views

### Problem with AMS packages

I have a problem that occurs every time I use one of the AMS packages (regardless of the document class or template I use), for instance amsmath or amsthm. In the next line after the \usepackage ...
13 views

### tool to grab bibtex entries (from online databases), given bibitem entries in latex file?

I realize this may be pie in the sky but... Is there some 'magical' tool out there that can parse my current list of \bibitem{} entries, and then query relevant online databases and grab the proper ...
24 views

### how to set Latin Modern Mono Proportional in Xelatex

I am using xelatex and fontspec: I tried something like: \setmonofont[Mapping=tex-text, CharacterWidth=Proportional]{Latin Modern Mono} but this does not exist (?). How can I set the mono font to ...
13 views

### Glossaries are missing in pdf

I try to compile this LaTeX code (http://texwelt.de/wissen/fragen/10496/glossaries-alle-symbole-nur-verwendete-abkurzungen-anzeigen): \documentclass{scrartcl} \usepackage[utf8]{inputenc} ...
12 views

### Problem between keys, paths with two macros and pgfkeys

Sorry the code below for my minimal example is a bit long. In this code I defined two macros : the first macro \SC draws semi-circle and the second macro \ARC draws arcs. The first macro uses the ...
7 views

### Handling subquestions using probsoln - How to add the main enunciate of an exercise, e.g., “Solve the following recurrences”

We wish to handle subquestions on classroom notes. In some situations, it is desired to present a specific subquestion (with its answer), but before presenting the subquestion, we wish to show the ...
29 views

### How can I have a vertical bar in chapter title which scales with the broken title?

I am trying to reproduce a nice chapter title as shown as Less is More in this blog using titlesec: \documentclass{report} \usepackage[T1]{fontenc} \usepackage{titlesec, blindtext, color} ...
37 views

### tikz .pic scaling with text

I am learning more about tikz .pic while experimenting with boxes with text inside them and then trying to rescale them. (for this example, I could create one png file and then includegraphics it, ...
16 views

### clickable checkmarks in pdf with ocgs

I want to create a pdf (with pdflatex) with some ocgs layers. These layers are only images. Further I want to activate and deactivate these layers with boxes and checkmarks. So for example if I see a ...
26 views

15 views

### How do I decide the font size in figures for ACM SIG?

I am using the ACM SIG Template for a conference paper. And I'd like to insert several figures plotted by matplotlib and MS visio. What is the recommended font size in figures (for xlable, ylable, ...
43 views

### Part cross reference name clash with redefinition of \thepart

I want to use some automatic cross referencing (I am using hyperref in the whole document which I customized) to write something like : We see in \autoref{partname} that To print : We see in ...
26 views

### n-dash, m-dash missing on final print

I use pdflatex (and I love texing). New printer, new version of ubuntu, I no longer get any n-dashes and m-dashes on the final paper. All other punctuation seems to work: I get rules, lines, ...
14 views

### Graph is plotted wrong with pgfplots [solved]

currently trying to make a graph with the forumla 0.5+(2x/3) but it does not seem to be correct? This is the code I am using (sorry if it looks bad :D) \begin{tikzpicture} \begin{axis}[ ...
30 views

### Checking if a subenvironment is unique inside an enviroment

I would like to define a environment inside another environment, but I need to make sure the new environment is unique, so there can only be of them. The unique environment should also be able to be ...
18 views

scrlttr2 shows the "header" containing sender details twice. Is it possible to show it once? \documentclass[ fontsize=11pt, paper=a4, parskip=half, enlargefirstpage=on, % More space on ...