# All Questions

4 views

### First & last entries in the index header like a dictionary

I have a question about the layout of my index headers : Is it possible, in the event of a long index, to put the initial letters (like the glossary group) or the first & last top level entries ...
5 views

I need help for my index headers : Is it possible to put in the index section the section name, "Index" here, to the left page header (\lehead) ? I imagine something like ...
6 views

### multiple headers and pagination in a book

For some reason I get "Table of Contents" on every odd page. The other problem being the pagination which is reset after the second edition in the main matter. Help much appreciated. Here's the code ...
13 views

### Placement of labels in tikzpicture

I have constructed a polygon using tikz and would like to know how to label the points in the manner shown in the diagram below I have constructed my polygon as follows: \documentclass{article} ...
15 views

### Column in horizontal middle of page

I want to write a table with 3 columns. The second should be in the middle (horizontally) of the page. Thanks, Adrian.
6 views

### Cite only first author

I am using scrbook and the natbib package. What I basically want to do is that in the reference when using \citep only the last name of the first author and the year should be shown no matter how many ...
10 views

### Having trouble removing page numbers from ewic style class

I am using eWIC class for tex studio. Electronic Workshops in Computing (eWiC) Format. How does one remove the page numbers from the ewic class provided ?
26 views

### “Kernel_Property unknown”… The key property '.choice_code:n'

I was just using some primary versions of MikTeX 2.9 and had below error within using both LuaLaTeX & XeLaTeX: `Enter file name: C:\Program Files\MiKTeX 2.9.5105>lualatex.exe ...
18 views

### How to Move the pictures at the bottom of the document

i've just finished my thesis in latex and i've realized that i have to move all the pictures inside the document at the very bottom of the document. This is a 200 pages work so i was wondering if ...
29 views

### change kerning of \texttt

I tried to use a font different than courier for monospaced fonts but none of this list (http://www.ctan.org/topic/font-mono) are available on my system - and as we work in a distributed system custom ...
25 views

### Merge double subscripts in macro

I would like to define a macro \des that has one argument and adds a subscript to it i.e. \des{a} should correspond to a_{des}. So far the solution is obvious, however the macro should also accept ...
8 views

### Problem with r- ligatures in XeTeX (with the font Sanskrit 2003)

Simple ligatures with र् r as first element (thus a case different from 'r' rendered improperly in Devanagari ligature ) appear strangely when preceded by a syllable containing an ि : I ...
18 views

### Font size 14pt in PhDThesisPSnPDF

I am working with template CUED PhD thesis template (https://github.com/kks32/phd-thesis-template/releases/tag/v2.0). I have made some adjustments for requirements of my institution including font ...
7 views

### Chinese punctuation not showing in output

Does anyone know how to get the following Chinese character to display? MWE: \documentclass{article} \usepackage{xeCJK} \usepackage{zhnumber} \usepackage{cjknumb} \setCJKmainfont{標楷體} ...
9 views

### Pgfplots: pass to raw gnuplot string axis width and height of current \nextgroupplot

MWE: \documentclass{standalone} \usepackage{pgfplots} \usepgfplotslibrary{groupplots} \begin{document} \begin{tikzpicture} \begin{groupplot}[ group style={ group size=1 by 4, vertical ...
78 views

### LuaLaTeX : write latex “commands” to file

I made a randomly chosen quiz machine using LuaLaTeX and beamer for audience part that produce a pdf containning one frame per question, one slide per second to show the count down: it make a pdf with ...
13 views

### animate controls as part of the image

This is a "nice to have"-question, I guess: I'm using the animate package to show a sequence of software dialog screenshots. In getting through the series I added that useful but ugly looking ...
11 views

### Include MHA or MHD image to latex

Anyone knows how to include MHA/MHD image to latex? or any other extension allowed by ITK. Thank you
48 views

### How customize length of rule in tables?

I want to customize the length of the midrule (xy cm) in the first table. The second table should be default. How can that be done? \documentclass{article} \usepackage{booktabs} \begin{document} ...
57 views

### Equation with a loop arrow (see picture)

How can I typeset this equation:
45 views

### What is the most practical way to make and include a plot in pdfLaTeX [duplicate]

I often come to a point, where I want a plot of a set of data or just a simple function to be included into my TeX file. The usual naive approach would be to save the plot as a vector or pixel graphic ...
49 views

### Tex File No Longer Compiles

The file below was compiling just fine under official repository texlive versions for fedora 18 and 19. I switched to fedora 22 and started having issues (see error log below). ...
21 views

### Alternatives for excel2latex working on office 2016?

It's not working on the newest office 2016. Is there any other macro can do this? Or I need to download a older version of Office.
33 views

### Unable to add a XeLaTeX-based .sty file [on hold]

I am going to use this XeLaTeX (or LuaLaTeX) based template to build a CV. The org-preamble-xelatex.sty file is necessary, which has been located within the corresponding directory just next to the ...
37 views

### Gnuplot-Tikz-TeXstudio setting problem

I am a beginner in making graphs of functions by TeX itself - until now i have solved these issues by including .eps pictures. Now i am on doing things better and nicer. I started to use Tikz packages ...
18 views

### Error when putting code for setting figure side by side

I'm new in LaTeX and trying to help my friend to fix her document. I use Texmaker 4.1.1. The LaTeX code of her document is as follows Main Document: (Main Document.tex) ...
15 views

### Package titlesec Error: Entered in horizontal mode. \section{INTRODUÇÃO}

How can I solve this issue? \documentclass[a4paper,12pt]{article} \usepackage[utf8]{inputenc} \usepackage{txfonts} \usepackage{indentfirst} \setlength\parindent{1.25cm} ...
23 views

### How to add the Cover Letter with Friggeri resume?

I want to add coverletter before Resume. \documentclass[]{myfriggeri-cv} % Add 'print' as an option into the square bracket to remove colors from this template for printing \usepackage{unicode-math} ...
56 views

### MikTeX Update corrupts the installation

I tried to Update MikTex as I have done before, with the Update (admin) console. I get a window with a few items checked and grayed out "Select All" and "Select None" buttons. I clicked on Next and ...
25 views

### Book: Top right side page numbering

I am trying to place the page number at the right top of the page, and it is working in the chapters, but at the beginning of the document it is not working as I was expecting. This are the lines I am ...
11 views

### Customizing header in gsm-l class

I use gsm-l class, a derived class from amsbook, to write my mathbook. However, it happened that on the header, the same number of chapter and section appear, like this (number 1 on the left is ...
58 views

### Equation numbers not showing up in an align environment

In the following \documentclass{memoir} \usepackage{amssymb,amsmath} \usepackage[fixamsmath]{mathtools} \mathtoolsset{showonlyrefs,showmanualtags,mathic,centercolon} \renewcommand{\u}{\textbf{u}} ...
17 views

I have 2 questions about the layout of my indices & for my index headers : I don't understand why the no indent first or the no page break between the title & the index prologue just after ...
32 views

### Definition of a macro with multiple arguments and usage of \csname

Why does the following code not work ? \Requirepackage{amsthm} \renewcommand\newtheorem[2]{% \NewEnviron{\csname #1\endcsname}[1]{% ##1 : \BODY } } I have seen examples of the use ...
31 views

I am using titlesec and TikZ to customize my \part style. I would appreciate to use the \part style for the \tableofcontents title. Is there any way to do it ?
28 views

### List spacing is different inside and outside of minipage

I'm preparing an exam and I want an illustration next to a multiple-choice problem. Usually for this purpose I put the question and/or choices in a multicols environment; however for this particular ...
16 views

### Is there any way to suppress non-warnings and non-errors with XeLaTeX?

TeX.sx is full of questions about suppressing certain kinds of LaTeX warnings. As warnings can often be useful for debugging, I don't want to do that. But, I'd very much like to get rid of any ...
62 views

Could someone please show me how to make this diagram using LaTeX? I have no idea where to begin with something like this. Thank you so much for your help!!
75 views

### Simple Probability Tree

How do I make the following probability trees in LaTeX? Thanks for the help!! Probability Tree 1: Probability Tree 2: \forestset{my label/.style={if n=1{edge label={node [midway, above left, ...
33 views

### LaTeX /includepdf stacks images on top of eachother

I'm trying to insert a pdf with multiple images into my LaTeX document using \includepdf but either no image shows up (for page={1} or page={1-4} etc.) or it stacks them all on top of each other and ...
97 views

### how to add a key word beside a paragraph?

I would like to add a key word beside a paragraph for the sake of clarity as follows \documentclass[12pt]{article} \usepackage{blindtext} \begin{document} \blindtext \end{document} How can I ...
25 views

### Latex, two-column listing in an array

I am trying to display to codes side-by-side, using this: \begin{center} \begin{tabular}{c|c} \begin{lstlisting} while (x > 0) do x++; \end{lstlisting} & \begin{lstlisting} x = 0; ...
25 views

### How can I print beginning and end values of a counter within an environment?

I'm working on a formatting system for standardized tests. Within each section of a test, there are groups of consecutive questions that I might choose to contain inside an environment. ...
25 views

### Arrange multiple TikZ pictures

Can anybody tell me how to arrange 5 TikZ pictures like this? I am very sorry, but I have no idea how to. Thanks in advance!
14 views

### Pdftex Throwing Error

I have the following latex: \documentclass[12pt]{article} \title{Electrolysis of Water and Aqueous Solutions} \author{Carlo Abelli \\ AP Chemistry --- Mr.\ Kern} \date{February 19, 2015} ...
27 views

### beamer presentation with each figure on each slide using a foreach and pgfplots

Im doing a beamer presentation. With pgfplots I need to load a single column of a data file like this: 1 10 50 -50 2 11 51 -49 3 12 52 -48 4 13 53 -47 5 14 54 -46 6 15 55 -45 ...
15 views

13 views

### Use macro as totcount counter name

In the top level of the document environment, a macro defined (using \def) can be expanded into the name of a totcount counter. This, for some reason, does not work inside an environment definition. I ...