# All Questions

8 views

### Display only a single figure when in draft mode

How can I enable a single figure when in draft mode? I am working on a large document (thesis) containing many figures. Some of these figures are large, resulting in long compile times. I can fix ...
14 views

### Strange vetical spacing in book Class

I am using the book class for my thesis. However, the default alignment is very strange as shown in the following sample. As it shows, extra space was added between lines so that the content is ...
10 views

### Using default values in arguments in marginsize command

I am using the resume document class to write my resume. Since I want to make my resume fit in one page, I would like to decrease the spacing at the top of the document but keep the bottom, right ...
18 views

I asked a question earlier today, where I learned that the subequations environment provided by amsmath does not enter math mode: Missing $inserted error when using \frac inside subequations ... 0answers 5 views ### Remove punctuation between urlseen and url, using biblatex I've just about gotten my bibliography up to my advisor's standards, but there's one thing that I just can't seem to figure out. I need to remove the punctuation between the printouts of {urlseen} ... 0answers 13 views ### Smooth out drop shadow at the edge of the graph in pgf-blur I'd like to smooth out a drop shadow about some specific places below my graph. I can't figure out how to do it, there's no key in the pgf-blur library that allows me to customize the the shadow ... 1answer 61 views ### Use ONLY two Chinese characters I want to add my Chinese name in my thesis. I follow the sample codes from here. \documentclass[english]{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} ... 0answers 17 views ### Text shape to use for vectors with arrows Say we have the point P = (x, y, z) in three dimensional space. Say I have this vector from the origin to my point P called v, which I would denote in LaTeX as \vv{v} = (x, y, z) with the \vv command ... 0answers 16 views ### Including tikz causes error I want to include a diagram drawn in Dia using tikz, however when I include the tikz package i get the following error ! Package pgfsys Error: Driver file pgfsys-dvipdf.def'' not found... I'm using ... 1answer 17 views ### Change some basic details about document type resume I am writing my resume and using template "9b" from this website. However, there are a couple of items that I would like to modify. Here is the .tex file and corresponding screen-shot after ... 1answer 10 views ### “! LaTeX Error: There's no line here to end.” with the \boxput* function I am trying to put some boxes on the second with the paquage \usepackage{fancybox} My code looks like that \documentclass{article} \usepackage{fancybox,color} \begin{document} ... 1answer 23 views ### Standard article.sty doesn't recognize the \address{} command When I write articles to journals, I always use an already given template where I can put relevant information about the authors such as the addresses and e-mails. But, for the journal that I am ... 0answers 11 views ### Pass a class/package/theme option to R with knitr I have a beamer document with R chunks, say 'template.Rnw', which I compile with knitr using 'compile PDF' in RStudio. I have defined a theme 'mytheme.sty'. I would like to have an option to the theme ... 1answer 23 views ### Vertically centering of text in multirow in table when using \cmidrule Consider the following example: \documentclass{article} \usepackage{siunitx} \DeclareSIUnit[mode = text]\kroner{kr.} \usepackage{booktabs,multirow} \newcommand*\mr[2]{\multirow{#1}{*}{#2}} ... 1answer 13 views ### Change page number of manually added TOC entry without adding blank pages I have a main LaTeX document and an external PDF that I used to include with pdfpages (and it looks great!). But, now I want to insert TOC entries to reference sections and subsections inside external ... 1answer 42 views ### Missing$ inserted error when using \frac inside subequations environment?

Here's a MNWE (minimum not working example): \documentclass[12pt,letterpaper]{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} ...
85 views

### Wrapping text with curly braces

This is probably a duplicate, but since Google doesn't allow me to search on the curly braces { or } I cannot find the information. The question: why can I just do {Some text}? How do I call this? ...
32 views

### How does multicol split?

At first I thought that it would split on the half of the number of lines. Then I wrote some code where the number of lines of the first part were more than the one of the second part and it was split ...
20 views

### Is there a way to extract data from a PDF form and use it to generate a report in LaTeX?

I tried to search for this question but failed. I hope it is not a duplicate. I am trying to automate the process of summarizing a long PDF form. I want to extract data from certain fields in a PDF ...
8 views

### Too narrow kerning with xeCJK

I'm trying to typeset Japanese using xelatex and the xeCJK package. For some reason, small kana cause odd kerning in the text. In the following example, I get too narrow spacing between two small ...
7 views

### Vim-LaTeX does not compile

I am installing Vim-LaTeX on my Mac. Installation is done. However, I cannot compile , although I can compile through texshop. What I have followed: Installation guide VIM-LaTeX Q&A No ...
22 views

### Beamer - Two levels smoothbars

I'm looking for a way to make smoothbars nodes to be a two row bar where the first line navigates between the subsections and the second line navigates between the frames in the subsection. Example: ...
34 views

### How to make an HTA looking thing?

I am try achieve something along the lines of this: I cannot however figure out how to make these arrows. I have some code that gives me something that is almost right but it is messed up in some ...
23 views

### equation labels for reference

How can I reference to the equations in the alignat? The equation set is \begin{alignat}{2} \sigma_1 &= x + y &\quad \sigma_2 &= \frac{x}{y} \\ \sigma_1' &= \frac{\partial x + ...
32 views

### Detect incorrect interline spacing

We all know the log messages about over- and underfull boxes and the draft option to easily spot horizontal box problems. Now say I am proofing a manuscript and want to spot interline, ie. ...
111 views

### How to reproduce these images with Tikz/ pgfplots?

I'm completely new to latex and Tikz, and I'm trying to reproduce these two images: Here's all I've got so far: \documentclass{article} \usepackage{amsmath} \usepackage{pgfplots} ...
15 views

### Hungarian BibLaTeX online citation

How to make BibLaTeX print Elérhető: http://digitus.itk.ppke.hu/~lazar/cnn/SegedFileok/ZA_TemplTervArt.pdf (elérés dátuma 2014. 04. 22.). instead of Available: ...
16 views

### How to cite bibentry in full length in the figure or table caption without using footnote?

I want the full citation shown in the figure or table caption. I am trying to use \bibentry but there are certain errors. Please help. Here's the MWE. UPDATE: I have also tried using \footnotemark ...
19 views

### Hungarian BibLaTeX journal citation

How to make BibLaTeX print "27. évf. 1. sz. pp. 5-23" instead of "vol. 27, no. 1, pp. 5-23" ? MWE: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
140 views

### TeX command with argument BEFORE the command

Is it possible to do some TeX magic to get a command \mycmd which takes one argument before the command and one afterwards. So something like <arg1>\mycmd<arg2>. I tried ...
27 views

### Using LuaLaTeX and SQLite3

I am trying to access SQLite databases from LuaLaTeX but am not able to load an installed lsqlite3 package. Here's what I tried so far: Took a brandnew Xubuntu 14.04 installation Installed a ...
38 views

### Why does the text begins in the middle

I am making a project. When I made a frontpage and a table of content my text does not begin from the top of the page. Can someone help me to fix it
57 views

### TikZ ER Diagram - stopping relations from drawing across cells

I've adapted code from this post The problem that I'm having is that the relations (lines) between tables are crossing over tables rather than going around them. The MWE is quite long but here it ...
65 views

### Pasting special symbols to LaTeX file

I'm working currently on document that use many strange symbols (result of encryption). I need to print them somehow to PDF file without spending too much effort. Is there any package for this? ...
26 views

### How to indent section and subsection differently

I want to set parindent to 2mm in all my sections and parindent 0mm in all my subsections. Is there a way to do this ? Thanks Ráď \documentclass{article} \begin{document} \section{Section1} Lorem ...
49 views

### How to position a TikZ picture?

I have a problem with positioning a TikZ picture. I want to position a half circle, but I don't know how I should do it. \begin{tikzpicture} \draw [domain=0:180] plot ({cos(\x)}, {sin(\x)}); ...
34 views

### covington with lines as arguments of enclosing macro

I need some glosses and use covington.sty for that (if you can solve my problem with another package I don't mind, I'd need to refactor everything for the solution, anyway). \gll expects two lines: ...
49 views

### siunitx does not detect typeface and size

I am using a template from PNAS (http://www.pnas.org/site/authors/LaTex.xhtml) on sharelatex and when I am adding units like: \SI{15}{\mL} they are not scaled properly, as seen in the attached ...
55 views

### Wattmeter drawing with Circuitikz

How can I draw a wattmeter using LaTeX and circuitikz? I want to use the one with a circle and a cross inside.
20 views

I have a document, whose background is, needless to say, white. Generally, I am OK with just inserting a figure like this. \begin{figure} \centering \includegraphics[width=\textwidth]{sample} ...
35 views

### How to generate an answer key of a multiple-choice exam?

I have a number of multiple-choice questions. I want to produce an answer key (a small table with nx5 cells where the answer places are somehow highlighted). My code (from another post ) is shown ...
35 views

### LaTeX editors with comfortable graphics insertion functionality

If I work with pictures (via \includegraphics) I wish that my editor (currently emacs) would have some features which makes handling images comfortable for example: Copy an image from another ...
40 views

### How to protect a PDF generated via LaTeX [duplicate]

I've seen several questions similar to this one, but mine is how I can protect my PDF: Extract contents. Print. And, eventually, customize all the meta tag.
30 views

### Indent text as desired

I would like to indent the text as follows: I tried, but couldn't find agood solution to this. Any help would be appreciable...
38 views

### German characters problem [duplicate]

My LaTeX document does not properly represent German character. In my opinion, I have my preamble set correctly. what needs to be set correctly, so that the characters such as Ä, ß, etc. are ...
21 views

### Wiley journal “Wireless Communications and Mobile”

I have a great problem with references presented to wiley journal. I downloaded zotero and start integration between it and microsoft word, I can't change my references style to the style "wcmc". E.g ...
29 views

### inserting edited pdf

I am including an edited pdf into the latex by \includegraphics[height=2.3in]{fig.pdf}. The figure is inserted exactly as per my requirement. But i couldn't find the editings (inserted square, ...
116 views

### LaTeX: Access every character of an string variable

I'm using variables to create strings in that way \newcommand{\myText}{2014/12/20} \myText{} This works great. Now, I can to access every single character of this string (length is 10), because in ...