0
votes
0answers
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 ...
0
votes
0answers
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 ...
1
vote
1answer
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 ...
0
votes
1answer
18 views

Does the align environment provided by amsmath not enter math mode?

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 ...
0
votes
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} ...
2
votes
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 ...
2
votes
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} ...
0
votes
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 ...
0
votes
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 ...
1
vote
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 ...
2
votes
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} ...
3
votes
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 ...
3
votes
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 ...
1
vote
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}} ...
0
votes
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 ...
5
votes
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} ...
7
votes
1answer
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? ...
2
votes
1answer
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 ...
1
vote
0answers
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 ...
1
vote
0answers
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 ...
0
votes
0answers
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 ...
0
votes
0answers
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: ...
0
votes
0answers
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 ...
1
vote
1answer
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 + ...
3
votes
0answers
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. ...
4
votes
2answers
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} ...
0
votes
0answers
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: ...
1
vote
1answer
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 ...
1
vote
1answer
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} ...
6
votes
3answers
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 ...
3
votes
0answers
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 ...
0
votes
0answers
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
2
votes
2answers
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 ...
3
votes
1answer
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? ...
0
votes
0answers
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 ...
1
vote
1answer
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)}); ...
2
votes
1answer
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: ...
1
vote
2answers
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 ...
3
votes
1answer
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.
1
vote
0answers
20 views

How to make an inserted figure's frame gradually fade? [duplicate]

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} ...
1
vote
0answers
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 ...
1
vote
0answers
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 ...
0
votes
0answers
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.
2
votes
1answer
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...
0
votes
1answer
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 ...
1
vote
0answers
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 ...
3
votes
1answer
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, ...
4
votes
3answers
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 ...
3
votes
1answer
32 views

How can I essentially '\ensuremath' a \DeclarePairedDelimiter (from `mathtools`)?

I am trying to create a paired delimiter command that will work outside of text mode. I was not able to accomplish this simply by defining a new command with \ensuremath, so I've resorted to the use ...
3
votes
2answers
57 views

Newline linespacing problems within a table cell

I have problems with the linespace inside a longtable environment when forcing a linebreak. Following code should illustrate the problem. ...

15 30 50 per page