Skip to main content

Questions tagged [database]

{database} is a structured collection of data.

Filter by
Sorted by
Tagged with
0 votes
1 answer
54 views

PGFplot - Find duplicates within \pgfplotstablecreatecol

Based on this question, I try to find duplicates in my generated hash list. These could be there, because I accidentally used the same X & Y values or because the first three digits of the hash's ...
PascalS's user avatar
  • 750
0 votes
1 answer
58 views

Filter datatool database for duplicates

I just want to filter a given database for duplicates and remove them. In my specific case the database is loaded from an external .csv data and has only one single column. But to keep it simple in ...
PascalS's user avatar
  • 750
1 vote
0 answers
262 views

Collect information to render later

I am not sure I am using the right terms for describing what I want to do, so the title may be off. I want to be able to use a custom command like for example \PersonalData{Name}{Some Name} but not ...
Zelphir Kaltstahl's user avatar
0 votes
2 answers
87 views

Non-standard Outerjoin Symbol

I was looking at the notation from the textbook I'm using to learn relational algebra and other DBMS related information, and I noticed that I don't know how to typeset the symbol shown below. I know ...
dontmindme's user avatar
1 vote
1 answer
131 views

Read .txt database (with datatool package) and format numbers with siunitx package

I have a variables.txt file with the following content: comp,232.429342 iva,1.9584000000000001 These are variables imported from a main.py file. Using the datatool package, I have made a macro to ...
justinpiconb's user avatar
2 votes
4 answers
148 views

Macro within csname

I would like to call the macro \PsalmY{} where 'Y' is a number in Roman Capital numerals (this macro display the Psalm n°Y). For example, \PsalmII{} will display Psalm 2. Therefore I have created a ...
JBOP's user avatar
  • 97
3 votes
1 answer
552 views

Use CSV to create documents

I have a CSV file like this Name, Number Apple, 5 Oranges, 20 Banana, 50 I have a latex template \docementclass{article} \begin{document} I have [number] [Name] \end{document} I would like to ...
Vaibhav's user avatar
  • 6,685
0 votes
1 answer
155 views

DTLforeach* - "unrecognized key in key option"

I'm quite new to the LaTeX universe, so ..., in fact, I'm not sure, if the DTLtool is best suited for my purposes. I'd like to use data from a .csv in a table environment used for all tables in the ...
Franz Gerbig's user avatar
1 vote
1 answer
83 views

datatool writes renewcommand instead of updating it

In my MWE I want to update a command via \renewcommand, but instead datatool writes my updated command to the output. In addition my \ifthenelse seems to be always true and therefore execute the "...
Lukas's user avatar
  • 659
3 votes
1 answer
223 views

Use custom field and count elements of lists in references using biblatex/biber

I have a primary source and analyzed its references (on which pages are the references cited, like a manual backref job). I created a new library for this (like the author would to if he had LaTeX a ...
kromuchi's user avatar
  • 2,197
1 vote
1 answer
215 views

Create table from references with custom fields as columns using biblatex/biber

I have a library with references of another book (a primary source) and analyzed on which pages (and hence how often) its sources were cited. I would like to print this data in a table. Is it possible ...
kromuchi's user avatar
  • 2,197
2 votes
1 answer
430 views

Automate data input

I have a tex body which looks something like This week we have added 5600 vaccines in the inventory which is a 8.5% increase compared to last week. Now, these number, 5600 and 8.5% are updated every ...
Mihan's user avatar
  • 127
2 votes
2 answers
844 views

Multiple conditions in \DTLforeach

I start using database in Latex. Therefore on one hand, I have my .tex database where elements are classified by columns separated by comma. On the other hand I have my document calling elements from ...
JBOP's user avatar
  • 97
4 votes
2 answers
864 views

Is any TeX able to load data from SQL database?

I am still a novice in this field, writing only basic papers with Tex. Altough my question may still lay beyond my practice I would like to ask if any Tex is able to load data (texts and pictures ...
John's user avatar
  • 41
0 votes
1 answer
438 views

Drawing ER-Diagram using alternative packages

I have found some packages to draw ER-Diagrams using Tikz, but I don't like the final result (it has big rhombuses for associations, big ovals for attributes and so on). I'd like to draw ER-diagram ...
frad's user avatar
  • 611
1 vote
2 answers
3k views

Write notes under tables generated with stargazer

I created these descriptive statistics table using the ``stargazer" package, in RStudio and I would like to write a note under this table, but I am not able to. The only thing I could do was a ...
Mateus Maciel's user avatar
0 votes
0 answers
124 views

How connect nlatexdb with database hosted with XAMPP?

I'm trying to connect with a database I create with XAMPP. I think it's mysql, and tried MySql.Data.MySqlClient, but not connect. Gives Unable to find the requested .Net Framework Data Provider. It ...
Jean Pimenta's user avatar
1 vote
3 answers
168 views

A database for a Psalter

I would like to create a book (to be exact a psalter). Basically it is a database issue. I have on one hand a tex document (to be exact currently it's still a word document) with all the psalms and on ...
JBOP's user avatar
  • 97
1 vote
0 answers
74 views

Automatically add exercise to the corresponding collection [duplicate]

I'm using xsim package to manage exercises in my lessons but I can't find a good way to select exercises by using tags. In particular, when i write the following code (example1), each exercise ...
Piroooh's user avatar
  • 1,207
0 votes
1 answer
915 views

Latex cant read from my .dat file

I wrote a .dat file from Matlab. this data has 8 columns each having 1x101 values. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{pgfplots,tikz,graphicx} \title{ Experimental ...
Farouk Yahaya's user avatar
1 vote
0 answers
181 views

How to generate personalized PDF documents from a LaTeX file linked to a text file or database with the names [closed]

Say you need to generate certificates of assitance to a course. You compose a LaTeX document and want to link it to a CSV or a database file, where the names of the assistants are stored. Is Latexdb ...
nightcod3r's user avatar
2 votes
1 answer
210 views

Set separator to a pipe | (default is comma) for \newdocumentcommand in ExplSyntaxOn

In the code from the topic I want to create a new command for making a table, parameters in the command would fill up the table The separator is a comma in: \cards{3,1,6,1,2,2,3,2,4,3,4,3,5,7,5,4} ...
latexforti's user avatar
  • 2,111
1 vote
0 answers
273 views

How to construct a relational database in latex for beginners [duplicate]

I would like to do an neat scheme of my database to pin down ideas, particularly I would like to do something like in the attached picture. Even though I have looked in internet thoroughly, I have not ...
Rubén Pérez Sanz's user avatar
1 vote
2 answers
1k views

Is LaTeX a viable choice for programmatically designing "Desktop Publishing" documents?

I am currently working on a project where one of the end products is a PDF datasheet. That datasheet consists of text, images, tables, and lists. We would be generating the .tex file programmatically. ...
sergio_101's user avatar
2 votes
0 answers
756 views

Exercises database (for school, e.g. math problems) [closed]

I'm a math teacher to undergraduate level students in France. I want to set up an efficient and easy to handle exercises database (written in LaTeX). I'm not so sure of the best way to proceed. I ...
Vincent's user avatar
  • 21
2 votes
0 answers
80 views

Is there a way to create a database and extract data from it through a command?

I have looked up packages such as datatool, but I am not quite sure if they would be able to perform this function. The basic idea is that I would like to have a database similar to a bibtex file, ...
Jackirab's user avatar
  • 145
0 votes
1 answer
113 views

Exercises imported don't print when i call a collection

I undertook to build a database of my exercises and to store them, i wrote in subfolders. When needed, i called them with xsim package. At the moment, the classification acts as follows : And there ...
Piroooh's user avatar
  • 1,207
0 votes
1 answer
194 views

Add created parameters in child file to main.tex

My code/idea from 2 topics: Input a parameter from another file filecontents: select rows of group to display File parameters.tex: \documentclass{article} \usepackage[utf8]{vietnam} \usepackage{...
latexforti's user avatar
  • 2,111
1 vote
1 answer
1k views

Export graph from latex to another latex file

I made a graph in one latex file using database through pgfplotstableread, because I wouldn't like to have a excel format in my paper. Now, I would like to export this graph to another latex file. I ...
Paulo Casaca's user avatar
0 votes
0 answers
326 views

Can I store Latex/.tex in a database which when read and displayed will be shown as equations and diagrams?

How can I store latex in a database whilst ensuring when displayed, it shows correctly(displays equations etc)?
Jerry Spranger's user avatar
0 votes
0 answers
347 views

Latex and no sql database

good evening, I want to connect no sql database to latex in other to generate some pdf file with generated data from this database? have you got any ideas how I can do it? regard
Dylan Paddeu's user avatar
0 votes
0 answers
842 views

Reading data from hdf5 file to plot a graph

Normally when one wishes to to plot some data from a file (.txt, .csv or the like), one would do something like \documentclass[border=5mm]{standalone} \usepackage[utf8]{inputenc} \usepackage[T1]{...
Thorbjørn E. K. Christensen's user avatar
1 vote
1 answer
259 views

LaTeX is not working fine with Datatool

I created Database of questions in LaTeX using datatool (named nayi17n-ii) as shown below \DTLnewdb{CS2} \long\def\newproblem#1#2#3#4#5#6#7#8#9{% \DTLnewrow{CS2}% \DTLnewdbentry{CS2}{seq}{#1}% ...
Sachin Michu's user avatar
0 votes
2 answers
799 views

Symbols for outer joins not displaying

As suggested in an answer to this question, I'm using unicode-math and XeLaTeX to typeset symbols for different kinds of joins in relational algebra. However, when I commands \leftouterjoin, \...
Milos's user avatar
  • 411
1 vote
0 answers
191 views

Document Database Scheme

I wonder if there is any good method to document the relations between tables from a MySQL (or any other database) in LaTeX? I found this thread Which database documentation software do you use for ...
user2567875's user avatar
1 vote
1 answer
382 views

Using bibtex to manage a question database

I'm trying to implement the database of problems at http://www.math.canterbury.ac.nz/~m.hickman/LaTeX/LaTeX.shtml On my Mac, I can get the following to compile with the default file problems.sty, ...
Teepeemm's user avatar
  • 7,113
1 vote
0 answers
78 views

Dynamic datatool group by

I found this code in datatool group by? \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{ff14.txt} ClassID; Schueler_Name; Schueler_Vorname; Subject 5a; Stiner; Markus; Big ...
Kevin Suppan's user avatar
1 vote
1 answer
179 views

Merging different dbtex database files

I want to merge 2 database files in one file . I tried loading files 11g.dbtex and 2005it.dbtex as shown below \documentclass[a4paper,9pt]{article} \usepackage{amssymb,amsthm} \usepackage{amsmath} \...
Garvesh Gv's user avatar
1 vote
1 answer
252 views

Importing database (created using datatool) to datatooltk

I have created database (very large database) of questions using datatool as \DTLnewdb{finitemath} \long\def\newproblem#1#2#3#4#5#6#7#8#9{% \DTLnewrow{finitemath}% \DTLnewdbentry{finitemath}{seq}...
Garvesh Gv's user avatar
0 votes
1 answer
77 views

How do i change linecolors of plotted curves from dataset in tikzpicture?

im using pgfplots and was wondering why i cant change the color. I want to plot a set of data into a diagram as curves, but it seems that the colors seems unchangeable. the first curve in the data is ...
kxell2001's user avatar
4 votes
1 answer
603 views

TikZ Crow's Foot notation on only one side for documentation

I'm documenting the different versions of database drawing styles. this link shows how it looks like in a real diagram but my intention is to document only one side of the connection lines. Now the ...
novski's user avatar
  • 1,049
1 vote
1 answer
179 views

Either batch transcode (character sets) a whole list of image filenames ... or use a character encoding conversion function within the main Tex file?

I am very excited about this code by User @egreg which I will be using to display images of the stroke order of a Chinese character whenever you hover over a certain character. I changed the code a ...
O0123's user avatar
  • 1,803
2 votes
1 answer
255 views

How to line up the empty cells with filled cells for array of data structure?

I'm trying to line up the empty cells with filled cells for an array in data structure. Please help!! This is the code I have so far: \documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{...
user3390471's user avatar
0 votes
0 answers
431 views

PHP PDF generation with database (MariaDB) data inclusion

I am searching a way to establish an automated generation of LaTeX PDF documents which will transfer data from MariaDB database. I found this very interesting blog post where author shows, how to use ...
71GA's user avatar
  • 3,583
1 vote
1 answer
59 views

Output of a tex file is sorted tex file after compilation?

I am using data tool to create the database of questions, where I provided Tag to every question. All database files(50 files) are included in one master file while compiling.After compilation output ...
sachin's user avatar
  • 11
2 votes
2 answers
109 views

pdfs with datas from a special column in a table based database (like excel) + pictures

I am quite new in tex, but now I have to: compile several pdfs with the same layout (not so important if separated physically in different files or just as pages in one file) from 1 column of datas ...
acep's user avatar
  • 171
3 votes
2 answers
303 views

How to find the position of a word in a jumbled sentence?

I have an initial sentence: The quick brown fox jumps over the lazy dog. I have a new sentence (which is always a jumble of the original sentence): The lazy dog jumps over the quick brown fox. In ...
progammer's user avatar
  • 443
0 votes
0 answers
1k views

How to generate question paper from question bank database?

I have a question bank(hard copy). Each question has multiple attributes(chapter, topics, year, difficulty, marks, no of choice etc.) I will generate different types(by topics, by chapter, by marks) ...
alhelal's user avatar
  • 2,451
4 votes
1 answer
2k views

Crow's Foot ERM in nice way

I found this post about how to do Crow's Foot ERM Diagrams with Tikz, but it looks strange because the entity is outside the frame. However, it worked. Then I found this even nicer version and tried ...
novski's user avatar
  • 1,049
4 votes
2 answers
169 views

Creating a database containing numbered blocks of TeX-code

I want to create a database consisting of numbered blocks of TeX-code. In particular, I want to do sth like \mycommand{counterName}{Some text} and save a new entry somewhere, to use the Some Text ...
Michael Fraiman's user avatar